Class EtherType

    • Field Detail

      • 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
    • Constructor Detail

      • EtherType

        public EtherType​(java.lang.Short value,
                         java.lang.String name)
        Parameters:
        value - value
        name - name
    • Method Detail

      • getInstance

        public static EtherType getInstance​(java.lang.Short value)
        Parameters:
        value - value
        Returns:
        a EtherType object.
      • register

        public static EtherType register​(EtherType type)
        Parameters:
        type - type
        Returns:
        a EtherType object.
      • valueAsString

        public java.lang.String valueAsString()
        Overrides:
        valueAsString in class NamedNumber<java.lang.Short,​EtherType>
        Returns:
        a string representation of this value.