net.sourceforge.jpcap.net
Interface ICMPFields

All Known Implementing Classes:
HeaderGenerator, ICMPPacket

public interface ICMPFields

ICMP protocol field encoding information.


Field Summary
static int ICMP_CODE_LEN
          Length of the ICMP message type code in bytes.
static int ICMP_CODE_POS
          Position of the ICMP message type.
static int ICMP_CSUM_LEN
          Length of the ICMP header checksum in bytes.
static int ICMP_CSUM_POS
          Position of the ICMP header checksum.
static int ICMP_HEADER_LEN
          Length in bytes of an ICMP header.
static int ICMP_SUBC_LEN
          Length of the ICMP subcode in bytes.
static int ICMP_SUBC_POS
          Position of the ICMP message subcode.
 

Field Detail

ICMP_CODE_LEN

public static final int ICMP_CODE_LEN
Length of the ICMP message type code in bytes.

See Also:
Constant Field Values

ICMP_SUBC_LEN

public static final int ICMP_SUBC_LEN
Length of the ICMP subcode in bytes.

See Also:
Constant Field Values

ICMP_CSUM_LEN

public static final int ICMP_CSUM_LEN
Length of the ICMP header checksum in bytes.

See Also:
Constant Field Values

ICMP_CODE_POS

public static final int ICMP_CODE_POS
Position of the ICMP message type.

See Also:
Constant Field Values

ICMP_SUBC_POS

public static final int ICMP_SUBC_POS
Position of the ICMP message subcode.

See Also:
Constant Field Values

ICMP_CSUM_POS

public static final int ICMP_CSUM_POS
Position of the ICMP header checksum.

See Also:
Constant Field Values

ICMP_HEADER_LEN

public static final int ICMP_HEADER_LEN
Length in bytes of an ICMP header.

See Also:
Constant Field Values