SourceForge Jpcap

net.sourceforge.jpcap.net
Interface IPFields

All Known Subinterfaces:
IPv4, IPv4.TCP
All Known Implementing Classes:
ICMPPacket, IGMPPacket, IPPacket, IPv4.Packet, IPv4.TCP.Packet, IPv4.UDP.Packet, TCPPacket, UDPPacket

public interface IPFields

IP protocol field encoding information.

Version:
$Revision: 1.1 $
Author:
Patrick Charles and Jonas Lehmann
Last modified by:
$Author: esmondpitt $
Last modified at:
$Date: 2008/08/21 02:58:22 $

Field Summary
static int IP_CODE_LEN
          Width of the IP protocol code in bytes.
static int IP_CODE_POS
          Position of the IP protocol code within the IP header.
static int IP_CSUM_LEN
          Width of the IP checksum in bytes.
static int IP_CSUM_POS
          Position of the checksum within the IP header.
static int IP_DST_POS
          Position of the destination IP address within a packet.
static int IP_FRAG_LEN
          Width of the fragmentation bits and offset field in bytes.
static int IP_FRAG_POS
          Position of the flag bits and fragment offset within the IP header.
static int IP_HEADER_LEN
          Length in bytes of an IP header, excluding options.
static int IP_ID_LEN
          Width of the ID field in bytes.
static int IP_ID_POS
          Position of the packet ID within the IP header.
static int IP_LEN_LEN
          Width of the header length field in bytes.
static int IP_LEN_POS
          Position of the length within the IP header.
static int IP_SRC_POS
          Position of the source IP address within the IP header.
static int IP_TOS_LEN
          Width of the TOS field in bytes.
static int IP_TOS_POS
          Position of the type of service code within the IP header.
static int IP_TTL_LEN
          Width of the TTL field in bytes.
static int IP_TTL_POS
          Position of the ttl within the IP header.
static int IP_VER_LEN
          Width of the IP version and header length field in bytes.
static int IP_VER_POS
          Position of the version code and header length within the IP header.
 

Field Detail

IP_VER_LEN

static final int IP_VER_LEN
Width of the IP version and header length field in bytes.

See Also:
Constant Field Values

IP_TOS_LEN

static final int IP_TOS_LEN
Width of the TOS field in bytes.

See Also:
Constant Field Values

IP_LEN_LEN

static final int IP_LEN_LEN
Width of the header length field in bytes.

See Also:
Constant Field Values

IP_ID_LEN

static final int IP_ID_LEN
Width of the ID field in bytes.

See Also:
Constant Field Values

IP_FRAG_LEN

static final int IP_FRAG_LEN
Width of the fragmentation bits and offset field in bytes.

See Also:
Constant Field Values

IP_TTL_LEN

static final int IP_TTL_LEN
Width of the TTL field in bytes.

See Also:
Constant Field Values

IP_CODE_LEN

static final int IP_CODE_LEN
Width of the IP protocol code in bytes.

See Also:
Constant Field Values

IP_CSUM_LEN

static final int IP_CSUM_LEN
Width of the IP checksum in bytes.

See Also:
Constant Field Values

IP_VER_POS

static final int IP_VER_POS
Position of the version code and header length within the IP header.

See Also:
Constant Field Values

IP_TOS_POS

static final int IP_TOS_POS
Position of the type of service code within the IP header.

See Also:
Constant Field Values

IP_LEN_POS

static final int IP_LEN_POS
Position of the length within the IP header.

See Also:
Constant Field Values

IP_ID_POS

static final int IP_ID_POS
Position of the packet ID within the IP header.

See Also:
Constant Field Values

IP_FRAG_POS

static final int IP_FRAG_POS
Position of the flag bits and fragment offset within the IP header.

See Also:
Constant Field Values

IP_TTL_POS

static final int IP_TTL_POS
Position of the ttl within the IP header.

See Also:
Constant Field Values

IP_CODE_POS

static final int IP_CODE_POS
Position of the IP protocol code within the IP header.

See Also:
Constant Field Values

IP_CSUM_POS

static final int IP_CSUM_POS
Position of the checksum within the IP header.

See Also:
Constant Field Values

IP_SRC_POS

static final int IP_SRC_POS
Position of the source IP address within the IP header.

See Also:
Constant Field Values

IP_DST_POS

static final int IP_DST_POS
Position of the destination IP address within a packet.

See Also:
Constant Field Values

IP_HEADER_LEN

static final int IP_HEADER_LEN
Length in bytes of an IP header, excluding options.

See Also:
Constant Field Values

Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008.