dcerpc.idl: replace dcerpc_response._pad with a uint8 reserved
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Oct 2015 14:00:40 +0000 (16:00 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 26 Oct 2016 09:20:13 +0000 (11:20 +0200)
commit81d730edb59d3ab000fc28b23c3758fffca60c98
tree500252ff14c0560938ff23d8e4da942f8591e3ca
parent071fe8d50fbf60e9da076093203fa40ffda2672b
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>
librpc/idl/dcerpc.idl