Query: eth_header
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ETH_HEADER(9) Network device support ETH_HEADER(9)NAMEeth_header - create the Ethernet headerSYNOPSISint eth_header(struct sk_buff * skb, struct net_device * dev, unsigned short type, const void * daddr, const void * saddr, unsigned len);ARGUMENTSskb 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)DESCRIPTIONSet the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here instead.COPYRIGHTKernel Hackers Manual 2.6. July 2010 ETH_HEADER(9)