Wireshark  4.3.0
The Wireshark network protocol analyzer
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;
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
struct field_info field_info
Definition: packet_info.h:44
Definition: proto.h:904
Definition: value_string.h:26
Definition: packet.c:86
Definition: proto.h:805
Definition: packet-ieee802a.c:35
Definition: tvbuff-int.h:35