cvs commit: src/lib/libnetgraph Makefile msg.c netgraph.3
netgraph.h sock.c
Ruslan Ermilov
ru at FreeBSD.org
Tue Jan 27 12:25:51 PST 2004
ru 2004/01/27 12:25:14 PST
FreeBSD src repository
Modified files:
lib/libnetgraph Makefile msg.c netgraph.3 netgraph.h
sock.c
Log:
- Added three new interfaces, NgAllocRecvMsg(), NgAllocRecvAsciiMsg(),
and NgAllocRecvData(), that dynamically allocate buffer for a binary
message, an ascii message, and a data packet, respectively. The size
of the allocated buffer is equal to the socket's receive buffer size
to guarantee that a message or a data packet is not truncated.
- Get rid of the static size buffer in NgSendAsciiMsg().
OK'ed by: archie, julian
Revision Changes Path
1.9 +3 -0 src/lib/libnetgraph/Makefile
1.9 +45 -8 src/lib/libnetgraph/msg.c
1.21 +40 -1 src/lib/libnetgraph/netgraph.3
1.4 +4 -1 src/lib/libnetgraph/netgraph.h
1.6 +18 -0 src/lib/libnetgraph/sock.c
More information about the cvs-src
mailing list