mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
8752e38c05
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 e6c47b954a
)
10 lines
218 B
Makefile
10 lines
218 B
Makefile
|
|
################################################
|
|
# Start SUBSYSTEM LIBPACKET
|
|
[SUBSYSTEM::LIBPACKET]
|
|
INIT_OBJ_FILES = \
|
|
packet.o
|
|
NOPROTO=YES
|
|
# End SUBSYSTEM LIBPACKET
|
|
################################################
|