The Assimilation Project  based on Assimilation version 1.1.7.1474836767
ARP: Offsets of initial items in an ARP packet.

The initial items are the hardware and protocol types, address lengths, and the operation code. More...

Collaboration diagram for ARP: Offsets of initial items in an ARP packet.:

Macros

#define ARP_PKT_OFFSET   14
 Number of bytes before the ARP packet itself starts. More...
 
#define ARP_HRD_LEN   2
 Number of bytes for the Hardware Type field. More...
 
#define ARP_PRO_LEN   2
 Number of bytes for the Protocol Type field. More...
 
#define ARP_HLN_LEN   1
 Number of bytes for the Hardware Address Length field. More...
 
#define ARP_PLN_LEN   1
 Number of bytes for the Protocol Address Length field. More...
 
#define ARP_OP_LEN   2
 Number of bytes for the Opcode field. More...
 
#define ARP_HDR_LEN   (ARP_HRD_LEN + ARP_PRO_LEN + ARP_HLN_LEN + ARP_PLN_LEN + ARP_OP_LEN)
 Number of bytes for the ARP Packet header info (before addresses start) More...
 

Detailed Description

The initial items are the hardware and protocol types, address lengths, and the operation code.

These all come before the IP/MAC address portion of the ARP packet.

Macro Definition Documentation

#define ARP_HDR_LEN   (ARP_HRD_LEN + ARP_PRO_LEN + ARP_HLN_LEN + ARP_PLN_LEN + ARP_OP_LEN)

Number of bytes for the ARP Packet header info (before addresses start)

Definition at line 83 of file arpdiscovery.c.

Referenced by _arpdiscovery_dispatch().

#define ARP_HLN_LEN   1

Number of bytes for the Hardware Address Length field.

Definition at line 79 of file arpdiscovery.c.

Referenced by _arpdiscovery_dispatch().

#define ARP_HRD_LEN   2

Number of bytes for the Hardware Type field.

Definition at line 77 of file arpdiscovery.c.

Referenced by _arpdiscovery_dispatch().

#define ARP_OP_LEN   2

Number of bytes for the Opcode field.

Definition at line 81 of file arpdiscovery.c.

#define ARP_PKT_OFFSET   14

Number of bytes before the ARP packet itself starts.

Definition at line 76 of file arpdiscovery.c.

Referenced by _arpdiscovery_dispatch().

#define ARP_PLN_LEN   1

Number of bytes for the Protocol Address Length field.

Definition at line 80 of file arpdiscovery.c.

Referenced by _arpdiscovery_dispatch().

#define ARP_PRO_LEN   2

Number of bytes for the Protocol Type field.

Definition at line 78 of file arpdiscovery.c.

Referenced by _arpdiscovery_dispatch().