Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-nt-oui.c
blob8397c93d9baeef60e3a2ca238cb546e8e2a16996
1 /* packet-nt-oui.c
2 * Register an LLC dissector table for Nortel's OUI 00:00:0c
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 <epan/oui.h>
17 void proto_register_nortel_oui(void);
19 static int hf_llc_nortel_pid;
21 static const value_string nortel_pid_vals[] = {
22 { 0x01a1, "NDP flatnet hello" },
23 { 0x01a2, "NDP segment hello" },
24 { 0x01a3, "NDP bridge hello" },
25 { 0, NULL }
29 * NOTE: there's no dissector here, just registration routines to set
30 * up the dissector table for the Nortel OUI.
32 void
33 proto_register_nortel_oui(void)
35 static hf_register_info hf[] = {
36 { &hf_llc_nortel_pid,
37 { "PID", "llc.nortel_pid", FT_UINT16, BASE_HEX,
38 VALS(nortel_pid_vals), 0x0, NULL, HFILL }
42 llc_add_oui(OUI_NORTEL, "llc.nortel_pid", "LLC Nortel OUI PID", hf, -1);
46 * Editor modelines - https://www.wireshark.org/tools/modelines.html
48 * Local variables:
49 * c-basic-offset: 8
50 * tab-width: 8
51 * indent-tabs-mode: t
52 * End:
54 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
55 * :indentSize=8:tabSize=8:noTabs=false: