summaryrefslogtreecommitdiffstats
path: root/lib/libnetgraph/sock.c
Commit message (Collapse)AuthorAgeFilesLines
* - Added three new interfaces, NgAllocRecvMsg(), NgAllocRecvAsciiMsg(),ru2004-01-271-0/+18
| | | | | | | | | | | 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
* Use the new defines that include the trailing '\0' in the code.harti2003-11-141-13/+13
| | | | | | | Replace occurences of the magic constant 2 with an offsetof macro call that computes the size of the leading members of the sockaddr. Use strlcpy instead of sprintf where appropriate. Document the new changes in the man page.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Add __FBSDID()s to libnetgraphdillon2001-09-301-2/+3
|
* Have NgMkSockNode() load the socket node type KLD if it's notarchie2000-01-281-1/+18
| | | | already loaded (indicated by EPROTONOSUPPORT from socket(2)).
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+264
Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree
OpenPOWER on IntegriCloud