mirror of
https://github.com/samba-team/samba.git
synced 2025-11-16 20:23:50 +03:00
r11627: give the caller much more control over the stream to packet process,
allowing it to specify the initial read size (thus preventing over-reading) and to stop the recv process when needed. This is used by the dcerpc socket code, which relies on not getting packets when it isn't ready for them
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
03c7da27a0
commit
f869fd674e
@@ -39,7 +39,10 @@ void packet_set_tls(struct packet_context *pc, struct tls_context *tls);
|
||||
void packet_set_socket(struct packet_context *pc, struct socket_context *sock);
|
||||
void packet_set_event_context(struct packet_context *pc, struct event_context *ev);
|
||||
void packet_set_serialise(struct packet_context *pc, struct fd_event *fde);
|
||||
void packet_set_initial_read(struct packet_context *pc, uint32_t initial_read);
|
||||
void packet_recv(struct packet_context *pc);
|
||||
void packet_recv_disable(struct packet_context *pc);
|
||||
void packet_recv_enable(struct packet_context *pc);
|
||||
NTSTATUS packet_send(struct packet_context *pc, DATA_BLOB blob);
|
||||
void packet_queue_run(struct packet_context *pc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user