|
1 | | -/* $NetBSD: dlt.h,v 1.25 2024/09/02 15:34:08 christos Exp $ */ |
| 1 | +/* $NetBSD: dlt.h,v 1.26 2026/03/18 21:50:46 christos Exp $ */ |
2 | 2 |
|
3 | 3 | /*- |
4 | 4 | * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 |
|
78 | 78 | #define DLT_PPP 9 /* Point-to-point Protocol */ |
79 | 79 | #define DLT_FDDI 10 /* FDDI */ |
80 | 80 |
|
81 | | - /* |
| 81 | +/* |
82 | 82 | * In case the code that includes this file (directly or indirectly) |
83 | 83 | * has also included OS files that happen to define DLT_LOW_MATCHING_MAX, |
84 | 84 | * with a different value (perhaps because that OS hasn't picked up |
|
392 | 392 | * 121 was reserved for Siemens HiPath HDLC on 2002-01-25, as |
393 | 393 | * requested by Tomas Kukosa. |
394 | 394 | * |
395 | | - * On 2004-02-25, a FreeBSD checkin to sys/net/bpf.h was made that |
| 395 | + * On 2004-02-25, a FreeBSD check in to sys/net/bpf.h was made that |
396 | 396 | * assigned 121 as DLT_PFSYNC. In current versions, its libpcap |
397 | 397 | * does DLT_ <-> LINKTYPE_ mapping, mapping DLT_PFSYNC to a |
398 | 398 | * LINKTYPE_PFSYNC value of 246, so it should write out DLT_PFSYNC |
|
1572 | 1572 |
|
1573 | 1573 | /* |
1574 | 1574 | * USB 2.0, 1.1, and 1.0 packets as transmitted over the cable. |
| 1575 | + * Deprecated in favor of speed specific DLTs: DLT_USB_2_0_LOW_SPEED, |
| 1576 | + * DLT_USB_2_0_FULL_SPEED and DLT_USB_2_0_HIGH_SPEED. |
1575 | 1577 | */ |
1576 | 1578 | #define DLT_USB_2_0 288 |
1577 | 1579 |
|
|
1580 | 1582 | */ |
1581 | 1583 | #define DLT_ATSC_ALP 289 |
1582 | 1584 |
|
| 1585 | +/* |
| 1586 | + * Event Tracing for Windows messages. |
| 1587 | + */ |
| 1588 | +#define DLT_ETW 290 |
| 1589 | + |
| 1590 | +/* |
| 1591 | + * Hilscher Gesellschaft fuer Systemautomation mbH |
| 1592 | + * netANALYZER NG hardware and software. |
| 1593 | + * |
| 1594 | + * The specification for this footer can be found at: |
| 1595 | + * https://kb.hilscher.com/x/brDJBw |
| 1596 | + * |
| 1597 | + * Requested by Jan Adam <jadam@hilscher.com> |
| 1598 | + */ |
| 1599 | +#define DLT_NETANALYZER_NG 291 |
| 1600 | + |
| 1601 | +/* |
| 1602 | + * Serial NCP (Network Co-Processor) protocol for Zigbee stack ZBOSS |
| 1603 | + * by DSR, https://dsr-iot.com/downloads |
| 1604 | + */ |
| 1605 | +#define DLT_ZBOSS_NCP 292 |
| 1606 | + |
| 1607 | +/* |
| 1608 | + * USB 2.0, 1.1, and 1.0 packets as transmitted over the cable. |
| 1609 | + */ |
| 1610 | +#define DLT_USB_2_0_LOW_SPEED 293 |
| 1611 | +#define DLT_USB_2_0_FULL_SPEED 294 |
| 1612 | +#define DLT_USB_2_0_HIGH_SPEED 295 |
| 1613 | + |
| 1614 | +/* |
| 1615 | + * Auerswald Logger Protocol |
| 1616 | + * description is provided on |
| 1617 | + * https://github.com/Auerswald-GmbH/auerlog/blob/master/auerlog.txt |
| 1618 | + */ |
| 1619 | +#define DLT_AUERSWALD_LOG 296 |
| 1620 | + |
| 1621 | +/* |
| 1622 | + * Z-Wave packets with a TAP meta-data header |
| 1623 | + * https://gitlab.com/exegin/zwave-g9959-tap |
| 1624 | + * requested on tcpdump-workers@ |
| 1625 | + */ |
| 1626 | +#define DLT_ZWAVE_TAP 297 |
| 1627 | + |
| 1628 | +/* |
| 1629 | + * Silicon Labs debug channel protocol: |
| 1630 | + */ |
| 1631 | +#define DLT_SILABS_DEBUG_CHANNEL 298 |
| 1632 | + |
| 1633 | +/* |
| 1634 | + * Ultra-wideband (UWB) controller interface protocol (UCI). |
| 1635 | + * requested by Henri Chataing <henrichataing@google.com> |
| 1636 | + */ |
| 1637 | +#define DLT_FIRA_UCI 299 |
| 1638 | + |
| 1639 | +/* |
| 1640 | + * MDB (Multi-Drop Bus) protocol between a vending machine controller and |
| 1641 | + * peripherals inside the vending machine. See |
| 1642 | + * |
| 1643 | + * https://www.kaiser.cx/pcap-mdb.html |
| 1644 | + * |
| 1645 | + * for the specification. |
| 1646 | + * |
| 1647 | + * Requested by Martin Kaiser <martin@kaiser.cx>. |
| 1648 | + */ |
| 1649 | +#define DLT_MDB 300 |
| 1650 | + |
| 1651 | +/* |
| 1652 | + * DECT-2020 New Radio (NR) - ETSI TS 103 636. |
| 1653 | + * Requested by Stig Bjorlykke <stig@bjorlykke.org>. |
| 1654 | + */ |
| 1655 | +#define DLT_DECT_NR 301 |
| 1656 | + |
| 1657 | +/* |
| 1658 | + * Request serialization protocol used by edk2 firmware to communicate between |
| 1659 | + * normal mode and management mode ('MM' for short). |
| 1660 | + * |
| 1661 | + * The qemu uefi variable store implementation reuses the request serialization |
| 1662 | + * protocol for firmware <-> qemu communication. |
| 1663 | + */ |
| 1664 | +#define DLT_EDK2_MM 302 |
| 1665 | + |
| 1666 | +/* |
| 1667 | + * Unstructured data for manual debugging only. In other words, this DLT is |
| 1668 | + * suitable for expert interpretation of hex dumps, and that's it. Do not use |
| 1669 | + * this DLT for any other purpose. For any automated (identification, saving, |
| 1670 | + * loading, filtering, decoding) processing please either use another existing |
| 1671 | + * DLT that fits the use case or document, assign and implement a new, properly |
| 1672 | + * structured DLT. |
| 1673 | + * |
| 1674 | + * In this DLT do not assume any specification, any structure, any format, any |
| 1675 | + * version, any header, any payload, any byte order, any implementation, any |
| 1676 | + * software/firmware/hardware particulars, any source, any destination, any |
| 1677 | + * direction, any protocol or any data integrity/consistency whatsoever. |
| 1678 | + */ |
| 1679 | +#define DLT_DEBUG_ONLY 303 |
| 1680 | + |
1583 | 1681 | /* |
1584 | 1682 | * In case the code that includes this file (directly or indirectly) |
1585 | 1683 | * has also included OS files that happen to define DLT_HIGH_MATCHING_MAX, |
|
1590 | 1688 | #ifdef DLT_HIGH_MATCHING_MAX |
1591 | 1689 | #undef DLT_HIGH_MATCHING_MAX |
1592 | 1690 | #endif |
1593 | | -#define DLT_HIGH_MATCHING_MAX 289 /* highest value in the "matching" range */ |
| 1691 | +#define DLT_HIGH_MATCHING_MAX 303 /* highest value in the "matching" range */ |
1594 | 1692 |
|
1595 | 1693 | /* |
1596 | 1694 | * DLT and savefile link type values are split into a class and |
|
0 commit comments