5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 2001 Gerald Combs
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #ifndef __PACKET_SLL_H__
25 #define __PACKET_SLL_H__
28 * The LINUX_SLL_ values for "sll_protocol".
30 #define LINUX_SLL_P_802_3 0x0001 /* Novell 802.3 frames without 802.2 LLC header */
31 #define LINUX_SLL_P_ETHERNET 0x0003 /* Ethernet */
32 #define LINUX_SLL_P_802_2 0x0004 /* 802.2 frames (not D/I/X Ethernet) */
33 #define LINUX_SLL_P_PPPHDLC 0x0007 /* PPP HDLC frames */
34 #define LINUX_SLL_P_CAN 0x000C /* Controller Area Network */
35 #define LINUX_SLL_P_IRDA_LAP 0x0017 /* IrDA Link Access Protocol */
36 #define LINUX_SLL_P_IEEE802154 0x00f6 /* 802.15.4 on monitor inteface */
38 void capture_sll(const guchar *, int, packet_counts *);