Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-llb.c
blob99324c4c2ef44926e30e9635160dc4dc9da7945c
1 /* packet-dcerpc-llb.c
3 * Routines for llb dissection
4 * Copyright 2004, Jaime Fournier <jaime.fournier@hush.com>
5 * This information is based off the released idl files from opengroup.
6 * ftp://ftp.opengroup.org/pub/dce122/dce/src/admin.tar.gz ./admin/dced/idl/llb.idl
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * SPDX-License-Identifier: GPL-2.0-or-later
15 #include "config.h"
18 #include <epan/packet.h>
19 #include "packet-dcerpc.h"
21 void proto_register_llb (void);
22 void proto_reg_handoff_llb (void);
24 static int proto_llb;
25 static int hf_llb_opnum;
27 static int ett_llb;
30 static e_guid_t uuid_llb =
31 { 0x333b33c3, 0x0000, 0x0000, {0x0d, 0x00, 0x00, 0x87, 0x84, 0x00, 0x00,
32 0x00} };
33 static uint16_t ver_llb = 4;
36 static const dcerpc_sub_dissector llb_dissectors[] = {
37 {0, "insert", NULL, NULL},
38 {1, "delete", NULL, NULL},
39 {2, "lookup", NULL, NULL},
40 {0, NULL, NULL, NULL}
43 void
44 proto_register_llb (void)
46 static hf_register_info hf[] = {
47 {&hf_llb_opnum,
48 {"Operation", "llb.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL,
49 HFILL}},
52 static int *ett[] = {
53 &ett_llb,
55 proto_llb =
56 proto_register_protocol ("DCE/RPC NCS 1.5.1 Local Location Broker", "llb",
57 "llb");
58 proto_register_field_array (proto_llb, hf, array_length (hf));
59 proto_register_subtree_array (ett, array_length (ett));
62 void
63 proto_reg_handoff_llb (void)
65 /* Register the protocol as dcerpc */
66 dcerpc_init_uuid (proto_llb, ett_llb, &uuid_llb, ver_llb, llb_dissectors,
67 hf_llb_opnum);
71 * Editor modelines - https://www.wireshark.org/tools/modelines.html
73 * Local Variables:
74 * c-basic-offset: 2
75 * tab-width: 8
76 * indent-tabs-mode: nil
77 * End:
79 * ex: set shiftwidth=2 tabstop=8 expandtab:
80 * :indentSize=2:tabSize=8:noTabs=true: