Lines Matching +full:hart +full:- +full:index +full:- +full:bits

21  * pcap-common.c - common code for pcap and pcapng files
26 #include <pcap-types.h>
28 #include "pcap-int.h"
30 #include "pcap-common.h"
38 * libpcap for non-BSD OSes have added their own DLT_* codes for link
66 * "tcpdump-workers@lists.tcpdump.org". The tcpdump developers will
78 * are available; you might not have the most up-to-date version of this
80 * do *NOT* use any values below 100 - those might already have been
118 #define LINKTYPE_ARCNET_BSD DLT_ARCNET /* BSD-style headers */
127 * PPP in HDLC-like framing header (with 0xff 0x03 before the PPP protocol
132 * point-to-point with HDLC framing as per section 4.3.1 of RFC 1547 ("Cisco
140 #define LINKTYPE_PPP_HDLC 50 /* PPP in HDLC-like framing */
142 #define LINKTYPE_PPP_ETHER 51 /* NetBSD PPP-over-Ethernet */
152 #define LINKTYPE_ATM_RFC1483 100 /* LLC/SNAP-encapsulated ATM */
158 * Values starting with 104 are used for newly-assigned link-layer
159 * header type values; for those link-layer header types, the DLT_
202 #define LINKTYPE_CISCO_IOS 118 /* For Cisco-internal use */
211 #define LINKTYPE_IP_OVER_FC 122 /* RFC 2625 IP-over-Fibre Channel */
228 * which includes a means to include meta-information
234 #define LINKTYPE_ARCNET_LINUX 129 /* Linux-style headers */
237 * Juniper-private data link types, as per request from
239 * DLT_s are used for passing on chassis-internal
251 #define LINKTYPE_APPLE_IP_OVER_IEEE1394 138 /* Apple IP-over-IEEE 1394 cooked header */
260 #define LINKTYPE_LINUX_IRDA 144 /* Linux-IrDA */
269 * Reserved for private use. If you have some link-layer header type
271 * using that link-layer header type not ever be sent outside your
278 * your private versions of capture-file-reading tools to read; in
290 * Instead, in those cases, ask "tcpdump-workers@lists.tcpdump.org" for a
312 * For future use with 802.11 captures - defined by AbsoluteValue
313 * Systems to store a number of bits of link-layer information
321 * Juniper-private data link type, as per request from
323 * DLT_s are used for passing on chassis-internal
338 * supply pppd with outgoing packets so it can do dial-on-demand and
339 * hangup-on-lack-of-demand; incoming packets are filtered out so they
345 * the direction - 0x00 = IN, 0x01 = OUT.
350 * Juniper-private data link type, as per request from
352 * for passing on chassis-internal metainformation such as
359 #define LINKTYPE_GPF_T 170 /* GPF-T (ITU-T G.7041/Y.1303) */
360 #define LINKTYPE_GPF_F 171 /* GPF-F (ITU-T G.7041/Y.1303) */
370 * Juniper-private data link type, as per request from
380 * the link-layer header.
383 #define LINKTYPE_ERF_POS 176 /* Packet-over-SONET */
387 * for vISDN (http://www.orlandi.com/visdn/). Its link-layer header
394 * Juniper-private data link type, as per request from
396 * The Link Types are used for prepending meta-information
397 * like interface index, interface name
398 * before standard Ethernet, PPP, Frelay & C-HDLC Frames
411 * Juniper-private data link type, as per request from
430 * Please refer to the A653-1 standard for more information.
438 * However, that header didn't work all that well - it left out some
439 * useful information - and was abandoned in favor of the DLT_USB_LINUX
470 * http://www.can-cia.org/downloads/?269
493 * Juniper-private data link type, as per request from
512 * Various link-layer types, with a pseudo-header, for SITA
518 * Various link-layer types, with a pseudo-header, for Endace DAG cards;
532 * IPMB packet for IPMI, beginning with a 2-byte header, followed by
536 * XXX - its DLT_ value used to be called DLT_IPMB, back when we got the
538 * had no extra 2-byte header. We've renamed it; if anybody used
539 * DLT_IPMB and assumed no 2-byte header, this will cause the compile
548 * Juniper-private data link type, as per request from
555 * Bluetooth HCI UART transport layer (part H:4), with pseudo-header
561 * AX.25 packet with a 1-byte KISS header; see
565 * as per Richard Stearn <richard@rns-stearn.demon.co.uk>.
571 * with no pseudo-header.
577 * PPP, with a one-byte direction pseudo-header prepended - zero means
578 * "received by this host", non-zero (any non-zero value) means "sent by
579 * this host" - as per Will Barker <w.barker@zen.co.uk>.
584 * Cisco HDLC, with a one-byte direction pseudo-header prepended - zero
585 * means "received by this host", non-zero (any non-zero value) means
586 * "sent by this host" - as per Will Barker <w.barker@zen.co.uk>.
591 * Frame Relay, with a one-byte direction pseudo-header prepended - zero
592 * means "received by this host" (DCE -> DTE), non-zero (any non-zero
593 * value) means "sent by this host" (DTE -> DCE) - as per Will Barker
599 * LAPB, with a one-byte direction pseudo-header prepended - zero means
600 * "received by this host" (DCE -> DTE), non-zero (any non-zero value)
601 * means "sent by this host" (DTE -> DCE)- as per Will Barker
607 * 208 is reserved for an as-yet-unspecified proprietary link-layer
612 * IPMB with a Linux-specific pseudo-header; as requested by Alexey Neyman
618 * FlexRay automotive bus - http://www.flexray.com/ - as requested
625 * transport - https://www.mostcooperation.com/ - as requested
631 * Local Interconnect Network (LIN) bus for vehicle networks -
632 * http://www.lin-subbus.org/ - as requested by Hannes Kaelber
638 * X2E-private data link type used for serial line capture,
644 * X2E-private data link type used for the Xoraya data logger
651 * nothing), but with the PHY-level data for non-ASK PHYs (4 octets
653 * reserved bit, and then the MAC-layer data, starting with the
677 * MPLS, with an MPLS label as the link-layer header.
685 * padded to 64 bytes; required for memory-mapped access.
690 * DECT packets, with a pseudo-header; requested by
696 * From: "Lidwa, Eric (GSFC-582.0)[SGT INC]" <eric.lidwa-1@nasa.gov>
697 * Date: Mon, 11 May 2009 11:18:30 -0500
708 * From the HART Communication Foundation
716 * Fibre Channel FC-2 frames, beginning with a Frame_Header.
722 * Fibre Channel FC-2 frames, beginning with an encoding of the
725 * The encodings represent the frame delimiters as 4-byte sequences
728 * byte values; for example, SOFi2, which is K28.5 - D21.5 - D1.2 - D21.2,
736 * Solaris ipnet pseudo-header; requested by Darren Reed <Darren.Reed@Sun.COM>.
738 * The pseudo-header starts with a one-byte version number; for version 2,
739 * the pseudo-header is:
752 * dli_version is 2 for the current version of the pseudo-header.
757 * dli_htype is a "hook type" - 0 for incoming packets, 1 for outgoing
761 * dli_pktlen is the length of the packet data following the pseudo-header
763 * pseudo-header, assuming the entire pseudo-header was captured).
765 * dli_ifindex is the interface index of the interface on which the
768 * dli_grifindex is the group interface index number (for IPMP interfaces).
778 * An IPv4 or IPv6 datagram follows the pseudo-header; dli_family indicates
784 * CAN (Controller Area Network) frames, with a pseudo-header as supplied
785 * by Linux SocketCAN, and with multi-byte numerical fields in that header
786 * in big-endian byte order.
809 * Raw D-Bus:
815 * https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-messages
820 * https://dbus.freedesktop.org/doc/dbus-specification.html#auth-protocol
827 * Juniper-private data link type, as per request from
835 * DVB-CI (DVB Common Interface for communication between a PC Card
838 * https://www.kaiser.cx/pcap-dvbci.html
848 * by Hans-Christoph Schemmel <hans-christoph.schemmel@cinterion.com>.
859 * Juniper-private data link type, as per request from
868 * Requested by Jakub Zawadzki <darkjames-ws@darkjames.pl>
873 * Hilscher Gesellschaft fuer Systemautomation mbH link-layer type
874 * for Ethernet packets with a 4-byte pseudo-header and always
883 * Hilscher Gesellschaft fuer Systemautomation mbH link-layer type
884 * for Ethernet packets with a 4-byte pseudo-header and FCS and
893 * IP-over-InfiniBand, as specified by RFC 4391.
900 * MPEG-2 transport stream (ISO 13818-1/ITU-T H.222.0).
907 * ng4T GmbH's UMTS Iub/Iur-over-ATM and Iub/Iur-over-IP format as
915 * Pseudo-header giving adapter number and flags, followed by an NFC
916 * (Near-Field Communications) Logical Link Control Protocol (LLCP) PDU,
928 * shiny new link-layer header type value that doesn't collide with
942 * SCTP, with no lower-level protocols (i.e., no IPv4 or IPv6).
956 * Schweitzer Engineering Laboratories "RTAC" product serial-line
964 * Bluetooth Low Energy air interface link-layer packets.
971 * Link-layer header type for upper-protocol layer PDU saves from wireshark.
986 * Link-layer header type for the netlink protocol (nlmon devices).
1016 * didn't know that the right way to get a link-layer header type is to
1034 * of the preamble specified by 802.3-2012 Clause 65, section
1040 * IPMI trace packets, as specified by Table 3-20 "Trace Data Block Format"
1097 * https://lists.sandelman.ca/pipermail/tcpdump-workers/2017-May/000772.html
1099 * for: https://qemu-project.org/Features/VirtioVsock
1109 * Excentis DOCSIS 3.1 RF sniffer (XRA-31)
1111 * https://www.xra31.com/xra-header
1116 * mPackets, as specified by IEEE 802.3br Figure 99-4, starting
1123 * DisplayPort(DP) Standard preceded by a pseudo-header.
1134 * Sercos Monitor, per Manuel Jacob <manuel.jacob at steinbeis-stg.de>
1144 * https://github.com/matwey/libopenvizsla/wiki/OpenVizsla-protocol-description
1164 …* https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vnet.html#graph-dispatcher-p…
1175 * IEEE 802.15.4 with pseudo-header and optional meta-data TLVs, PHY payload
1178 * Specification at https://github.com/jkcko/ieee802.15.4-tap
1190 * https://socket.hr/draft-dfranusic-opsawg-elee-00.xml
1191 …* https://xml2rfc.tools.ietf.org/cgi-bin/xml2rfc.cgi?url=https://socket.hr/draft-dfranusic-opsawg-
1196 * Serial frames transmitted between a host and a Z-Wave chip.
1206 * ATSC Link-Layer Protocol (A/330) packets.
1223 * Used to generate link-layer types written to savefiles.
1230 * assigning DLT_* codes became a free-for-all, so they're the in dlt_to_linktype()
1241 * non-matching range, a code on FreeBSD that's in the high in dlt_to_linktype()
1253 * DLT_PKTAP is defined as DLT_USER2 - which is in the high in dlt_to_linktype()
1254 * matching range - on Darwin because Apple used DLT_USER2 in dlt_to_linktype()
1317 * as a link-layer type, we will recognize those types in dlt_to_linktype()
1371 return (-1); in dlt_to_linktype()
1376 * Used to translate link-layer types in savefiles to the
1384 * assigning DLT_* codes became a free-for-all, so they're the in linktype_to_dlt()
1395 * non-matching range, a code on FreeBSD that's in the high in linktype_to_dlt()
1408 * DLT_PKTAP is defined as DLT_USER2 - which is in the high in linktype_to_dlt()
1409 * matching range - on Darwin because Apple used DLT_USER2 in linktype_to_dlt()
1418 * on a Darwin-based OS, as, on that OS, DLT_PKTAP and DLT_USER2 in linktype_to_dlt()
1469 * as a link-layer type, we will recognize those types in linktype_to_dlt()
1532 * written by code that doesn't map non-matching range in linktype_to_dlt()
1546 * For most link-layer types, we use MAXIMUM_SNAPLEN.
1550 * https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-messages