ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
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

◆ ETHER_ADDR_LEN

#define ETHER_ADDR_LEN   6

Definition at line 48 of file if_ether.h.

◆ ETHER_HEADER_SIZE

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

Definition at line 60 of file if_ether.h.

◆ ETHERTYPE_ARP

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

Definition at line 58 of file if_ether.h.

◆ ETHERTYPE_IP

#define ETHERTYPE_IP   0x0800 /* IP protocol */

Definition at line 57 of file if_ether.h.

◆ ETHERTYPE_PUP

#define ETHERTYPE_PUP   0x0200 /* PUP protocol */

Definition at line 56 of file if_ether.h.