Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-iana-oui.c
blob40072e9999d31682b58041d3eef09d7ffa8e8228
1 /* packet-iana-oui.c
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
9 */
11 #include "config.h"
13 #include <epan/packet.h>
14 #include "packet-llc.h"
15 #include "packet-iana-oui.h"
16 #include <epan/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" },
32 { 0, NULL }
36 * NOTE: there's no dissector here, just registration routines to set
37 * up the dissector table for the IANA OUI.
39 void
40 proto_register_iana_oui(void)
42 static hf_register_info hf[] = {
43 { &hf_llc_iana_pid,
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
55 * Local variables:
56 * c-basic-offset: 8
57 * tab-width: 8
58 * indent-tabs-mode: t
59 * End:
61 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
62 * :indentSize=8:tabSize=8:noTabs=false: