1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-27 08:23:49 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
Andrew Tridgell
b4dbe55105 r11618: added a generic '32 bit length prefix' full packet helper to the packet code 2007-10-10 13:45:59 -05:00
Andrew Tridgell
f98d499b2e r11605: added handling of the send queue to the generic packet handling code 2007-10-10 13:45:57 -05:00
Andrew Tridgell
d860eb7956 r11602: added packet_set_serialise() to allow the generic packet layer to
handle optional request serialisation (this is something that is
commonly needed on stream connections)
2007-10-10 13:45:57 -05:00
Andrew Tridgell
e6c47b954a 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.
2007-10-10 13:45:55 -05:00