summaryrefslogtreecommitdiffstats
path: root/lib/libnetgraph/netgraph.3
Commit message (Collapse)AuthorAgeFilesLines
* - Added three new interfaces, NgAllocRecvMsg(), NgAllocRecvAsciiMsg(),ru2004-01-271-1/+40
| | | | | | | | | | | 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
* mdoc(7) cleanup.ru2004-01-271-39/+72
|
* Use the new defines that include the trailing '\0' in the code.harti2003-11-141-2/+2
| | | | | | | 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.
* The .Fn functioncharnier2003-06-081-18/+33
|
* english(4) police.schweikh2002-12-271-1/+1
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* mdoc(7) police: markup nits.ru2001-08-271-1/+2
|
* Rename the DIAGNOSTICS section to RETURN VALUES and describe thebrian2001-08-241-4/+10
| | | | | | | | return values a little more. Specifically, mention that a return of 0 from NgRecvData() and NgRecvMsg() means the socket has been closed. Suggested by: jkh
* Explain what the return value from NgRecvMsg() and NgRecvData() means,brian2001-08-241-0/+6
| | | | specifically that 0 means the socket has been closed.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-3/+3
|
* Correct cross-references:sobomax2001-06-051-2/+2
| | | | | | | | | | | | ng_bpf.8 --> ng_bpf.4 ng_ether.8 --> ng_ether.4 ng_iface.8 --> ng_iface.4 ng_pppoe.8 --> ng_pppoe.4 ng_socket.8 --> ng_socket.4 ng_tty.8 --> ng_tty.4 ng_{type}.4 --> /dev/null MFC after: 1 week
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* - Make sure the message token returned by NgSendMsg() is non-negativearchie2000-06-211-0/+5
| | | | | | - Have NgSendAsciiMsg() return the same token as NgSendMsg() - Document that NgSendMsg() and NgSendAsciiMsg() return the token - Add MLINKS for the functions defined in netgraph(3)
* Move netgraph node type man pages from section 8 to section 4.archie2000-05-041-3/+3
|
* Introduce .Lb macro to netgraph library manpagephantom2000-04-221-0/+2
|
* Have NgMkSockNode() load the socket node type KLD if it's notarchie2000-01-281-1/+4
| | | | already loaded (indicated by EPROTONOSUPPORT from socket(2)).
* Manual page style work.julian1999-12-211-16/+37
| | | | | Submitted by: Alexey Zelkin <phantom@FreeBSD.org> thanks!
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-6/+62
| | | | | | | | | | | | | | | | | | | | | | | NGM_BINARY2ASCII, which convert control messages to ASCII and back. This allows control messages to be sent and received in ASCII form using ngctl(8), which makes ngctl a lot more useful. This also allows all the type-specific debugging code in libnetgraph to go away -- instead, we just ask the node itself to do the ASCII translation for us. Currently, all generic control messages are supported, as well as messages associated with the following node types: async, cisco, ksocket, and ppp. See /usr/share/examples/netgraph/ngctl for an example of using this. Also give ngctl(8) the ability to print out incoming data and control messages at any time. Eventually nghook(8) may be subsumed. Several other misc. bug fixes. Reviewed by: julian
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+211
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