From: Mazhar Memon <mazhar@nmt.edu> Date: Mon, 23 Sep 2002 18:25:54 -0600 Is there a reason why skb->len for skb->pkt_type=PACKET_OUTGOING is 14 bytes larger than for skb->pkt_type=PACKET_HOST? I doubt its a coincidence that the size of the ethernet header is 14 bytes. Also, I notice that skb->data starts at a different location (relative to the ethernet header) if its outgoing compared to incoming traffic. Can anyone tell me why? The size of skb->len has no direct relationship to skb->pkt_type. It has more to do with the path the SKB took inside the stack on it's way to the output device. On input, the hardware layer trims the device hw header from the front of the packet by the time ip_input sees it, for example. The hw header is still there and accessible actually, via skb->mac.raw - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html