summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-10-13 16:00:40 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-10-26 11:20:13 +0200
commit81d730edb59d3ab000fc28b23c3758fffca60c98 (patch)
tree500252ff14c0560938ff23d8e4da942f8591e3ca /librpc/idl
parent071fe8d50fbf60e9da076093203fa40ffda2672b (diff)
downloadsamba-81d730edb59d3ab000fc28b23c3758fffca60c98.tar.gz
dcerpc.idl: replace dcerpc_response._pad with a uint8 reserved
typedef struct { uint32 alloc_hint; uint16 context_id; uint8 cancel_count; [value(0)] uint8 reserved; [flag(NDR_REMAINING)] DATA_BLOB stub_and_verifier; } dcerpc_response; - the generic dcerpc header has a size of 16 bytes - alloc_hint, context_id, cancel_count and reserved are 8 bytes together So stub_and_verifier is 8 byte aligned at offset 24. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/dcerpc.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/dcerpc.idl b/librpc/idl/dcerpc.idl
index 01816eeae7b..c295d7a0cf5 100644
--- a/librpc/idl/dcerpc.idl
+++ b/librpc/idl/dcerpc.idl
@@ -146,7 +146,7 @@ interface dcerpc
uint32 alloc_hint;
uint16 context_id;
uint8 cancel_count;
- [flag(NDR_ALIGN8)] DATA_BLOB _pad;
+ [value(0)] uint8 reserved;
[flag(NDR_REMAINING)] DATA_BLOB stub_and_verifier;
} dcerpc_response;