dcesrv_core: Add dcesrv_loop_next_packet()
authorVolker Lendecke <vl@samba.org>
Thu, 21 Jan 2021 14:28:31 +0000 (15:28 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 10 Dec 2021 14:02:30 +0000 (14:02 +0000)
commitda90c02b16849038a8fce4f3ab824a41c43bfea9
tree243206c581425bccfeb7ae30e9d87832fe4299b5
parent95659031e4519e9c9222c51737fe177eb5a56a7c
dcesrv_core: Add dcesrv_loop_next_packet()

This is used by the helpers of samba-dcerpcd: When accepting a DCERPC
client, normally the server engine would read the initial bind
packet. In case of samba-dcerpcd the bind packet will already be read
from the socket, so we need to inject it into the rpc server engine
externally.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
librpc/rpc/dcesrv_core.c
librpc/rpc/dcesrv_core.h