Ethereal-dev: [Ethereal-dev] [packet-dcerpc-tapi.c] Operations names
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: Jean-Baptiste Marchand <Jean-Baptiste.Marchand@xxxxxx>
Date: Tue, 21 Oct 2003 14:47:24 +0200
Hello, the attached diff adds the names for the 3 operation of the tapi MSRPC interface. All operations dissected by Ethereal DCE RPC dissectors should now be correctly recognized (i.e, no more unknown operations names). Jean-Baptiste Marchand -- Jean-Baptiste.Marchand@xxxxxx HSC - http://www.hsc.fr/
Index: packet-dcerpc-tapi.c
===================================================================
RCS file: /cvsroot/ethereal/packet-dcerpc-tapi.c,v
retrieving revision 1.7
diff -u -r1.7 packet-dcerpc-tapi.c
--- packet-dcerpc-tapi.c 4 Aug 2003 02:48:59 -0000 1.7
+++ packet-dcerpc-tapi.c 21 Oct 2003 12:42:51 -0000
@@ -62,7 +62,7 @@
static guint16 ver_dcerpc_tapi = 1;
/*
- IDL long Function_00(
+ IDL long ClientAttach(
IDL [out] [context_handle] void *element_1,
IDL [in] long element_2,
IDL [out] long element_3,
@@ -71,7 +71,7 @@
IDL );
*/
static int
-dissect_tapi_UNKNOWN_00_rqst(tvbuff_t *tvb, int offset,
+dissect_tapi_client_attach_rqst(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
char *drep)
{
@@ -89,7 +89,7 @@
return offset;
}
static int
-dissect_tapi_UNKNOWN_00_reply(tvbuff_t *tvb, int offset,
+dissect_tapi_client_attach_reply(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
char *drep)
{
@@ -106,7 +106,7 @@
}
/*
- IDL long Function_01(
+ IDL long ClientRequest(
IDL [in] [context_handle] void *element_6,
IDL [in,out] [size_is(element_8)] [length_is(???)] char element_7[*],
IDL [in] long element_8
@@ -135,7 +135,7 @@
}
static int
-dissect_tapi_UNKNOWN_01_rqst(tvbuff_t *tvb, int offset,
+dissect_tapi_client_request_rqst(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
char *drep)
{
@@ -152,7 +152,7 @@
return offset;
}
static int
-dissect_tapi_UNKNOWN_01_reply(tvbuff_t *tvb, int offset,
+dissect_tapi_client_request_reply(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
char *drep)
{
@@ -164,19 +164,19 @@
/*
- IDL void Function_02(
+ IDL void ClientDetach(
IDL void
IDL );
*/
static int
-dissect_tapi_UNKNOWN_02_rqst(tvbuff_t *tvb _U_, int offset _U_,
+dissect_tapi_client_detach_rqst(tvbuff_t *tvb _U_, int offset _U_,
packet_info *pinfo _U_, proto_tree *tree _U_,
char *drep _U_)
{
return offset;
}
static int
-dissect_tapi_UNKNOWN_02_reply(tvbuff_t *tvb _U_, int offset _U_,
+dissect_tapi_client_detach_reply(tvbuff_t *tvb _U_, int offset _U_,
packet_info *pinfo _U_, proto_tree *tree _U_,
char *drep _U_)
{
@@ -187,15 +187,15 @@
IDL }
*/
static dcerpc_sub_dissector dcerpc_tapi_dissectors[] = {
- { TAPI_UNKNOWN_00, "TAPI_UNKNOWN_00",
- dissect_tapi_UNKNOWN_00_rqst,
- dissect_tapi_UNKNOWN_00_reply },
- { TAPI_UNKNOWN_01, "TAPI_UNKNOWN_01",
- dissect_tapi_UNKNOWN_01_rqst,
- dissect_tapi_UNKNOWN_01_reply },
- { TAPI_UNKNOWN_02, "TAPI_UNKNOWN_02",
- dissect_tapi_UNKNOWN_02_rqst,
- dissect_tapi_UNKNOWN_02_reply },
+ { TAPI_CLIENT_ATTACH, "ClientAttach",
+ dissect_tapi_client_attach_rqst,
+ dissect_tapi_client_attach_reply },
+ { TAPI_CLIENT_REQUEST, "ClientRequest",
+ dissect_tapi_client_request_rqst,
+ dissect_tapi_client_request_reply },
+ { TAPI_CLIENT_DETACH, "ClientDetach",
+ dissect_tapi_client_detach_rqst
+ dissect_tapi_client_detach_reply },
{0, NULL, NULL, NULL }
};
Index: packet-dcerpc-tapi.h =================================================================== RCS file: /cvsroot/ethereal/packet-dcerpc-tapi.h,v retrieving revision 1.2 diff -u -r1.2 packet-dcerpc-tapi.h --- packet-dcerpc-tapi.h 28 Aug 2002 21:00:12 -0000 1.2 +++ packet-dcerpc-tapi.h 21 Oct 2003 12:43:07 -0000 @@ -26,8 +26,8 @@ #ifndef __PACKET_DCERPC_TAPI_H #define __PACKET_DCERPC_TAPI_H -#define TAPI_UNKNOWN_00 0x00 -#define TAPI_UNKNOWN_01 0x01 -#define TAPI_UNKNOWN_02 0x02 +#define TAPI_CLIENT_ATTACH 0x00 +#define TAPI_CLIENT_REQUEST 0x01 +#define TAPI_CLIENT_DETACH 0x02 #endif
- Follow-Ups:
- Re: [Ethereal-dev] [packet-dcerpc-tapi.c] Operations names
- From: Ronnie Sahlberg
- Re: [Ethereal-dev] [packet-dcerpc-tapi.c] Operations names
- From: Guy Harris
- Re: [Ethereal-dev] [packet-dcerpc-tapi.c] Operations names
- Prev by Date: [Ethereal-dev] bug in packet-teredo.c?
- Next by Date: Re: [Ethereal-dev] organizing ethereal?
- Previous by thread: Re: [Ethereal-dev] bug in packet-teredo.c?
- Next by thread: Re: [Ethereal-dev] [packet-dcerpc-tapi.c] Operations names
- Index(es):





