sk_buff in 2.4.0

Sourav Sen (sourav@csa.iisc.ernet.in)
Tue, 6 Mar 2001 02:17:31 +0530 (IST)


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) 
--------------------------------------------------------------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/