![Dario Lombardo](/assets/img/avatar_default.png)
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a Reviewed-on: https://code.wireshark.org/review/25756 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
44 lines
945 B
C
44 lines
945 B
C
/* packet-llc.h
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef __PACKET_LLC_H__
|
|
#define __PACKET_LLC_H__
|
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
extern const value_string sap_vals[];
|
|
|
|
void dissect_snap(tvbuff_t *, int, packet_info *, proto_tree *,
|
|
proto_tree *, int, int, int, int, int);
|
|
|
|
/*
|
|
* Add an entry for a new OUI.
|
|
*/
|
|
WS_DLL_PUBLIC
|
|
void llc_add_oui(guint32, const char *, const char *, hf_register_info *, const int);
|
|
|
|
/*
|
|
* SNAP information about the PID for a particular OUI:
|
|
*
|
|
* the dissector table to use with the PID's value;
|
|
* the field to use for the PID.
|
|
*/
|
|
typedef struct {
|
|
dissector_table_t table;
|
|
hf_register_info *field_info;
|
|
} oui_info_t;
|
|
|
|
/*
|
|
* Return the oui_info_t for the PID for a particular OUI value, or NULL
|
|
* if there isn't one.
|
|
*/
|
|
oui_info_t *get_snap_oui_info(guint32);
|
|
|
|
#endif
|