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 <[EMAIL PROTECTED]> 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/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]