|
1664 | 1664 | */ |
1665 | 1665 | #define DLT_DECT_NR 301 |
1666 | 1666 |
|
| 1667 | +/* |
| 1668 | + * Linux DSA unknown tag type, for manual debugging only. In other words, this |
| 1669 | + * DLT is suitable for expert interpretation of hex dumps, and that's it. For |
| 1670 | + * any automated (identification, saving, loading, filtering, decoding) purpose |
| 1671 | + * please document, assign and implement a different, proper DLT that is |
| 1672 | + * specific to the required DSA tag type. |
| 1673 | + * |
| 1674 | + * In this DLT packets supposedly are Linux DSA packets, which should not be |
| 1675 | + * confused with standard IEEE 802.3 Ethernet frames. The DSA tag type is |
| 1676 | + * unknown and can be different from one packet to another or malformed or |
| 1677 | + * incorrect or invalid or nonexistent in the first place. Hence in this DLT |
| 1678 | + * do not assume any version, any header, any payload, any specification, any |
| 1679 | + * byte order, any structure, any format, any software/firmware/hardware |
| 1680 | + * particulars, any implementation, any source, any destination, any direction, |
| 1681 | + * any protocol or any data integrity. |
| 1682 | + */ |
| 1683 | +#define DLT_LINUX_DSA_UNKNOWN 302 |
| 1684 | + |
1667 | 1685 | /* |
1668 | 1686 | * In case the code that includes this file (directly or indirectly) |
1669 | 1687 | * has also included OS files that happen to define DLT_HIGH_MATCHING_MAX, |
|
1675 | 1693 | #undef DLT_HIGH_MATCHING_MAX |
1676 | 1694 | #endif |
1677 | 1695 |
|
1678 | | -#define DLT_HIGH_MATCHING_MAX 301 /* highest value in the "matching" range */ |
| 1696 | +#define DLT_HIGH_MATCHING_MAX 302 /* highest value in the "matching" range */ |
1679 | 1697 |
|
1680 | 1698 | #endif /* !defined(lib_pcap_dlt_h) */ |
0 commit comments