Re: is eth header is not transmitted

Andi Kleen (ak@suse.de)
Wed, 3 Jan 2001 18:45:24 +0100


On Wed, Jan 03, 2001 at 10:59:48PM +0530, Sourav Sen wrote:
>
> 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?

An skb_put()

-Andi

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