Class EtherType

All Implemented Interfaces:
Serializable, Comparable<EtherType>

public final class EtherType extends NamedNumber<Short, EtherType>
Ether Type
Since:
pcap4j 0.9.1
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • IEEE802_3_MAX_LENGTH

      public static final int IEEE802_3_MAX_LENGTH
      See Also:
    • IPV4

      public static final EtherType IPV4
      IPv4: 0x0800
    • ARP

      public static final EtherType ARP
      ARP: 0x0806
    • DOT1Q_VLAN_TAGGED_FRAMES

      public static final EtherType DOT1Q_VLAN_TAGGED_FRAMES
      IEEE 802.1Q VLAN-tagged frames: 0x8100
    • RARP

      public static final EtherType RARP
      RARP: 0x8035
    • APPLETALK

      public static final EtherType APPLETALK
      Appletalk: 0x809b
    • IPV6

      public static final EtherType IPV6
      IPv6: 0x86dd
    • PPP

      public static final EtherType PPP
      PPP: 0x880b
    • MPLS

      public static final EtherType MPLS
      MPLS: 0x8847
    • PPPOE_DISCOVERY_STAGE

      public static final EtherType PPPOE_DISCOVERY_STAGE
      PPPoE Discovery Stage: 0x8863
    • PPPOE_SESSION_STAGE

      public static final EtherType PPPOE_SESSION_STAGE
      PPPoE Session Stage: 0x8864
    • registry

      private static final Map<Short, EtherType> registry
  • Constructor Details

    • EtherType

      public EtherType(Short value, String name)
      Parameters:
      value - value
      name - name
  • Method Details