LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-12-2013, 12:08 PM   #1
lazarobankini
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
Network driver documentation


Hello,
I'm trying to make a simple tweak in source of existing networking driver and i'm having a hard time finding the right documentation for nic drivers, kernel >2.6. I'm just starting with this and i'm very easily mislead by lots of outdated examples and concepts. Any document recommendation that you find valuable in this manner would be great.

Thanks

Last edited by lazarobankini; 02-12-2013 at 12:10 PM.
 
Old 02-12-2013, 12:15 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
What kind of tweak are you trying to do? There are different modules that your system may be using for your networking so the first step is to tell us what you are trying to tweak so you can make sure to get the right answer.

If you just want to do some basic ipv4 tuning you can specify parameters in your sysctl, like ipv4 forwarding etc..
 
Old 02-13-2013, 05:18 AM   #3
lazarobankini
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Kustom42 View Post
What kind of tweak are you trying to do? There are different modules that your system may be using for your networking so the first step is to tell us what you are trying to tweak so you can make sure to get the right answer.

If you just want to do some basic ipv4 tuning you can specify parameters in your sysctl, like ipv4 forwarding etc..
I've got compat-wireless source code from http://linuxwireless.org/en/users/Download/stable/ and im trying to make driver do something like this:
Upon receiving a message from network, depending on info from some of its headers, do something or forward it to userspace.
I'm aware that this can easily be done in userspace or routing can be configured to be like this and i don't need to mess with drivers, but in interest of future development and research i need this to be done exactly in driver. Take it as a kind of school assignment.

Thanks in advance.
 
Old 02-13-2013, 12:14 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
You would be rewriting the kernel module source code at that point. Things like IPTables and other software layer solutions are created to route traffic based upon certain conditions.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking wireless driver documentation sheeru Linux - Wireless Networking 2 08-04-2012 06:56 AM
home network advice regarding OS and documentation Canya Linux - Newbie 2 02-10-2009 07:37 PM
network configuration documentation Woody Ochs Slackware 7 08-14-2007 08:03 PM
software for network documentation ddaas General 2 02-08-2005 03:49 AM
Network documentation tools for linux? BarryM45 Linux - Networking 0 04-14-2004 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration