ethernet/hdr.h File Reference

Ethernet header definitions. More...

Detailed Description

Ethernet header definitions.

Author
Martine Lenders mlend.nosp@m.ers@.nosp@m.inf.f.nosp@m.u-be.nosp@m.rlin..nosp@m.de

Definition in file ethernet/hdr.h.

#include <inttypes.h>
#include "byteorder.h"
+ Include dependency graph for ethernet/hdr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ethernet_hdr_t
 Ethernet header. More...
 

Macros

#define ETHERNET_ADDR_LEN   (6)
 Length of an Ethernet address.
 
#define ETH_ALEN   ETHERNET_ADDR_LEN
 convenient alias for ETHERNET_ADDR_LEN to comply with NIX code