summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-01 23:04:23 +0200
committerSimo Sorce <idra@samba.org>2010-07-08 00:27:55 -0400
commit389a6774264b273fa210dcd30669d58a5c0db615 (patch)
tree9e98741fd7be9b881e5a60d00da2b4f95a126290 /librpc
parenteeb034e72a0e3ed167ffe3c08162311a7c5d2fdf (diff)
downloadsamba-389a6774264b273fa210dcd30669d58a5c0db615.tar.gz
samba-389a6774264b273fa210dcd30669d58a5c0db615.tar.bz2
samba-389a6774264b273fa210dcd30669d58a5c0db615.zip
dcerpc: add ncacn_packet_header to IDL.
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/dcerpc.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/librpc/idl/dcerpc.idl b/librpc/idl/dcerpc.idl
index 3dfe97231d..49a4aae03e 100644
--- a/librpc/idl/dcerpc.idl
+++ b/librpc/idl/dcerpc.idl
@@ -317,6 +317,18 @@ interface dcerpc
/* little-endian flag */
const uint8 DCERPC_DREP_LE = 0x10;
+ /* header only version of ncacn_packet */
+ typedef [public] struct {
+ uint8 rpc_vers; /* RPC version */
+ uint8 rpc_vers_minor; /* Minor version */
+ dcerpc_pkt_type ptype; /* Packet type */
+ uint8 pfc_flags; /* Fragmentation flags */
+ uint8 drep[4]; /* NDR data representation */
+ uint16 frag_length; /* Total length of fragment */
+ uint16 auth_length; /* authenticator length */
+ uint32 call_id; /* Call identifier */
+ } ncacn_packet_header;
+
typedef [public] struct {
uint8 rpc_vers; /* RPC version */
uint8 rpc_vers_minor; /* Minor version */