eth_header — create the Ethernet header
int eth_header (
)
skb
buffer to alter
dev
source device
type
Ethernet type field
daddr
destination address (NULL leave destination address)
saddr
source address (NULL use device source address)
len
packet length (<= skb->len)
Set the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here instead.