Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

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

- File List
- File Members

packet-llc.h
1 /* packet-llc.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef __PACKET_LLC_H__
11 #define __PACKET_LLC_H__
12
13 #include "ws_symbol_export.h"
14
15 extern const value_string sap_vals[];
16
17 void dissect_snap(tvbuff_t *, int, packet_info *, proto_tree *,
18 proto_tree *, int, int, int, int, int);
19
20 /*
21 * Add an entry for a new OUI.
22 */
23 WS_DLL_PUBLIC
24 void llc_add_oui(guint32, const char *, const char *, hf_register_info *, const int);
25
26 /*
27 * SNAP information about the PID for a particular OUI:
28 *
29 * the dissector table to use with the PID's value;
30 * the field to use for the PID.
31 */
32 typedef struct {
33 dissector_table_t table;
34 hf_register_info *field_info;
35 } oui_info_t;
36
37 /*
38 * Return the oui_info_t for the PID for a particular OUI value, or NULL
39 * if there isn't one.
40 */
41 oui_info_t *get_snap_oui_info(guint32);
42
43 #endif
_packet_info
Definition: packet_info.h:44
hf_register_info
Definition: proto.h:658
tvbuff
Definition: tvbuff-int.h:35
oui_info_t
Definition: packet-ieee802a.c:33
dissector_table
Definition: packet.c:83
_value_string
Definition: value_string.h:24
_proto_node
Definition: proto.h:759
field_info
struct field_info field_info