Data Structures | Defines

sw-host/arp.h File Reference

(r4864/r225)

#include "ether.h"
#include "ip.h"
Include dependency graph for arp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  arp_header

Defines

#define ARP_HTYPE_ETHER   1
#define ARP_PTYPE_IP   0x0800
#define ARP_REQUEST   1
#define ARP_REPLY   2
#define ARP_HEADER_OFFSET   ETHER_PAYLOAD_OFFSET
#define ARP_PACKET_SIZE   sizeof(struct ether_header) + sizeof(struct arp_header)

Define Documentation

#define ARP_HEADER_OFFSET   ETHER_PAYLOAD_OFFSET

Definition at line 24 of file arp.h.

#define ARP_HTYPE_ETHER   1

Definition at line 7 of file arp.h.

#define ARP_PACKET_SIZE   sizeof(struct ether_header) + sizeof(struct arp_header)

Definition at line 25 of file arp.h.

#define ARP_PTYPE_IP   0x0800

Definition at line 8 of file arp.h.

#define ARP_REPLY   2

Definition at line 10 of file arp.h.

#define ARP_REQUEST   1

Definition at line 9 of file arp.h.