mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* sk_buff understanding
@ 2004-06-25 15:11 rahul b jain cs student
  0 siblings, 0 replies; only message in thread
From: rahul b jain cs student @ 2004-06-25 15:11 UTC (permalink / raw)
  To: linux-kernel

Hi,

I just want to know if my understanding of how the sk_buff structure
works is correct.

When data arrives at the TCP layer it is pointed to by the data pointer
and the TCP header goes in the skb->data-skb->head area. When this packet
is passed to the IP layer, skb->tail-skb->data section will now contain
the TCP header + TCP data and now the IP header will be put in the new
skb->data-skb->head area.

Please let me know if this understanding is correct.

I also wanted to know does psk_may_pull() only check for correct header
length or does it (thought some func calls) strip off the IP header ?

Thanks,
Rahul.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-25 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-25 15:11 sk_buff understanding rahul b jain cs student

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®