:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
eth_header(9) - phpMan

Command: man perldoc info search(apropos)  


ETH_HEADER(9)                         Network device support                        ETH_HEADER(9)



NAME
       eth_header - create the Ethernet header

SYNOPSIS
       int eth_header(struct sk_buff * skb, struct net_device * dev, unsigned short type,
                      const void * daddr, const void * saddr, unsigned int len);

ARGUMENTS
       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)

DESCRIPTION
       Set the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here
       instead.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                             ETH_HEADER(9)


/man
rootr.net - man pages