クラス DataLinkType

    • フィールドの詳細

      • NULL

        public static final DataLinkType NULL
        Null (BSD loopback encapsulation): 0
      • EN10MB

        public static final DataLinkType EN10MB
        Ethernet (10Mb, 100Mb, 1000Mb, and up): 1
      • IEEE802

        public static final DataLinkType IEEE802
        802.5 Token Ring: 6
      • PPP

        public static final DataLinkType PPP
        Point-to-point Protocol: 9
      • RAW

        public static final DataLinkType RAW
        RAW IP packet: 14 on OpenBSD, or 12 on the others. If you want to change this value, set the property org.pcap4j.dlt.raw (system property or pcap4j.properties) to an integer before using this class.
        関連項目:
        Pcap4jPropertiesLoader, pcap4j.properties
      • PPP_SERIAL

        public static final DataLinkType PPP_SERIAL
        PPP over serial with HDLC encapsulation: 50
      • IEEE802_11

        public static final DataLinkType IEEE802_11
        IEEE 802.11 wireless: 105
      • LINUX_SLL

        public static final DataLinkType LINUX_SLL
        Linux cooked-mode capture (SLL): 113
      • IEEE802_11_RADIO

        public static final DataLinkType IEEE802_11_RADIO
        Radiotap: 127 - Header for 802.11 plus a number of bits of link-layer information including radio information, used by some recent BSD drivers as well as the madwifi Atheros driver for Linux.
      • DOCSIS

        public static final DataLinkType DOCSIS
        DOCSIS MAC frames: 143
    • コンストラクタの詳細

      • DataLinkType

        public DataLinkType​(Integer value,
                            String name)
        パラメータ:
        value - value
        name - name