[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: About the alternation of skbuff
Hi all,
Could you tell me how can I point to the data content in skbuff
(TCP header)? I've read the files in the net directory, but I'm
a bit confused how can I point to the data content of tcp
header. And while I'm reading one of the files, I don't know
why tcp_header_size have to be shift by 2
In the file of tcp_output.c
th->doff = (tcp_header_size >> 2);
Would you mind telling me the reason behind that?
Thanks a lot
your sincerely,
marco.
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/