Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-rep_proc.c
blob9030139a167c16d053ad690f7cf093c6042aded2
1 /* packet-dcerpc-rep_proc.c
3 * Routines for dcerpc Replica Server Call dissection
4 * Copyright 2002, 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/file.tgz file/fsint/rep_proc.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_rep_proc (void);
22 void proto_reg_handoff_rep_proc (void);
24 static int proto_rep_proc;
25 static int hf_rep_proc_opnum;
28 static int ett_rep_proc;
31 static e_guid_t uuid_rep_proc = { 0x4d37f2dd, 0xed43, 0x0005, { 0x02, 0xc0, 0x37, 0xcf, 0x1e, 0x00, 0x00, 0x00 } };
32 static uint16_t ver_rep_proc = 4;
35 static const dcerpc_sub_dissector rep_proc_dissectors[] = {
36 { 0, "CheckReplicationConfig", NULL, NULL },
37 { 1, "AllCheckReplicationConfig", NULL, NULL },
38 { 2, "KeepFilesAlive", NULL , NULL},
39 { 3, "GetVolChangedFiles", NULL, NULL },
40 { 4, "GetRepStatus", NULL, NULL},
41 { 5, "GetRepServerStatus", NULL, NULL},
42 { 6, "UpdateSelf", NULL, NULL},
43 { 7, "Probe", NULL, NULL},
44 { 8, "GetOneRepStatus", NULL, NULL },
45 { 9, "GetServerInterfaces", NULL, NULL},
46 { 0, NULL, NULL, NULL }
50 void
51 proto_register_rep_proc (void)
53 static hf_register_info hf[] = {
54 { &hf_rep_proc_opnum,
55 { "Operation", "rep_proc.opnum", FT_UINT16, BASE_DEC,
56 NULL, 0x0, NULL, HFILL }}
59 static int *ett[] = {
60 &ett_rep_proc,
62 proto_rep_proc = proto_register_protocol ("DCE DFS Replication Server", "REP_PROC", "rep_proc");
63 proto_register_field_array (proto_rep_proc, hf, array_length (hf));
64 proto_register_subtree_array (ett, array_length (ett));
67 void
68 proto_reg_handoff_rep_proc (void)
70 /* Register the protocol as dcerpc */
71 dcerpc_init_uuid (proto_rep_proc, ett_rep_proc, &uuid_rep_proc, ver_rep_proc, rep_proc_dissectors, hf_rep_proc_opnum);
75 * Editor modelines - https://www.wireshark.org/tools/modelines.html
77 * Local variables:
78 * c-basic-offset: 8
79 * tab-width: 8
80 * indent-tabs-mode: t
81 * End:
83 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
84 * :indentSize=8:tabSize=8:noTabs=false: