summaryrefslogtreecommitdiff
path: root/examples/pcap2nbench/ethernet.cpp
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-22 18:55:40 -0700
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-09-23 08:41:04 -0700
commitbe0ed310b335b5098f2ba475a709c1832de10127 (patch)
treeca03e7bdfc162d40e72268bd7bfad5694af5d348 /examples/pcap2nbench/ethernet.cpp
parent148d4fa6899abab05481efae593cfc43cfe21d3c (diff)
downloadsamba-be0ed310b335b5098f2ba475a709c1832de10127.tar.gz
samba-be0ed310b335b5098f2ba475a709c1832de10127.tar.bz2
samba-be0ed310b335b5098f2ba475a709c1832de10127.zip
s4:irpc: add padding to the IPRC header for 8 byte alignment
As we marshall the iprc header and the payload to the ndr_push context, we should pad the irpc header to let the payload start at an 8 byte boundary. This way we get the alignment still be correct if we remove the header before passing the raw payload to the caller. As we use IRPC more and more for complex NDR marshalled structures we need to get this right, in order to not get random ndr_pull failures. metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Diffstat (limited to 'examples/pcap2nbench/ethernet.cpp')
0 files changed, 0 insertions, 0 deletions