Fix gcc "warning: no previous prototype ... [-Wmissing-prototypes]"; Do some whitespace changes

Change-Id: I8c2e8694223270f1810aa6b13d955f0d08001d30
Reviewed-on: https://code.wireshark.org/review/1239
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Tested-by: Bill Meier <wmeier@newsguy.com>
This commit is contained in:
Bill Meier 2014-04-21 12:34:14 -04:00
parent 48c77d8710
commit 7a1848b95d
57 changed files with 564 additions and 422 deletions

View File

@ -85,7 +85,7 @@ static dcerpc_sub_dissector bossvr_dissectors[] = {
};
void
proto_register_bossvr (void)
proto_register_dcerpc_bossvr (void)
{
static hf_register_info hf[] = {
{ &hf_bossvr_opnum,
@ -102,7 +102,7 @@ proto_register_bossvr (void)
}
void
proto_reg_handoff_bossvr (void)
proto_reg_handoff_dcerpc_bossvr (void)
{
/* Register the protocol as dcerpc */
dcerpc_init_uuid (proto_bossvr, ett_bossvr, &uuid_bossvr, ver_bossvr, bossvr_dissectors, hf_bossvr_opnum);

View File

@ -37,6 +37,9 @@
#include "packet-dcerpc-nt.h"
#include "packet-windows-common.h"
void proto_register_dcerpc_browser(void);
void proto_reg_handoff_dcerpc_browser(void);
static int proto_dcerpc_browser = -1;
static int hf_browser_opnum = -1;
static int hf_browser_rc = -1;

View File

@ -32,6 +32,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_cds_clerkserver (void);
void proto_reg_handoff_cds_clerkserver (void);
static int proto_cds_clerkserver = -1;
static int hf_cds_clerkserver_opnum = -1;
@ -46,33 +48,33 @@ static guint16 ver_cds_clerkserver = 1;
static dcerpc_sub_dissector cds_clerkserver_dissectors[] = {
{ 0, "AddReplica", NULL, NULL},
{ 1, "AllowClearinghouses", NULL, NULL},
{ 2, "Combine", NULL, NULL},
{ 3, "CreateChild", NULL, NULL},
{ 4, "CreateDirectory", NULL, NULL},
{ 5, "CreateSoftLink", NULL, NULL},
{ 6, "CreateObject", NULL, NULL},
{ 7, "DeleteChild", NULL, NULL},
{ 8, "DeleteObject", NULL, NULL},
{ 9, "DeleteSoftLink", NULL, NULL},
{ 10, "DeleteDirectory", NULL, NULL},
{ 0, "AddReplica", NULL, NULL},
{ 1, "AllowClearinghouses", NULL, NULL},
{ 2, "Combine", NULL, NULL},
{ 3, "CreateChild", NULL, NULL},
{ 4, "CreateDirectory", NULL, NULL},
{ 5, "CreateSoftLink", NULL, NULL},
{ 6, "CreateObject", NULL, NULL},
{ 7, "DeleteChild", NULL, NULL},
{ 8, "DeleteObject", NULL, NULL},
{ 9, "DeleteSoftLink", NULL, NULL},
{ 10, "DeleteDirectory", NULL, NULL},
{ 11, "DisallowClearinghouses", NULL, NULL},
{ 12, "DoUpdate", NULL, NULL},
{ 13, "EnumerateAttributes", NULL, NULL},
{ 14, "EnumerateChildren", NULL, NULL},
{ 15, "EnumerateObjects", NULL, NULL},
{ 16, "EnumerateSoftLinks", NULL, NULL},
{ 17, "LinkReplica", NULL, NULL},
{ 18, "ModifyAttribute", NULL, NULL},
{ 19, "ModifyReplica", NULL, NULL},
{ 20, "NewEpoch", NULL, NULL},
{ 21, "ReadAttribute", NULL, NULL},
{ 22, "RemoveReplica", NULL, NULL},
{ 23, "ResolveName", NULL, NULL},
{ 24, "Skulk", NULL, NULL},
{ 25, "TestAttribute", NULL, NULL},
{ 26, "TestGroup", NULL, NULL},
{ 12, "DoUpdate", NULL, NULL},
{ 13, "EnumerateAttributes", NULL, NULL},
{ 14, "EnumerateChildren", NULL, NULL},
{ 15, "EnumerateObjects", NULL, NULL},
{ 16, "EnumerateSoftLinks", NULL, NULL},
{ 17, "LinkReplica", NULL, NULL},
{ 18, "ModifyAttribute", NULL, NULL},
{ 19, "ModifyReplica", NULL, NULL},
{ 20, "NewEpoch", NULL, NULL},
{ 21, "ReadAttribute", NULL, NULL},
{ 22, "RemoveReplica", NULL, NULL},
{ 23, "ResolveName", NULL, NULL},
{ 24, "Skulk", NULL, NULL},
{ 25, "TestAttribute", NULL, NULL},
{ 26, "TestGroup", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -30,6 +30,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_cds_solicit (void);
void proto_reg_handoff_cds_solicit (void);
static int proto_cds_solicit = -1;
static int hf_cds_solicit_opnum = -1;
@ -43,8 +45,8 @@ static guint16 ver_cds_solicit = 1;
static dcerpc_sub_dissector cds_solicit_dissectors[] = {
{ 0, "cds_Solicit", NULL, NULL},
{ 1, "cds_Advertise", NULL, NULL},
{ 0, "cds_Solicit", NULL, NULL},
{ 1, "cds_Advertise", NULL, NULL},
{ 2, "cds_SolicitServer", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -29,6 +29,8 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-dce122.h"
void proto_register_conv (void);
void proto_reg_handoff_conv (void);
static int proto_conv = -1;
static int hf_conv_opnum = -1;

View File

@ -30,6 +30,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_cprpc_server (void);
void proto_reg_handoff_cprpc_server (void);
static int proto_cprpc_server = -1;
static int hf_cprpc_server_opnum = -1;

View File

@ -31,6 +31,9 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-dce122.h"
void proto_register_dtsprovider (void);
void proto_reg_handoff_dtsprovider (void);
static int proto_dtsprovider = -1;
static int hf_dtsprovider_opnum = -1;
/* static int hf_dtsprovider_status = -1; */

View File

@ -30,6 +30,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_dtsstime_req (void);
void proto_reg_handoff_dtsstime_req (void);
static int proto_dtsstime_req = -1;
static int hf_dtsstime_req_opnum = -1;
@ -43,7 +45,7 @@ static guint16 ver_dtsstime_req = 1;
static dcerpc_sub_dissector dtsstime_req_dissectors[] = {
{ 0, "ClerkRequestTime", NULL, NULL},
{ 0, "ClerkRequestTime", NULL, NULL},
{ 1, "ServerRequestTime", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -30,6 +30,8 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-nt.h"
void proto_register_epm (void);
void proto_reg_handoff_epm (void);
static int proto_epm3 = -1;
static int proto_epm4 = -1;

View File

@ -34,6 +34,9 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-dce122.h"
void proto_register_fileexp (void);
void proto_reg_handoff_fileexp (void);
#define AFS_SETMODTIME 1
#define AFS_SETOWNER 2
#define AFS_SETGROUP 4

View File

@ -32,6 +32,8 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-dce122.h"
void proto_register_fldb (void);
void proto_reg_handoff_fldb (void);
static int proto_fldb = -1;
static int hf_fldb_opnum = -1;

View File

@ -29,6 +29,9 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-frsapi.h"
void proto_register_dcerpc_frsapi(void);
void proto_reg_handoff_dcerpc_frsapi(void);
static int proto_dcerpc_frsapi = -1;
static int hf_frsapi_opnum = -1;
@ -51,16 +54,16 @@ static guint16 ver_dcerpc_frsapi = 1;
static dcerpc_sub_dissector dcerpc_frsapi_dissectors[] = {
{ FRSAPI_VERIFY_PROMOTION, "VerifyPromotion", NULL, NULL },
{ FRSAPI_PROMOTION_STATUS, "PromotionStatus", NULL, NULL },
{ FRSAPI_START_DEMOTION, "StartDemotion", NULL, NULL },
{ FRSAPI_COMMIT_DEMOTION, "CommitDemotion", NULL, NULL },
{ FRSAPI_VERIFY_PROMOTION, "VerifyPromotion", NULL, NULL },
{ FRSAPI_PROMOTION_STATUS, "PromotionStatus", NULL, NULL },
{ FRSAPI_START_DEMOTION, "StartDemotion", NULL, NULL },
{ FRSAPI_COMMIT_DEMOTION, "CommitDemotion", NULL, NULL },
{ FRSAPI_SET_DS_POLLING_INTERVAL_W, "Set_DsPollingIntervalW", NULL, NULL },
{ FRSAPI_GET_DS_POLLING_INTERVAL_W, "Get_DsPollingIntervalW", NULL, NULL },
{ FRSAPI_VERIFY_PROMOTION_W, "VerifyPromotionW", NULL, NULL },
{ FRSAPI_INFO_W, "InfoW", NULL, NULL },
{ FRSAPI_IS_PATH_REPLICATED, "IsPathReplicated", NULL, NULL },
{ FRSAPI_WRITER_COMMAND, "WriterCommand", NULL, NULL },
{ FRSAPI_VERIFY_PROMOTION_W, "VerifyPromotionW", NULL, NULL },
{ FRSAPI_INFO_W, "InfoW", NULL, NULL },
{ FRSAPI_IS_PATH_REPLICATED, "IsPathReplicated", NULL, NULL },
{ FRSAPI_WRITER_COMMAND, "WriterCommand", NULL, NULL },
{ 0, NULL, NULL, NULL }
};

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_ftserver (void);
void proto_reg_handoff_ftserver (void);
static int proto_ftserver = -1;
static int hf_ftserver_opnum = -1;
@ -45,27 +47,27 @@ static guint16 ver_ftserver = 4;
static dcerpc_sub_dissector ftserver_dissectors[] = {
{ 0, "CreateTrans", NULL, NULL },
{ 1, "AbortTrans", NULL, NULL },
{ 2, "DeleteTrans", NULL, NULL },
{ 3, "CreateVolume", NULL, NULL },
{ 4, "DeleteVolume", NULL, NULL },
{ 5, "Dump", NULL, NULL },
{ 6, "Restore", NULL, NULL },
{ 7, "Forward", NULL, NULL },
{ 8, "Clone", NULL, NULL },
{ 9, "ReClone", NULL, NULL },
{ 10, "GetFlags", NULL, NULL },
{ 11, "SetFlags", NULL, NULL },
{ 12, "GetStatus", NULL, NULL },
{ 13, "SetStatus", NULL, NULL },
{ 14, "ListVolumes", NULL, NULL },
{ 15, "ListAggregates", NULL, NULL },
{ 16, "AggregateInfo", NULL, NULL },
{ 17, "Monitor", NULL, NULL },
{ 18, "GetOneVolStatus", NULL, NULL },
{ 0, "CreateTrans", NULL, NULL },
{ 1, "AbortTrans", NULL, NULL },
{ 2, "DeleteTrans", NULL, NULL },
{ 3, "CreateVolume", NULL, NULL },
{ 4, "DeleteVolume", NULL, NULL },
{ 5, "Dump", NULL, NULL },
{ 6, "Restore", NULL, NULL },
{ 7, "Forward", NULL, NULL },
{ 8, "Clone", NULL, NULL },
{ 9, "ReClone", NULL, NULL },
{ 10, "GetFlags", NULL, NULL },
{ 11, "SetFlags", NULL, NULL },
{ 12, "GetStatus", NULL, NULL },
{ 13, "SetStatus", NULL, NULL },
{ 14, "ListVolumes", NULL, NULL },
{ 15, "ListAggregates", NULL, NULL },
{ 16, "AggregateInfo", NULL, NULL },
{ 17, "Monitor", NULL, NULL },
{ 18, "GetOneVolStatus", NULL, NULL },
{ 19, "GetServerInterfaces", NULL, NULL },
{ 20, "SwapIDs", NULL, NULL },
{ 20, "SwapIDs", NULL, NULL },
{ 0, NULL, NULL, NULL }
};

View File

@ -30,6 +30,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_icl_rpc (void);
void proto_reg_handoff_icl_rpc (void);
static int proto_icl_rpc = -1;
static int hf_icl_rpc_opnum = -1;
@ -46,9 +49,9 @@ static dcerpc_sub_dissector icl_rpc_dissectors[] = {
{ 1, "DFSTRACE_SetSetInfo", NULL, NULL },
{ 2, "DFSTRACE_GetLogInfo", NULL, NULL },
{ 3, "DFSTRACE_SetLogInfo", NULL, NULL },
{ 4, "DFSTRACE_ClearSet", NULL, NULL },
{ 5, "DFSTRACE_ClearLog", NULL, NULL },
{ 6, "DFSTRACE_DumpSet", NULL, NULL },
{ 4, "DFSTRACE_ClearSet", NULL, NULL },
{ 5, "DFSTRACE_ClearLog", NULL, NULL },
{ 6, "DFSTRACE_DumpSet", NULL, NULL },
{ 0, NULL, NULL, NULL }
};

View File

@ -34,6 +34,9 @@
#include "packet-kerberos.h"
#include "packet-dcerpc-dce122.h"
void proto_register_krb5rpc (void);
void proto_reg_handoff_krb5rpc (void);
static int proto_krb5rpc = -1;
static gint ett_krb5rpc = -1;

View File

@ -32,6 +32,8 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-dce122.h"
void proto_register_llb (void);
void proto_reg_handoff_llb (void);
static int proto_llb = -1;
static int hf_llb_opnum = -1;

View File

@ -29,6 +29,8 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-nt.h"
void proto_register_mgmt (void);
void proto_reg_handoff_mgmt (void);
static int proto_mgmt = -1;
static int hf_mgmt_opnum = -1;

View File

@ -48,7 +48,11 @@
#include "packet-kerberos.h"
/* for decoding */
void proto_register_dcerpc_netlogon(void);
void proto_reg_handoff_dcerpc_netlogon(void);
extern const char *gbl_nt_password;
#ifdef DEBUG_NETLOGON
#include <stdio.h>
#define debugprintf(...) fprintf(stderr,__VA_ARGS__)

View File

@ -29,6 +29,9 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-pnp.h"
void proto_register_dcerpc_pnp(void);
void proto_reg_handoff_dcerpc_pnp(void);
static int proto_dcerpc_pnp = -1;
static int hf_pnp_opnum = -1;

View File

@ -31,6 +31,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rdaclif (void);
void proto_reg_handoff_rdaclif (void);
static int proto_rdaclif = -1;
static int hf_rdaclif_opnum = -1;
@ -44,14 +47,14 @@ static guint16 ver_rdaclif = 1;
static dcerpc_sub_dissector rdaclif_dissectors[] = {
{0, "lookup", NULL, NULL},
{1, "replace", NULL, NULL},
{2, "get_access", NULL, NULL},
{3, "test_access", NULL, NULL},
{4, "test_access_on_behalf", NULL, NULL},
{5, "get_manager_types", NULL, NULL},
{6, "get_printstring", NULL, NULL},
{7, "get_referral", NULL, NULL},
{0, "lookup", NULL, NULL},
{1, "replace", NULL, NULL},
{2, "get_access", NULL, NULL},
{3, "test_access", NULL, NULL},
{4, "test_access_on_behalf", NULL, NULL},
{5, "get_manager_types", NULL, NULL},
{6, "get_printstring", NULL, NULL},
{7, "get_referral", NULL, NULL},
{8, "get_mgr_types_semantics", NULL, NULL},
{0, NULL, NULL, NULL}
};

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rep_proc (void);
void proto_reg_handoff_rep_proc (void);
static int proto_rep_proc = -1;
static int hf_rep_proc_opnum = -1;
@ -44,16 +46,16 @@ static guint16 ver_rep_proc = 4;
static dcerpc_sub_dissector rep_proc_dissectors[] = {
{ 0, "CheckReplicationConfig", NULL, NULL },
{ 0, "CheckReplicationConfig", NULL, NULL },
{ 1, "AllCheckReplicationConfig", NULL, NULL },
{ 2, "KeepFilesAlive", NULL , NULL},
{ 3, "GetVolChangedFiles", NULL, NULL },
{ 4, "GetRepStatus", NULL, NULL},
{ 5, "GetRepServerStatus", NULL, NULL},
{ 6, "UpdateSelf", NULL, NULL},
{ 7, "Probe", NULL, NULL},
{ 8, "GetOneRepStatus", NULL, NULL },
{ 9, "GetServerInterfaces", NULL, NULL},
{ 2, "KeepFilesAlive", NULL , NULL},
{ 3, "GetVolChangedFiles", NULL, NULL },
{ 4, "GetRepStatus", NULL, NULL},
{ 5, "GetRepServerStatus", NULL, NULL},
{ 6, "UpdateSelf", NULL, NULL},
{ 7, "Probe", NULL, NULL},
{ 8, "GetOneRepStatus", NULL, NULL },
{ 9, "GetServerInterfaces", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_roverride (void);
void proto_reg_handoff_roverride (void);
static int proto_roverride = -1;
static int hf_roverride_opnum = -1;
@ -44,12 +46,12 @@ static guint16 ver_roverride = 1;
static dcerpc_sub_dissector roverride_dissectors[] = {
{ 0, "roverride_get_login_info", NULL, NULL},
{ 1, "roverride_check_passwd", NULL, NULL},
{ 2, "roverride_is_passwd_overridden", NULL, NULL},
{ 3, "roverride_get_by_unix_num", NULL, NULL},
{ 4, "roverride_get_group_info", NULL, NULL},
{ 5, "roverride_check_group_passwd", NULL, NULL},
{ 0, "roverride_get_login_info", NULL, NULL},
{ 1, "roverride_check_passwd", NULL, NULL},
{ 2, "roverride_is_passwd_overridden", NULL, NULL},
{ 3, "roverride_get_by_unix_num", NULL, NULL},
{ 4, "roverride_get_group_info", NULL, NULL},
{ 5, "roverride_check_group_passwd", NULL, NULL},
{ 6, "roverride_is_grp_pwd_overridden", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rpriv (void);
void proto_reg_handoff_rpriv (void);
static int proto_rpriv = -1;
static int hf_rpriv_opnum = -1;

View File

@ -29,6 +29,9 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-rras.h"
void proto_register_dcerpc_rras(void);
void proto_reg_handoff_dcerpc_rras(void);
static int proto_dcerpc_rras = -1;
static int hf_rras_opnum = -1;

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_acct (void);
void proto_reg_handoff_rs_acct (void);
static int proto_rs_acct = -1;
static int hf_rs_acct_opnum = -1;
@ -104,11 +106,11 @@ rs_acct_dissect_get_projlist_rqst (tvbuff_t *tvb, int offset,
static dcerpc_sub_dissector rs_acct_dissectors[] = {
{ 0, "add", NULL, NULL},
{ 1, "delete", NULL, NULL},
{ 2, "rename", NULL, NULL},
{ 3, "lookup", rs_acct_dissect_lookup_rqst, NULL},
{ 4, "replace", NULL, NULL},
{ 0, "add", NULL, NULL},
{ 1, "delete", NULL, NULL},
{ 2, "rename", NULL, NULL},
{ 3, "lookup", rs_acct_dissect_lookup_rqst, NULL},
{ 4, "replace", NULL, NULL},
{ 5, "get_projlist", rs_acct_dissect_get_projlist_rqst, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_attr (void);
void proto_reg_handoff_rs_attr (void);
static int proto_rs_attr = -1;
static int hf_rs_attr_opnum = -1;
@ -44,15 +46,15 @@ static guint16 ver_rs_attr = 0;
static dcerpc_sub_dissector rs_attr_dissectors[] = {
{ 0, "rs_attr_cursor_init", NULL, NULL},
{ 1, "rs_attr_lookup_by_id", NULL, NULL},
{ 0, "rs_attr_cursor_init", NULL, NULL},
{ 1, "rs_attr_lookup_by_id", NULL, NULL},
{ 2, "rs_attr_lookup_no_expand", NULL, NULL},
{ 3, "rs_attr_lookup_by_name", NULL, NULL},
{ 4, "rs_attr_update", NULL, NULL},
{ 5, "rs_attr_test_and_update", NULL, NULL},
{ 6, "rs_attr_delete", NULL, NULL},
{ 7, "rs_attr_get_referral", NULL, NULL},
{ 8, "rs_attr_get_effective", NULL, NULL},
{ 3, "rs_attr_lookup_by_name", NULL, NULL},
{ 4, "rs_attr_update", NULL, NULL},
{ 5, "rs_attr_test_and_update", NULL, NULL},
{ 6, "rs_attr_delete", NULL, NULL},
{ 7, "rs_attr_get_referral", NULL, NULL},
{ 8, "rs_attr_get_effective", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -31,6 +31,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_attr_schema (void);
void proto_reg_handoff_rs_attr_schema (void);
static int proto_rs_attr_schema = -1;
static int hf_rs_attr_schema_opnum = -1;
@ -38,20 +41,20 @@ static int hf_rs_attr_schema_opnum = -1;
static gint ett_rs_attr_schema = -1;
static e_uuid_t uuid_rs_attr_schema =
{ 0xb47c9460, 0x567f, 0x11cb, {0x8c, 0x09, 0x08, 0x00, 0x1e, 0x04, 0xde,
0x8c} };
0x8c} };
static guint16 ver_rs_attr_schema = 0;
static dcerpc_sub_dissector rs_attr_schema_dissectors[] = {
{0, "create_entry", NULL, NULL},
{1, "delete_entry", NULL, NULL},
{2, "update_entry", NULL, NULL},
{3, "cursor_init", NULL, NULL},
{4, "scan", NULL, NULL},
{0, "create_entry", NULL, NULL},
{1, "delete_entry", NULL, NULL},
{2, "update_entry", NULL, NULL},
{3, "cursor_init", NULL, NULL},
{4, "scan", NULL, NULL},
{5, "lookup_by_name", NULL, NULL},
{6, "lookup_by_id", NULL, NULL},
{7, "get_referral", NULL, NULL},
{8, "get_acl_mgrs", NULL, NULL},
{6, "lookup_by_id", NULL, NULL},
{7, "get_referral", NULL, NULL},
{8, "get_acl_mgrs", NULL, NULL},
{9, "aclmgr_strings", NULL, NULL},
{0, NULL, NULL, NULL}
};
@ -70,7 +73,7 @@ proto_register_rs_attr_schema (void)
};
proto_rs_attr_schema =
proto_register_protocol ("DCE/RPC Registry Server Attributes Schema",
"rs_attr_schema", "rs_attr_schema");
"rs_attr_schema", "rs_attr_schema");
proto_register_field_array (proto_rs_attr_schema, hf, array_length (hf));
proto_register_subtree_array (ett, array_length (ett));
}
@ -80,6 +83,6 @@ proto_reg_handoff_rs_attr_schema (void)
{
/* Register the protocol as dcerpc */
dcerpc_init_uuid (proto_rs_attr_schema, ett_rs_attr_schema,
&uuid_rs_attr_schema, ver_rs_attr_schema,
rs_attr_schema_dissectors, hf_rs_attr_schema_opnum);
&uuid_rs_attr_schema, ver_rs_attr_schema,
rs_attr_schema_dissectors, hf_rs_attr_schema_opnum);
}

View File

@ -32,6 +32,8 @@
#include "packet-dcerpc.h"
#include "packet-dcerpc-dce122.h"
void proto_register_rs_bind (void);
void proto_reg_handoff_rs_bind (void);
static int proto_rs_bind = -1;
static int hf_rs_bind_opnum = -1;
@ -41,7 +43,7 @@ static gint ett_rs_bind = -1;
static e_uuid_t uuid_rs_bind =
{ 0xd46113d0, 0xa848, 0x11cb, {0xb8, 0x63, 0x08, 0x00, 0x1e, 0x04, 0x6a,
0xa5}
0xa5}
};
static guint16 ver_rs_bind = 2;
@ -75,5 +77,5 @@ proto_reg_handoff_rs_bind (void)
{
/* Register the protocol as dcerpc */
dcerpc_init_uuid (proto_rs_bind, ett_rs_bind, &uuid_rs_bind, ver_rs_bind,
rs_bind_dissectors, hf_rs_bind_opnum);
rs_bind_dissectors, hf_rs_bind_opnum);
}

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_misc (void);
void proto_reg_handoff_rs_misc (void);
static int proto_rs_misc = -1;
static int hf_rs_misc_opnum = -1;

File diff suppressed because it is too large Load Diff

View File

@ -30,6 +30,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_dcerpc_rs_plcy(void);
void proto_reg_handoff_dcerpc_rs_plcy(void);
/* Global hf index fields */
static int proto_dcerpc_rs_plcy = -1;
@ -44,16 +47,16 @@ static e_uuid_t uuid_dcerpc_rs_plcy = {
static guint16 ver_dcerpc_rs_plcy = 1;
static dcerpc_sub_dissector dcerpc_rs_plcy_dissectors[] = {
{ 0, "rs_properties_get_info", NULL, NULL },
{ 1, "rs_properties_set_info ", NULL, NULL },
{ 2, "rs_policy_get_info", NULL, NULL },
{ 3, "rs_policy_set_info", NULL, NULL },
{ 4, "rs_policy_get_effective", NULL, NULL },
{ 5, "rs_policy_get_override_info", NULL, NULL },
{ 6, "rs_policy_set_override_info", NULL, NULL },
{ 7, "rs_auth_policy_get_info", NULL, NULL },
{ 0, "rs_properties_get_info", NULL, NULL },
{ 1, "rs_properties_set_info ", NULL, NULL },
{ 2, "rs_policy_get_info", NULL, NULL },
{ 3, "rs_policy_set_info", NULL, NULL },
{ 4, "rs_policy_get_effective", NULL, NULL },
{ 5, "rs_policy_get_override_info", NULL, NULL },
{ 6, "rs_policy_set_override_info", NULL, NULL },
{ 7, "rs_auth_policy_get_info", NULL, NULL },
{ 8, "rs_auth_policy_get_effective", NULL, NULL },
{ 9, "rs_auth_policy_set_info", NULL, NULL },
{ 9, "rs_auth_policy_set_info", NULL, NULL },
{ 0, NULL, NULL, NULL }
};

View File

@ -30,6 +30,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_prop_acct (void);
void proto_reg_handoff_rs_prop_acct (void);
static int proto_rs_prop_acct = -1;
static int hf_rs_prop_acct_opnum = -1;
@ -40,13 +43,13 @@ static guint16 ver_rs_prop_acct = 1;
static dcerpc_sub_dissector rs_prop_acct_dissectors[] = {
{ 0, "rs_prop_acct_add", NULL, NULL },
{ 1, "rs_prop_acct_delete", NULL, NULL },
{ 2, "rs_prop_acct_rename", NULL, NULL },
{ 3, "rs_prop_acct_replace", NULL, NULL },
{ 4, "rs_prop_acct_add_key_version", NULL, NULL },
{ 2, "rs_prop_acct_rename", NULL, NULL },
{ 0, NULL, NULL, NULL }
{ 0, "rs_prop_acct_add", NULL, NULL },
{ 1, "rs_prop_acct_delete", NULL, NULL },
{ 2, "rs_prop_acct_rename", NULL, NULL },
{ 3, "rs_prop_acct_replace", NULL, NULL },
{ 4, "rs_prop_acct_add_key_version", NULL, NULL },
{ 2, "rs_prop_acct_rename", NULL, NULL },
{ 0, NULL, NULL, NULL }
};
void

View File

@ -31,6 +31,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_prop_acl (void);
void proto_reg_handoff_rs_prop_acl (void);
static int proto_rs_prop_acl = -1;
static int hf_rs_prop_acl_opnum = -1;
@ -38,7 +41,7 @@ static int hf_rs_prop_acl_opnum = -1;
static gint ett_rs_prop_acl = -1;
static e_uuid_t uuid_rs_prop_acl =
{ 0x591d87d0, 0xde64, 0x11ca, {0xa1, 0x1c, 0x08, 0x00, 0x1e, 0x03, 0x94,
0xc7} };
0xc7} };
static guint16 ver_rs_prop_acl = 1;
@ -73,6 +76,6 @@ proto_reg_handoff_rs_prop_acl (void)
{
/* Register the protocol as dcerpc */
dcerpc_init_uuid (proto_rs_prop_acl, ett_rs_prop_acl, &uuid_rs_prop_acl,
ver_rs_prop_acl, rs_prop_acl_dissectors,
hf_rs_prop_acl_opnum);
ver_rs_prop_acl, rs_prop_acl_dissectors,
hf_rs_prop_acl_opnum);
}

View File

@ -31,6 +31,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_prop_attr (void);
void proto_reg_handoff_rs_prop_attr (void);
static int proto_rs_prop_attr = -1;
static int hf_rs_prop_attr_opnum = -1;

View File

@ -31,6 +31,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_prop_pgo (void);
void proto_reg_handoff_rs_prop_pgo (void);
static int proto_rs_prop_pgo = -1;
static int hf_rs_prop_pgo_opnum = -1;
@ -44,11 +47,11 @@ static guint16 ver_rs_prop_pgo = 1;
static dcerpc_sub_dissector rs_prop_pgo_dissectors[] = {
{0, "add", NULL, NULL},
{1, "rename", NULL, NULL},
{2, "replace", NULL, NULL},
{3, "add_member", NULL, NULL},
{4, "delete_member", NULL, NULL},
{0, "add", NULL, NULL},
{1, "rename", NULL, NULL},
{2, "replace", NULL, NULL},
{3, "add_member", NULL, NULL},
{4, "delete_member", NULL, NULL},
{5, "add_member_global", NULL, NULL},
{0, NULL, NULL, NULL}
};

View File

@ -31,6 +31,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_prop_plcy (void);
void proto_reg_handoff_rs_prop_plcy (void);
static int proto_rs_prop_plcy = -1;
static int hf_rs_prop_plcy_opnum = -1;
@ -44,9 +47,9 @@ static guint16 ver_rs_prop_plcy = 1;
static dcerpc_sub_dissector rs_prop_plcy_dissectors[] = {
{0, "rs_prop_properties_set_info", NULL, NULL},
{1, "rs_prop_plcy_set_info", NULL, NULL},
{2, "rs_prop_auth_plcy_set_info", NULL, NULL},
{0, "rs_prop_properties_set_info", NULL, NULL},
{1, "rs_prop_plcy_set_info", NULL, NULL},
{2, "rs_prop_auth_plcy_set_info", NULL, NULL},
{3, "rs_prop_plcy_set_dom_cache_info", NULL, NULL},
{0, NULL, NULL, NULL}
};

View File

@ -31,6 +31,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_pwd_mgmt (void);
void proto_reg_handoff_rs_pwd_mgmt (void);
static int proto_rs_pwd_mgmt = -1;
static int hf_rs_pwd_mgmt_opnum = -1;
@ -44,14 +47,14 @@ static guint16 ver_rs_pwd_mgmt = 1;
static dcerpc_sub_dissector rs_pwd_mgmt_dissectors[] = {
{0, "lookup", NULL, NULL},
{1, "replace", NULL, NULL},
{2, "get_access", NULL, NULL},
{3, "test_access", NULL, NULL},
{4, "test_access_on_behalf", NULL, NULL},
{5, "get_manager_types", NULL, NULL},
{6, "get_printstring", NULL, NULL},
{7, "get_referral", NULL, NULL},
{0, "lookup", NULL, NULL},
{1, "replace", NULL, NULL},
{2, "get_access", NULL, NULL},
{3, "test_access", NULL, NULL},
{4, "test_access_on_behalf", NULL, NULL},
{5, "get_manager_types", NULL, NULL},
{6, "get_printstring", NULL, NULL},
{7, "get_referral", NULL, NULL},
{8, "get_mgr_types_semantics", NULL, NULL},
{0, NULL, NULL, NULL}
};

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_repadm (void);
void proto_reg_handoff_rs_repadm (void);
static int proto_rs_repadm = -1;
static int hf_rs_repadm_opnum = -1;
@ -46,17 +48,17 @@ static guint16 ver_rs_repadm = 1;
static dcerpc_sub_dissector rs_repadm_dissectors[] = {
{ 0, "stop", NULL, NULL},
{ 1, "maint", NULL, NULL},
{ 2, "mkey", NULL, NULL},
{ 3, "info", NULL, NULL},
{ 4, "info_full", NULL, NULL},
{ 5, "destroy", NULL, NULL},
{ 6, "init_replica", NULL, NULL},
{ 7, "change_master", NULL, NULL},
{ 8, "become_master", NULL, NULL},
{ 9, "become_slave", NULL, NULL},
{ 10, "set_sw_rev", NULL, NULL},
{ 0, "stop", NULL, NULL},
{ 1, "maint", NULL, NULL},
{ 2, "mkey", NULL, NULL},
{ 3, "info", NULL, NULL},
{ 4, "info_full", NULL, NULL},
{ 5, "destroy", NULL, NULL},
{ 6, "init_replica", NULL, NULL},
{ 7, "change_master", NULL, NULL},
{ 8, "become_master", NULL, NULL},
{ 9, "become_slave", NULL, NULL},
{ 10, "set_sw_rev", NULL, NULL},
{ 11, "get_sw_vers_info", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_replist (void);
void proto_reg_handoff_rs_replist (void);
static int proto_rs_replist = -1;
static int hf_rs_replist_opnum = -1;
@ -44,16 +46,16 @@ static guint16 ver_rs_replist = 2;
static dcerpc_sub_dissector rs_replist_dissectors[] = {
{ 0, "rs_replist_add_replica", NULL, NULL},
{ 0, "rs_replist_add_replica", NULL, NULL},
{ 1, "rs_replist_replace_replica", NULL, NULL},
{ 2, "rs_replist_delete_replica", NULL, NULL},
{ 3, "rs_replist_read", NULL, NULL},
{ 4, "rs_replist_read_full", NULL, NULL},
{ 5, "rs_replist_add_replica", NULL, NULL},
{ 2, "rs_replist_delete_replica", NULL, NULL},
{ 3, "rs_replist_read", NULL, NULL},
{ 4, "rs_replist_read_full", NULL, NULL},
{ 5, "rs_replist_add_replica", NULL, NULL},
{ 6, "rs_replist_replace_replica", NULL, NULL},
{ 7, "rs_replist_delete_replica", NULL, NULL},
{ 8, "rs_replist_read", NULL, NULL},
{ 9, "rs_replist_read_full", NULL, NULL},
{ 7, "rs_replist_delete_replica", NULL, NULL},
{ 8, "rs_replist_read", NULL, NULL},
{ 9, "rs_replist_read_full", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -31,6 +31,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_repmgr (void);
void proto_reg_handoff_rs_repmgr (void);
static int proto_rs_repmgr = -1;
static int hf_rs_repmgr_opnum = -1;
@ -44,14 +47,14 @@ static guint16 ver_rs_repmgr = 2;
static dcerpc_sub_dissector rs_repmgr_dissectors[] = {
{0, "get_info_and_creds", NULL, NULL},
{1, "init", NULL, NULL},
{2, "init_done", NULL, NULL},
{3, "i_am_slave", NULL, NULL},
{4, "i_am_master", NULL, NULL},
{5, "become_master", NULL, NULL},
{6, "copy_all", NULL, NULL},
{7, "copy_propq", NULL, NULL},
{0, "get_info_and_creds", NULL, NULL},
{1, "init", NULL, NULL},
{2, "init_done", NULL, NULL},
{3, "i_am_slave", NULL, NULL},
{4, "i_am_master", NULL, NULL},
{5, "become_master", NULL, NULL},
{6, "copy_all", NULL, NULL},
{7, "copy_propq", NULL, NULL},
{8, "stop_until_compat_sw", NULL, NULL},
{0, NULL, NULL, NULL}
};

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rs_unix (void);
void proto_reg_handoff_rs_unix (void);
static int proto_rs_unix = -1;
static int hf_rs_unix_opnum = -1;

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_rsec_login (void);
void proto_reg_handoff_rsec_login (void);
static int proto_rsec_login = -1;
static int hf_rsec_login_opnum = -1;

View File

@ -31,6 +31,9 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_secidmap (void);
void proto_reg_handoff_secidmap (void);
static int proto_secidmap = -1;
static int hf_secidmap_opnum = -1;
@ -43,11 +46,11 @@ static guint16 ver_secidmap = 1;
static dcerpc_sub_dissector secidmap_dissectors[] = {
{ 0, "parse_name", NULL, NULL},
{ 1, "gen_name", NULL, NULL},
{ 2, "avoid_cn_bug", NULL, NULL},
{ 0, "parse_name", NULL, NULL},
{ 1, "gen_name", NULL, NULL},
{ 2, "avoid_cn_bug", NULL, NULL},
{ 3, "parse_name_cache", NULL, NULL},
{ 4, "gen_name_cache", NULL, NULL},
{ 4, "gen_name_cache", NULL, NULL},
{ 0, NULL, NULL, NULL },
};

View File

@ -39,6 +39,9 @@
#include "packet-dcerpc-spoolss.h"
#include "packet-windows-common.h"
void proto_register_dcerpc_spoolss(void);
void proto_reg_handoff_dcerpc_spoolss(void);
/* GetPrinterDriver2 */
static int hf_clientmajorversion = -1;

View File

@ -33,6 +33,9 @@
#include "packet-dcerpc-nt.h"
#include "packet-windows-common.h"
void proto_register_dcerpc_svcctl(void);
void proto_reg_handoff_dcerpc_svcctl(void);
static int proto_dcerpc_svcctl = -1;
static int hf_svcctl_opnum = -1;
static int hf_svcctl_machinename = -1;

View File

@ -33,6 +33,9 @@
#include "packet-dcerpc-tapi.h"
#include "packet-windows-common.h"
void proto_register_dcerpc_tapi(void);
void proto_reg_handoff_dcerpc_tapi(void);
static int proto_dcerpc_tapi = -1;
static int hf_tapi_opnum = -1;
static int hf_tapi_rc = -1;

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_tkn4int (void);
void proto_reg_handoff_tkn4int (void);
static int proto_tkn4int = -1;
static int hf_tkn4int_opnum = -1;
@ -44,15 +46,15 @@ static guint16 ver_tkn4int = 4;
static dcerpc_sub_dissector tkn4int_dissectors[] = {
{ 0, "Probe", NULL, NULL},
{ 1, "InitTokenState", NULL, NULL},
{ 2, "TokenRevoke", NULL, NULL},
{ 3, "GetCellName", NULL, NULL},
{ 4, "GetLock", NULL, NULL},
{ 5, "GetCE", NULL, NULL},
{ 0, "Probe", NULL, NULL},
{ 1, "InitTokenState", NULL, NULL},
{ 2, "TokenRevoke", NULL, NULL},
{ 3, "GetCellName", NULL, NULL},
{ 4, "GetLock", NULL, NULL},
{ 5, "GetCE", NULL, NULL},
{ 6, "GetServerInterfaces", NULL, NULL},
{ 7, "SetParams", NULL, NULL},
{ 8, "AsyncGrant", NULL, NULL},
{ 7, "SetParams", NULL, NULL},
{ 8, "AsyncGrant", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -32,6 +32,9 @@
#include "packet-dcerpc-nt.h"
#include "packet-windows-common.h"
void proto_register_dcerpc_trksvr(void);
void proto_reg_handoff_dcerpc_trksvr(void);
static int proto_dcerpc_trksvr = -1;
static int hf_trksvr_opnum = -1;
/* static int hf_trksvr_rc = -1; */

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_ubikdisk (void);
void proto_reg_handoff_ubikdisk (void);
static int proto_ubikdisk = -1;
static int hf_ubikdisk_opnum = -1;

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include "packet-dcerpc.h"
void proto_register_ubikvote (void);
void proto_reg_handoff_ubikvote (void);
static int proto_ubikvote = -1;
static int hf_ubikvote_opnum = -1;
@ -44,13 +46,13 @@ static guint16 ver_ubikvote = 4;
static dcerpc_sub_dissector ubikvote_dissectors[] = {
{ 0, "Beacon", NULL, NULL},
{ 1, "Debug", NULL, NULL},
{ 2, "SDebug", NULL, NULL},
{ 0, "Beacon", NULL, NULL},
{ 1, "Debug", NULL, NULL},
{ 2, "SDebug", NULL, NULL},
{ 3, "GetServerInterfaces", NULL, NULL},
{ 4, "GetSyncSite", NULL, NULL},
{ 5, "DebugV2", NULL, NULL},
{ 6, "SDebugV2", NULL, NULL},
{ 4, "GetSyncSite", NULL, NULL},
{ 5, "DebugV2", NULL, NULL},
{ 6, "SDebugV2", NULL, NULL},
{ 7, "GetSyncSiteIdentity", NULL, NULL},
{ 0, NULL, NULL, NULL }
};

View File

@ -48,6 +48,9 @@
#include <epan/dissectors/packet-dcerpc.h>
#include <epan/dissectors/packet-dcerpc-nt.h>
void proto_register_dcerpc(void);
void proto_reg_handoff_dcerpc(void);
static int dcerpc_tap = -1;
/* 32bit Network Data Representation, see DCE/RPC Appendix I */

View File

@ -34,6 +34,7 @@
static int proto_elmi = -1;
void proto_register_elmi(void);
void proto_reg_handoff_elmi(void);
static gint ett_elmi = -1;

View File

@ -39,6 +39,9 @@
/* Needed for wtap_pcap_encap_to_wtap_encap(). */
#include <wiretap/pcap-encap.h>
void proto_register_pktap(void);
void proto_reg_handoff_pktap(void);
/*
* Apple's PKTAP header.
*/

View File

@ -35,6 +35,9 @@
#include "packet-iwarp-ddp-rdmap.h"
#include "packet-infiniband.h"
void proto_register_smb_direct(void);
void proto_reg_handoff_smb_direct(void);
static int proto_smb_direct = -1;
static gint ett_smb_direct = -1;

View File

@ -51,6 +51,9 @@
#include <zlib.h>
#endif
void proto_register_spdy(void);
void proto_reg_handoff_spdy(void);
#define MIN_SPDY_VERSION 3
#define SPDY_STREAM_ID_MASK 0x7FFFFFFF

View File

@ -36,6 +36,8 @@
#include "ui/gtk/gui_stat_menu.h"
#include "ui/gtk/conversations_table.h"
void register_tap_listener_tr_conversation(void);
static int
tr_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip)
{

View File

@ -49,6 +49,8 @@
#include "ui/gtk/edit_packet_comment_dlg.h"
#include "ui/gtk/capture_comment_icons.h"
void register_tap_listener_expert_comp(void);
enum
{
NO_COLUMN_C_TABLE,