|
SourceForge Jpcap | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ARPFields
IP protocol field encoding information.
Note: IPv6 doesn't use ARP at all, it uses Neighbour Discovery protocol (IPv6 ND), so everything here can be hardwired assuming Ethernet MAC addresses of length 6 bytes and IPv4 protocol addresses of length 4 bytes.
Field Summary | |
---|---|
static int |
ARP_ADDR_SIZE_LEN
Address type length in bytes. |
static int |
ARP_ADDR_TYPE_LEN
Address type length in bytes. |
static int |
ARP_ETH_ADDR_CODE
Type code for ethernet addresses. |
static int |
ARP_HEADER_LEN
|
static int |
ARP_HW_LEN_POS
Position of the hardware address length. |
static int |
ARP_HW_TYPE_POS
Position of the hardware address type. |
static int |
ARP_IP_ADDR_CODE
Type code for IPv4 addresses. |
static int |
ARP_OP_LEN
Operation type length in bytes. |
static int |
ARP_OP_POS
Position of the operation type. |
static int |
ARP_OP_REP_CODE
Code for ARP reply. |
static int |
ARP_OP_REQ_CODE
Code for ARP request. |
static int |
ARP_PR_LEN_POS
Position of the protocol address length. |
static int |
ARP_PR_TYPE_POS
Position of the protocol address type. |
static int |
ARP_S_HW_ADDR_POS
Position of the sender hardware address. |
static int |
ARP_S_PR_ADDR_POS
Offset of the sender protocol address. |
static int |
ARP_T_HW_ADDR_POS
Offset of the target hardware address. |
static int |
ARP_T_PR_ADDR_POS
Offset of the target protocol address. |
static int |
RARP_OP_REP_CODE
Code for RARP replies. |
static int |
RARP_OP_REQ_CODE
Code for RARP request. |
Field Detail |
---|
static final int ARP_ETH_ADDR_CODE
static final int ARP_IP_ADDR_CODE
static final int ARP_OP_REQ_CODE
static final int ARP_OP_REP_CODE
static final int RARP_OP_REQ_CODE
static final int RARP_OP_REP_CODE
static final int ARP_OP_LEN
static final int ARP_ADDR_TYPE_LEN
static final int ARP_ADDR_SIZE_LEN
static final int ARP_HW_TYPE_POS
static final int ARP_PR_TYPE_POS
static final int ARP_HW_LEN_POS
static final int ARP_PR_LEN_POS
static final int ARP_OP_POS
static final int ARP_S_HW_ADDR_POS
static final int ARP_S_PR_ADDR_POS
static final int ARP_T_HW_ADDR_POS
static final int ARP_T_PR_ADDR_POS
static final int ARP_HEADER_LEN
|
Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |