The friendly Operating System for the Internet of Things
ethernet/hdr.h File Reference

Ethernet header definitions. More...

Detailed Description

#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