lkml.org 
[lkml]   [1996]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Pointers to both ip header & tcp header of skbuff ???
Date
> skbuff? And also the best way to point to the start of the tcp header of 
> an skbuff? Both must be available at the same time.
> Let's just say initially, either skb->head or skb->data is
> initially pointing to the the start of the ip header of the packet. And I
> want to have a pointer to the start of the ip header, and also a pointer to
> the start of the tcp header of the packet.

It depends where and why. Most of the network stack passes points around
directly for these fields (when useful - obviously only IP/ARP have any
meaning here)

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.031 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site