diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-09 08:11:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:55 -0500 |
commit | 8752e38c05779b6ff72bb0bf49940ef6afe55184 (patch) | |
tree | 407d3443b924213821979611e5761ba76f7bc8c7 /source4/lib/util_sock.c | |
parent | f613e18d1e587782e94ae614a88ee1df4aa0503e (diff) | |
download | samba-8752e38c05779b6ff72bb0bf49940ef6afe55184.tar.gz samba-8752e38c05779b6ff72bb0bf49940ef6afe55184.tar.bz2 samba-8752e38c05779b6ff72bb0bf49940ef6afe55184.zip |
r11595: added a helper layer to parse streams into individual packets. This is
something that Andrew Bartlett has been asking for for a while, and
when I started having to re-invent this packet parsing code yet again
for SMB2 I decided it was time to do it generically
you use it by providing a "is this a full packet yet?" helper function
to the packet_*() functions, which then handle all the logic of
partial packet buffering.
This also goes to great lengths to operate efficiently, minimising the
number of recv system calls.
(This used to be commit e6c47b954a6f09c53ea419800ce873295fcd0be9)
Diffstat (limited to 'source4/lib/util_sock.c')
0 files changed, 0 insertions, 0 deletions