ISC DHCP  4.3.1
A reference DHCPv4 and DHCPv6 implementation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
if_ether.h File Reference

Go to the source code of this file.

Data Structures

struct  ether_addr
 
struct  isc_ether_header
 

Macros

#define ETHER_ADDR_LEN   6
 
#define ETHERTYPE_PUP   0x0200 /* PUP protocol */
 
#define ETHERTYPE_IP   0x0800 /* IP protocol */
 
#define ETHERTYPE_ARP   0x0806 /* address resolution protocol */
 
#define ETHER_HEADER_SIZE   (ETHER_ADDR_LEN * 2 + sizeof (u_int16_t))
 

Macro Definition Documentation

#define ETHER_ADDR_LEN   6

Definition at line 48 of file if_ether.h.

#define ETHER_HEADER_SIZE   (ETHER_ADDR_LEN * 2 + sizeof (u_int16_t))

Definition at line 60 of file if_ether.h.

#define ETHERTYPE_ARP   0x0806 /* address resolution protocol */

Definition at line 58 of file if_ether.h.

#define ETHERTYPE_IP   0x0800 /* IP protocol */

Definition at line 57 of file if_ether.h.

#define ETHERTYPE_PUP   0x0200 /* PUP protocol */

Definition at line 56 of file if_ether.h.