diff options
author | ru <ru@FreeBSD.org> | 2004-01-27 20:25:14 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-01-27 20:25:14 +0000 |
commit | adc82a1e80759afba2cfae432d4ee1ca190be1f4 (patch) | |
tree | 92ee6204e54cff03c751ded7b2d193159acbf5f2 /lib/libnetgraph/Makefile | |
parent | f24f6452fe6f2143c7c182fae610d62cfa8994b8 (diff) | |
download | FreeBSD-src-adc82a1e80759afba2cfae432d4ee1ca190be1f4.zip FreeBSD-src-adc82a1e80759afba2cfae432d4ee1ca190be1f4.tar.gz |
- 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
Diffstat (limited to 'lib/libnetgraph/Makefile')
-rw-r--r-- | lib/libnetgraph/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libnetgraph/Makefile b/lib/libnetgraph/Makefile index 227da19..ff8a3be 100644 --- a/lib/libnetgraph/Makefile +++ b/lib/libnetgraph/Makefile @@ -16,9 +16,12 @@ MLINKS+= netgraph.3 NgSendMsg.3 MLINKS+= netgraph.3 NgSendAsciiMsg.3 MLINKS+= netgraph.3 NgSendMsgReply.3 MLINKS+= netgraph.3 NgRecvMsg.3 +MLINKS+= netgraph.3 NgAllocRecvMsg.3 MLINKS+= netgraph.3 NgRecvAsciiMsg.3 +MLINKS+= netgraph.3 NgAllocRecvAsciiMsg.3 MLINKS+= netgraph.3 NgSendData.3 MLINKS+= netgraph.3 NgRecvData.3 +MLINKS+= netgraph.3 NgAllocRecvData.3 MLINKS+= netgraph.3 NgSetDebug.3 MLINKS+= netgraph.3 NgSetErrLog.3 |