"msrpc" -> "dcerpc", and comment cleanups, from Tim Potter.

svn path=/trunk/; revision=4365
This commit is contained in:
Guy Harris 2001-12-09 00:07:37 +00:00
parent 0cb2349987
commit 446e7ed7ed
10 changed files with 39 additions and 37 deletions

View File

@ -1,8 +1,8 @@
/* packet-msrpc-dfs.h
* Routines for SMB \\PIPE\\netdfs packet disassembly
/* packet-dcerpc-dfs.h
* Routines for SMB \PIPE\netdfs packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
* $Id: packet-dcerpc-dfs.h,v 1.1 2001/11/21 02:08:57 guy Exp $
* $Id: packet-dcerpc-dfs.h,v 1.2 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -34,4 +34,4 @@
#define DFS_GET_INFO 0x04
#define DFS_ENUM 0x05
#endif /* packet-msrpc-dfs.h */
#endif /* packet-dcerpc-dfs.h */

View File

@ -2,7 +2,7 @@
* Routines for SMB \\PIPE\\lsarpc packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
* $Id: packet-dcerpc-lsa.c,v 1.1 2001/11/21 02:08:57 guy Exp $
* $Id: packet-dcerpc-lsa.c,v 1.2 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -42,6 +42,8 @@ static e_uuid_t uuid_dcerpc_lsa = {
static guint16 ver_dcerpc_lsa = 0;
static dcerpc_sub_dissector dcerpc_lsa_dissectors[] = {
{ LSA_CLOSE, "LSA_CLOSE", NULL, NULL },
{ LSA_DELETE, "LSA_DELETE", NULL, NULL },

View File

@ -1,8 +1,8 @@
/* packet-msrpc-lsa.h
* Routines for SMB \\PIPE\\lsarpc packet disassembly
/* packet-dcerpc-lsa.h
* Routines for SMB \PIPE\lsarpc packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
* $Id: packet-dcerpc-lsa.h,v 1.1 2001/11/21 02:08:57 guy Exp $
* $Id: packet-dcerpc-lsa.h,v 1.2 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -75,4 +75,4 @@
#define LSA_OPENPOLICY2 0x2c
#define LSA_UNK_GET_CONNUSER 0x2d
#endif /* packet-msrpc-lsa.h */
#endif /* packet-dcerpc-lsa.h */

View File

@ -1,8 +1,8 @@
/* packet-msrpc-netlogon.h
* Routines for SMB \\PIPE\\NETLOGON packet disassembly
/* packet-dcerpc-netlogon.h
* Routines for SMB \PIPE\NETLOGON packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
* $Id: packet-dcerpc-netlogon.h,v 1.1 2001/11/21 02:08:57 guy Exp $
* $Id: packet-dcerpc-netlogon.h,v 1.2 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -41,4 +41,4 @@
#define NET_SAM_SYNC 0x10
#define NET_TRUST_DOM_LIST 0x13
#endif /* packet-msrpc-netlogon.h */
#endif /* packet-dcerpc-netlogon.h */

View File

@ -1,8 +1,8 @@
/* packet-msrpc-reg.h
* Routines for SMB \\PIPE\\winreg packet disassembly
/* packet-dcerpc-reg.h
* Routines for SMB \PIPE\winreg packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
* $Id: packet-dcerpc-reg.h,v 1.1 2001/11/21 02:08:57 guy Exp $
* $Id: packet-dcerpc-reg.h,v 1.2 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -56,4 +56,4 @@
#define REG_ABORT_SHUTDOWN 0x19
#define REG_UNK_1A 0x1a
#endif /* packet-msrpc-reg.h */
#endif /* packet-dcerpc-reg.h */

View File

@ -1,8 +1,8 @@
/* packet-msrpc-samr.h
* Routines for SMB \\PIPE\\samr packet disassembly
/* packet-dcerpc-samr.h
* Routines for SMB \PIPE\samr packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
* $Id: packet-dcerpc-samr.h,v 1.1 2001/11/21 02:08:57 guy Exp $
* $Id: packet-dcerpc-samr.h,v 1.2 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -85,4 +85,4 @@
#define SAMR_CONNECT 0x39
#define SAMR_SET_USERINFO 0x3A
#endif /* packet-msrpc-samr.h */
#endif /* packet-dcerpc-samr.h */

View File

@ -1,8 +1,8 @@
/* packet-msrpc-spoolss.h
* Routines for SMB \\PIPE\\spoolss packet disassembly
/* packet-dcerpc-spoolss.h
* Routines for SMB \PIPE\spoolss packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
* $Id: packet-dcerpc-spoolss.h,v 1.1 2001/11/21 02:08:57 guy Exp $
* $Id: packet-dcerpc-spoolss.h,v 1.2 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -76,4 +76,4 @@
#define SPOOLSS_GETPRINTERDATAEX 0x4e
#define SPOOLSS_SETPRINTERDATAEX 0x50
#endif /* packet-msrpc-spoolss.h */
#endif /* packet-dcerpc-spoolss.h */

View File

@ -1,8 +1,8 @@
/* packet-msrpc-srvsvc.h
* Routines for SMB \\PIPE\\srvsvc packet disassembly
/* packet-dcerpc-srvsvc.h
* Routines for SMB \PIPE\srvsvc packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
* $Id: packet-dcerpc-srvsvc.h,v 1.1 2001/11/21 02:08:57 guy Exp $
* $Id: packet-dcerpc-srvsvc.h,v 1.2 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -45,4 +45,4 @@
#define SRV_NETFILEQUERYSECDESC 0x27
#define SRV_NETFILESETSECDESC 0x28
#endif /* packet-msrpc-srvsvc.h */
#endif /* packet-dcerpc-srvsvc.h */

View File

@ -1,8 +1,8 @@
/* packet-msrpc-wkssvc.h
* Routines for SMB \\PIPE\\wkssvc packet disassembly
/* packet-dcerpc-wkssvc.h
* Routines for SMB \PIPE\wkssvc packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
* $Id: packet-dcerpc-wkssvc.h,v 1.1 2001/11/21 02:08:57 guy Exp $
* $Id: packet-dcerpc-wkssvc.h,v 1.2 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -30,4 +30,4 @@
#define WKS_QUERY_INFO 0x00
#endif /* packet-msrpc-wkssvc.h */
#endif /* packet-dcerpc-wkssvc.h */

View File

@ -8,7 +8,7 @@ XXX Fixme : shouldnt show [malformed frame] for long packets
* significant rewrite to tvbuffify the dissector, Ronnie Sahlberg and
* Guy Harris 2001
*
* $Id: packet-smb-pipe.c,v 1.59 2001/12/05 08:20:28 guy Exp $
* $Id: packet-smb-pipe.c,v 1.60 2001/12/09 00:07:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -2534,7 +2534,7 @@ proto_register_pipe_lanman(void)
static heur_dissector_list_t smb_transact_heur_subdissector_list;
static gboolean
dissect_pipe_msrpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree,
dissect_pipe_dcerpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree,
proto_tree *tree, guint32 fid)
{
dcerpc_private_info dcerpc_priv;
@ -2620,7 +2620,7 @@ dissect_pipe_msrpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree,
}
void
proto_register_pipe_msrpc(void)
proto_register_pipe_dcerpc(void)
{
register_heur_dissector_list("smb_transact", &smb_transact_heur_subdissector_list);
}
@ -2849,7 +2849,7 @@ dissect_pipe_smb(tvbuff_t *sp_tvb, tvbuff_t *s_tvb, tvbuff_t *pd_tvb,
if (fid != -1) {
if (d_tvb == NULL)
return FALSE;
return dissect_pipe_msrpc(d_tvb, pinfo, tree,
return dissect_pipe_dcerpc(d_tvb, pinfo, tree,
pipe_tree, fid);
}
break;