Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-sll.h
1 /* packet-sll.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 2001 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef __PACKET_SLL_H__
11 #define __PACKET_SLL_H__
12
13 #include "ws_symbol_export.h"
14
15 /*
16 * The LINUX_SLL_ values for "sll_protocol".
17 * https://github.com/torvalds/linux/blob/master/include/uapi/linux/if_ether.h ?
18 */
19 #define LINUX_SLL_P_802_3 0x0001 /* Novell 802.3 frames without 802.2 LLC header */
20 #define LINUX_SLL_P_ETHERNET 0x0003 /* Ethernet */
21 #define LINUX_SLL_P_802_2 0x0004 /* 802.2 frames (not D/I/X Ethernet) */
22 #define LINUX_SLL_P_PPPHDLC 0x0007 /* PPP HDLC frames */
23 #define LINUX_SLL_P_CAN 0x000C /* Controller Area Network */
24 #define LINUX_SLL_P_CANFD 0x000D /* Controller Area Network flexible data rate */
25 #define LINUX_SLL_P_IRDA_LAP 0x0017 /* IrDA Link Access Protocol */
26 #define LINUX_SLL_P_ISI 0x00F5 /* Intelligent Service Interface */
27 #define LINUX_SLL_P_IEEE802154 0x00f6 /* 802.15.4 on monitor inteface */
28 #define LINUX_SLL_P_NETLINK 0x0338 /* Netlink */
29
30 #endif