2 * Register an LLC dissector table for the IANA's OUI 00:00:5e
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
13 #include <epan/packet.h>
14 #include "packet-llc.h"
15 #include "packet-iana-oui.h"
18 void proto_register_iana_oui(void);
20 static int hf_llc_iana_pid
;
22 static const value_string iana_pid_vals
[] = {
23 { IANA_PID_MARS_DATA_SHORT
, "MARS Data Messages (short form)" },
24 { IANA_PID_NHRP_RESERVED
, "Reserved for future NHRP use" },
25 { IANA_PID_MARS_NHRP_CONTROL
, "MARS/NHRP Control Messages" },
26 { IANA_PID_MARS_DATA_LONG
, "MARS Data Messages (long form)" },
27 { IANA_PID_SCSP
, "SCSP" },
28 { IANA_PID_VRID
, "VRID" },
29 { IANA_PID_L2TP
, "L2TP" },
30 { IANA_PID_VPN_ID
, "VPN ID" },
31 { IANA_PID_MSDP_GRE_PROTO_TYPE
, "MSDP-GRE-Protocol Type" },
36 * NOTE: there's no dissector here, just registration routines to set
37 * up the dissector table for the IANA OUI.
40 proto_register_iana_oui(void)
42 static hf_register_info hf
[] = {
44 { "PID", "llc.iana_pid", FT_UINT16
, BASE_HEX
,
45 VALS(iana_pid_vals
), 0x0, NULL
, HFILL
}
49 llc_add_oui(OUI_IANA
, "llc.iana_pid", "LLC IANA OUI PID", hf
, -1);
53 * Editor modelines - https://www.wireshark.org/tools/modelines.html
61 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
62 * :indentSize=8:tabSize=8:noTabs=false: