is eth header is not transmitted

From: Sourav Sen (sourav@csa.iisc.ernet.in)
Date: Wed Jan 03 2001 - 12:29:48 EST


Hi,
        In the function ip_build_xmit(), immediately after
sk_alloc_send_skb(), skb_reserve(skb, hh_len) is called. Now
skb_reserve(skb,len) only increment the data pointer and tail pointer by
len amt.

        Now in a particular hard_start_xmit() say for rtl8139, the data
transfer is taking place from skb->data :
        outl(virt_to_bus(skb->data), ioaddr + TxAddr0 + entry*4)

So, I cannot understand, if transfer starts from data and not head, is
ethrnet header not transmitted? what I am missing?

/sourav

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



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:15 EST