Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-llc.h
1/* packet-llc.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <[email protected]>
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
15extern const value_string sap_vals[];
16
17void 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 */
23WS_DLL_PUBLIC
24void llc_add_oui(uint32_t, 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 */
32typedef struct {
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 */
41oui_info_t *get_snap_oui_info(uint32_t);
42
43#endif
Definition packet_info.h:43
Definition proto.h:903
Definition value_string.h:25
Definition packet.c:86
Definition proto.h:813
Definition proto.h:800
Definition packet-ieee802a.c:35
Definition tvbuff-int.h:35