dcerpc: add ncacn_packet_header to IDL.
authorGünther Deschner <gd@samba.org>
Wed, 1 Apr 2009 21:04:23 +0000 (23:04 +0200)
committerSimo Sorce <idra@samba.org>
Thu, 8 Jul 2010 04:27:55 +0000 (00:27 -0400)
Guenther

Signed-off-by: Simo Sorce <idra@samba.org>
librpc/idl/dcerpc.idl

index 3dfe97231d1a02e372a61ff6cdac30ab4fe22f6b..49a4aae03e01c7669a344502709924fd301370c1 100644 (file)
@@ -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 */