SourceForge Jpcap

net.sourceforge.jpcap.net
Interface EthernetFields

All Known Implementing Classes:
ARPPacket, CDP.Packet, DTP.Packet, EthernetPacket, EthernetProtocol, ICMPPacket, IGMPPacket, IP.Packet, IPPacket, IPv4.Packet, IPv4.TCP.Packet, IPv4.UDP.Packet, ISL.Packet, STP.Packet, TCPPacket, UDPPacket

public interface EthernetFields

Ethernet 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:18 $

Field Summary
static int ETH_CODE_LEN
          Width of the ethernet type code in bytes.
static int ETH_CODE_POS
          Position of the ethernet type field within the ethernet header.
static int ETH_DST_POS
          Position of the destination MAC address within the ethernet header.
static int ETH_HEADER_LEN
          Total length of an ethernet header in bytes.
static int ETH_SRC_POS
          Position of the source MAC address within the ethernet header.
 

Field Detail

ETH_CODE_LEN

static final int ETH_CODE_LEN
Width of the ethernet type code in bytes.

See Also:
Constant Field Values

ETH_DST_POS

static final int ETH_DST_POS
Position of the destination MAC address within the ethernet header.

See Also:
Constant Field Values

ETH_SRC_POS

static final int ETH_SRC_POS
Position of the source MAC address within the ethernet header.

See Also:
Constant Field Values

ETH_CODE_POS

static final int ETH_CODE_POS
Position of the ethernet type field within the ethernet header.

See Also:
Constant Field Values

ETH_HEADER_LEN

static final int ETH_HEADER_LEN
Total length of an ethernet header in bytes.

See Also:
Constant Field Values

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