net.sourceforge.jpcap.net
Interface ARPFields

All Known Implementing Classes:
ARPPacket, HeaderGenerator

public interface ARPFields

IP protocol field encoding information.


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
          Total length in bytes of an ARP header.
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 MAC 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
          Position of the sender protocol address.
static int ARP_T_HW_ADDR_POS
          Position of the target hardware address.
static int ARP_T_PR_ADDR_POS
          Position of the target protocol address.
 

Field Detail

ARP_ETH_ADDR_CODE

public static final int ARP_ETH_ADDR_CODE
Type code for ethernet addresses.

See Also:
Constant Field Values

ARP_IP_ADDR_CODE

public static final int ARP_IP_ADDR_CODE
Type code for MAC addresses.

See Also:
Constant Field Values

ARP_OP_REQ_CODE

public static final int ARP_OP_REQ_CODE
Code for ARP request.

See Also:
Constant Field Values

ARP_OP_REP_CODE

public static final int ARP_OP_REP_CODE
Code for ARP reply.

See Also:
Constant Field Values

ARP_OP_LEN

public static final int ARP_OP_LEN
Operation type length in bytes.

See Also:
Constant Field Values

ARP_ADDR_TYPE_LEN

public static final int ARP_ADDR_TYPE_LEN
Address type length in bytes.

See Also:
Constant Field Values

ARP_ADDR_SIZE_LEN

public static final int ARP_ADDR_SIZE_LEN
Address type length in bytes.

See Also:
Constant Field Values

ARP_HW_TYPE_POS

public static final int ARP_HW_TYPE_POS
Position of the hardware address type.

See Also:
Constant Field Values

ARP_PR_TYPE_POS

public static final int ARP_PR_TYPE_POS
Position of the protocol address type.

See Also:
Constant Field Values

ARP_HW_LEN_POS

public static final int ARP_HW_LEN_POS
Position of the hardware address length.

See Also:
Constant Field Values

ARP_PR_LEN_POS

public static final int ARP_PR_LEN_POS
Position of the protocol address length.

See Also:
Constant Field Values

ARP_OP_POS

public static final int ARP_OP_POS
Position of the operation type.

See Also:
Constant Field Values

ARP_S_HW_ADDR_POS

public static final int ARP_S_HW_ADDR_POS
Position of the sender hardware address.

See Also:
Constant Field Values

ARP_S_PR_ADDR_POS

public static final int ARP_S_PR_ADDR_POS
Position of the sender protocol address.

See Also:
Constant Field Values

ARP_T_HW_ADDR_POS

public static final int ARP_T_HW_ADDR_POS
Position of the target hardware address.

See Also:
Constant Field Values

ARP_T_PR_ADDR_POS

public static final int ARP_T_PR_ADDR_POS
Position of the target protocol address.

See Also:
Constant Field Values

ARP_HEADER_LEN

public static final int ARP_HEADER_LEN
Total length in bytes of an ARP header.

See Also:
Constant Field Values