[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sk_buff in 2.4.0
Hi,
As far as I understand, in 2.2.x networking code the protocol
header and data used to reside in a contiguous region in memory(pointed
to by the head, data, tail, end of sk_buff struct),
ie skb->data is the starting point and skb->tail is the ending point.
| |
| |
skb->data -- |-------------- |
| |
| |
| |
| |
| |
skb->tail -- |---------------|
| |
And the device drivers used to transfer from skb->data to
skb->tail(==skb->len).
My question is: Is the state of the art same in 2.4.0, ie. is
protocol header and data still has to reside contiguously? Or header and
data may be non-contiguous and the driver does scatter/gather.
I am starting off in 2.4.0 , plz. help.
--
sourav
--------------------------------------------------------------------------------
SOURAV SEN MSc(Engg.) CSA IISc BANGALORE URL : www2.csa.iisc.ernet.in/~sourav
ROOM NO : N-78 TEL :(080)309-2454(HOSTEL) (080)309-2906 (COMP LAB)
--------------------------------------------------------------------------------
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml