From 389a6774264b273fa210dcd30669d58a5c0db615 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 1 Apr 2009 23:04:23 +0200 Subject: [PATCH] dcerpc: add ncacn_packet_header to IDL. Guenther Signed-off-by: Simo Sorce --- librpc/idl/dcerpc.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 */ -- 2.34.1