Re: Some reference on linux networking data structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hari,

I think you should definitely add your field to the
tcp_opt struct (instead of directly adding it to
struct sock) , as that is where most of the
TCP-related stuff is being maintained in 2.2 for each
connection.. 

About documentation, theres a good paper at
http://pubpages.unh.edu/~gherrin/project/linux-net.html

I havent seen many texts covering the 2.2 kernel, so
using old sources of info along with a look at the
source code seems to be the only way to go.. infact if
you find any books/papers (online or otherwise)
catering to the topic, please let me know, as I would
be interested too!

--- Hariharan L Thantry <thantryh@cse.msu.edu> wrote:

> I was wondering if someone could tell me where I
> could find info about the
> linkages between the various kernel networking data
> structures...the more


> Also, if I wanted to add a per-connection variable
> which measures the
> number of bytes sent out for that connection (for
> measuring some kind of
> rate), would I better off including it in tcp_opt or
> in struct sock{}?
> 
> Thanks,
> Hari
> 


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux