Module org.jnetpcap

Enum Class ArpHdr

java.lang.Object
java.lang.Enum<ArpHdr>
org.jnetpcap.constant.ArpHdr
All Implemented Interfaces:
Serializable, Comparable<ArpHdr>, Constable, IntSupplier

public enum ArpHdr extends Enum<ArpHdr> implements IntSupplier
ARP protocol HARDWARE identifiers
Author:
Sly Technologies Inc, repos@slytechs.com
  • Enum Constant Details

    • ARPHDR_NETROM

      public static final ArpHdr ARPHDR_NETROM
      From KA9Q: NET/ROM pseudo
    • ARPHDR_ETHER

      public static final ArpHdr ARPHDR_ETHER
      Ethernet 10/100Mbps.
    • ARPHDR_EETHER

      public static final ArpHdr ARPHDR_EETHER
      Experimental Ethernet.
    • ARPHDR_AX25

      public static final ArpHdr ARPHDR_AX25
      AX.25 Level 2.
    • ARPHDR_PRONET

      public static final ArpHdr ARPHDR_PRONET
      PROnet token ring.
    • ARPHDR_CHAOS

      public static final ArpHdr ARPHDR_CHAOS
      Chaosnet.
    • ARPHDR_IEEE802

      public static final ArpHdr ARPHDR_IEEE802
      IEEE 802.2 Ethernet/TR/TB.
    • ARPHDR_ARCNET

      public static final ArpHdr ARPHDR_ARCNET
      ARCnet.
    • ARPHDR_APPLETLK

      public static final ArpHdr ARPHDR_APPLETLK
      APPLEtalk.
    • ARPHDR_DLCI

      public static final ArpHdr ARPHDR_DLCI
      Frame Relay DLCI.
    • ARPHDR_ATM

      public static final ArpHdr ARPHDR_ATM
      ATM.
    • ARPHDR_METRICOM

      public static final ArpHdr ARPHDR_METRICOM
      Metricom STRIP (new IANA id).
    • ARPHDR_IEEE1394

      public static final ArpHdr ARPHDR_IEEE1394
      IEEE 1394 IPv4 - RFC 2734.
    • ARPHDR_EUI64

      public static final ArpHdr ARPHDR_EUI64
      EUI-64.
    • ARPHDR_INFINIBAND

      public static final ArpHdr ARPHDR_INFINIBAND
      InfiniBand.
    • ARPHDR_SLIP

      public static final ArpHdr ARPHDR_SLIP
      SLIP
    • ARPHDR_CSLIP

      public static final ArpHdr ARPHDR_CSLIP
      CSLIP
    • ARPHDR_SLIP6

      public static final ArpHdr ARPHDR_SLIP6
      SLIP6
    • ARPHDR_CSLIP6

      public static final ArpHdr ARPHDR_CSLIP6
      CSLIP6
    • ARPHDR_RSRVD

      public static final ArpHdr ARPHDR_RSRVD
      Notional KISS type.
    • ARPHDR_ADAPT

      public static final ArpHdr ARPHDR_ADAPT
      COMMENT
    • ARPHDR_ROSE

      public static final ArpHdr ARPHDR_ROSE
      COMMENT
    • ARPHDR_X25

      public static final ArpHdr ARPHDR_X25
      CCITT X.25.
    • ARPHDR_HWX25

      public static final ArpHdr ARPHDR_HWX25
      Boards with X.25 in firmware.
    • ARPHDR_CAN

      public static final ArpHdr ARPHDR_CAN
      Controller Area Network.
    • ARPHDR_MCTP

      public static final ArpHdr ARPHDR_MCTP
      COMMENT
    • ARPHDR_PPP

      public static final ArpHdr ARPHDR_PPP
      COMMENT
    • ARPHDR_CISCO

      public static final ArpHdr ARPHDR_CISCO
      Cisco HDLC.
    • ARPHRD_HDLC

      public static final ArpHdr ARPHRD_HDLC
      HDLC
    • ARPHDR_LAPB

      public static final ArpHdr ARPHDR_LAPB
      LAPB.
    • ARPHDR_DDCMP

      public static final ArpHdr ARPHDR_DDCMP
      Digital's DDCMP.
    • ARPHDR_RAWHDLC

      public static final ArpHdr ARPHDR_RAWHDLC
      Raw HDLC.
    • ARPHDR_RAWIP

      public static final ArpHdr ARPHDR_RAWIP
      Raw IP.
    • ARPHDR_TUNNEL

      public static final ArpHdr ARPHDR_TUNNEL
      IPIP tunnel.
    • ARPHDR_TUNNEL6

      public static final ArpHdr ARPHDR_TUNNEL6
      IPIP6 tunnel.
    • ARPHDR_FRAD

      public static final ArpHdr ARPHDR_FRAD
      Frame Relay Access Device.
    • ARPHDR_SKIP

      public static final ArpHdr ARPHDR_SKIP
      SKIP vif.
    • ARPHDR_LOOPBACK

      public static final ArpHdr ARPHDR_LOOPBACK
      Loopback device.
    • ARPHDR_LOCALTLK

      public static final ArpHdr ARPHDR_LOCALTLK
      Localtalk device.
    • ARPHDR_FDDI

      public static final ArpHdr ARPHDR_FDDI
      Fiber Distributed Data Interface
    • ARPHDR_BIF

      public static final ArpHdr ARPHDR_BIF
      AP1000 BIF.
    • ARPHDR_SIT

      public static final ArpHdr ARPHDR_SIT
      sit0 device - IPv6-in-IPv4.
    • ARPHDR_IPDDP

      public static final ArpHdr ARPHDR_IPDDP
      IP-in-DDP tunnel.
    • ARPHDR_IPGRE

      public static final ArpHdr ARPHDR_IPGRE
      GRE over IP.
    • ARPHDR_PIMREG

      public static final ArpHdr ARPHDR_PIMREG
      PIMSM register interface.
    • ARPHDR_HIPPI

      public static final ArpHdr ARPHDR_HIPPI
      High Performance Parallel Interface
    • ARPHDR_ASH

      public static final ArpHdr ARPHDR_ASH
      (Nexus Electronics) Ash.
    • ARPHDR_ECONET

      public static final ArpHdr ARPHDR_ECONET
      Acorn Econet.
    • ARPHDR_IRDA

      public static final ArpHdr ARPHDR_IRDA
      Linux-IrDA.
    • ARPHDR_FCPP

      public static final ArpHdr ARPHDR_FCPP
      Point to point fibrechanel.
    • ARPHDR_FCAL

      public static final ArpHdr ARPHDR_FCAL
      Fibrechanel arbitrated loop.
    • ARPHDR_FCPL

      public static final ArpHdr ARPHDR_FCPL
      Fibrechanel public loop.
    • ARPHDR_FCFABRIC

      public static final ArpHdr ARPHDR_FCFABRIC
      Fibrechanel fabric.
    • ARPHDR_IEEE802_TR

      public static final ArpHdr ARPHDR_IEEE802_TR
      Magic type ident for TR.
    • ARPHDR_IEEE80211

      public static final ArpHdr ARPHDR_IEEE80211
      IEEE 802.11.
    • ARPHDR_IEEE80211_PRISM

      public static final ArpHdr ARPHDR_IEEE80211_PRISM
      IEEE 802.11 + Prism2 header.
    • ARPHDR_IEEE80211_RADIOTAP

      public static final ArpHdr ARPHDR_IEEE80211_RADIOTAP
      IEEE 802.11 + radiotap header.
    • ARPHDR_IEEE802154

      public static final ArpHdr ARPHDR_IEEE802154
      IEEE 802.15.4 header.
    • ARPHDR_IEEE802154_PHY

      public static final ArpHdr ARPHDR_IEEE802154_PHY
      IEEE 802.15.4 PHY header.
    • ARPHDR_VOID

      public static final ArpHdr ARPHDR_VOID
      Void type, nothing is known
    • ARPHDR_NONE

      public static final ArpHdr ARPHDR_NONE
      Zero header length
  • Method Details

    • values

      public static ArpHdr[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ArpHdr valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toEnum

      public static Optional<ArpHdr> toEnum(int id)
      Converts the supplied id to an ArpHdr enum constant.
      Parameters:
      id - the id to search for
      Returns:
      the constant, if found
    • toLabel

      public static Optional<String> toLabel(int id)
      Searches for a constant matching the supplied id parameter and returns its label.
      Parameters:
      id - the id to search for
      Returns:
      the constant's label, if found
    • getAsInt

      public int getAsInt()
      Specified by:
      getAsInt in interface IntSupplier
      See Also:
    • label

      public String label()
      Human readable label.
      Returns:
      the label