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
13 #include <epan/packet.h>
14 #include "packet-llc.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" },
29 * NOTE: there's no dissector here, just registration routines to set
30 * up the dissector table for the Nortel OUI.
33 proto_register_nortel_oui(void)
35 static hf_register_info hf
[] = {
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
54 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
55 * :indentSize=8:tabSize=8:noTabs=false: