net.sourceforge.jpcap.net
Interface UDPFields

All Known Implementing Classes:
HeaderGenerator, UDPPacket

public interface UDPFields

IP protocol field encoding information.


Field Summary
static int UDP_CSUM_LEN
          Length of the checksum field in bytes.
static int UDP_CSUM_POS
          Position of the header checksum length.
static int UDP_DP_POS
          Position of the destination port.
static int UDP_HEADER_LEN
          Length of a UDP header in bytes.
static int UDP_LEN_LEN
          Length of the header length field in bytes.
static int UDP_LEN_POS
          Position of the header length.
static int UDP_PORT_LEN
          Length of a UDP port in bytes.
static int UDP_SP_POS
          Position of the source port.
 

Field Detail

UDP_PORT_LEN

public static final int UDP_PORT_LEN
Length of a UDP port in bytes.

See Also:
Constant Field Values

UDP_LEN_LEN

public static final int UDP_LEN_LEN
Length of the header length field in bytes.

See Also:
Constant Field Values

UDP_CSUM_LEN

public static final int UDP_CSUM_LEN
Length of the checksum field in bytes.

See Also:
Constant Field Values

UDP_SP_POS

public static final int UDP_SP_POS
Position of the source port.

See Also:
Constant Field Values

UDP_DP_POS

public static final int UDP_DP_POS
Position of the destination port.

See Also:
Constant Field Values

UDP_LEN_POS

public static final int UDP_LEN_POS
Position of the header length.

See Also:
Constant Field Values

UDP_CSUM_POS

public static final int UDP_CSUM_POS
Position of the header checksum length.

See Also:
Constant Field Values

UDP_HEADER_LEN

public static final int UDP_HEADER_LEN
Length of a UDP header in bytes.

See Also:
Constant Field Values