SourceForge Jpcap

net.sourceforge.jpcap.net
Interface SNAP

All Superinterfaces:
LLC
All Known Subinterfaces:
CDP, DTP

public interface SNAP
extends LLC

SNAP interface definitions.

Since:
2.0.0
Version:
$Revision: 1.1 $
Author:
Esmond Pitt

Nested Class Summary
static class SNAP.PacketFactory
          Packet factory
 
Field Summary
static int CDP
          Cisco Discovery Protocol
static int DTP
          Dynamic Trunking Protocol
static int MIB_LENGTH_LEN
          Length of MIB length
static int MIB_LENGTH_POS
          Offset of MIB length (relative)
static int MIB_TYPE_LEN
          Length of MIB type
static int MIB_TYPE_POS
          Offset of MIB type (relative)
static int MIB_VALUE_POS
          Offset of MIB value (relative)
static int ORG_CODE_CISCO
          Cisco organization code.
static int ORG_CODE_IEEE
          IEEE organization code.
static int SNAP_HEADER_LEN
          SNAP header length
static int SNAP_HEADER_POS
          Offset of SNAP header
static int SNAP_ORG_LEN
          Length of Organization
static int SNAP_ORG_POS
          Offset of Organization
static int SNAP_PROTOCOL_LEN
          Length of Protocol
static int SNAP_PROTOCOL_POS
          Offset of Protocol
 
Fields inherited from interface net.sourceforge.jpcap.net.LLC
LLC_CONTROL_LEN, LLC_CONTROL_POS, LLC_DSAP_LEN, LLC_DSAP_POS, LLC_HEADER_LEN, LLC_HEADER_POS, LLC_PROTOCOL_LEN, LLC_PROTOCOL_POS, LLC_SSAP_LEN, LLC_SSAP_POS, LLC_UNNUMBERED_INFORMATION, SAP_SNAP, SAP_STP
 

Field Detail

SNAP_HEADER_POS

static final int SNAP_HEADER_POS
Offset of SNAP header

See Also:
Constant Field Values

SNAP_ORG_POS

static final int SNAP_ORG_POS
Offset of Organization

See Also:
Constant Field Values

SNAP_ORG_LEN

static final int SNAP_ORG_LEN
Length of Organization

See Also:
Constant Field Values

SNAP_PROTOCOL_POS

static final int SNAP_PROTOCOL_POS
Offset of Protocol

See Also:
Constant Field Values

SNAP_PROTOCOL_LEN

static final int SNAP_PROTOCOL_LEN
Length of Protocol

See Also:
Constant Field Values

SNAP_HEADER_LEN

static final int SNAP_HEADER_LEN
SNAP header length

See Also:
Constant Field Values

MIB_TYPE_POS

static final int MIB_TYPE_POS
Offset of MIB type (relative)

See Also:
Constant Field Values

MIB_TYPE_LEN

static final int MIB_TYPE_LEN
Length of MIB type

See Also:
Constant Field Values

MIB_LENGTH_POS

static final int MIB_LENGTH_POS
Offset of MIB length (relative)

See Also:
Constant Field Values

MIB_LENGTH_LEN

static final int MIB_LENGTH_LEN
Length of MIB length

See Also:
Constant Field Values

MIB_VALUE_POS

static final int MIB_VALUE_POS
Offset of MIB value (relative)

See Also:
Constant Field Values

ORG_CODE_IEEE

static final int ORG_CODE_IEEE
IEEE organization code.

See Also:
Constant Field Values

ORG_CODE_CISCO

static final int ORG_CODE_CISCO
Cisco organization code.

See Also:
Constant Field Values

CDP

static final int CDP
Cisco Discovery Protocol

See Also:
Constant Field Values

DTP

static final int DTP
Dynamic Trunking Protocol

See Also:
Constant Field Values

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