summaryrefslogtreecommitdiff
path: root/lib/libnetgraph
Commit message (Collapse)AuthorAgeFilesLines
* Use the new defines that include the trailing '\0' in the code.Hartmut Brandt2003-11-144-21/+27
| | | | | | | | | | 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. Notes: svn path=/head/; revision=122649
* The .Fn functionPhilippe Charnier2003-06-081-18/+33
| | | | Notes: svn path=/head/; revision=116028
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-1/+1
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317
* Zap now-unused SHLIB_MINORPeter Wemm2002-09-281-1/+0
| | | | Notes: svn path=/head/; revision=104073
* Fix bugs in NgSendMsg() and NgSendAsciiMsg() where the wrong tokenArchie Cobbs2001-10-251-2/+2
| | | | | | | | | | value could be returned when the debug level was non-zero. Submitted by: Harti Brandt <brandt@fokus.gmd.de> MFC after: 5 days Notes: svn path=/head/; revision=85456
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-1/+1
| | | | Notes: svn path=/head/; revision=84306
* Add __FBSDID()s to libnetgraphMatthew Dillon2001-09-303-6/+9
| | | | Notes: svn path=/head/; revision=84215
* mdoc(7) police: markup nits.Ruslan Ermilov2001-08-271-1/+2
| | | | Notes: svn path=/head/; revision=82398
* Rename the DIAGNOSTICS section to RETURN VALUES and describe theBrian Somers2001-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 Notes: svn path=/head/; revision=82297
* Explain what the return value from NgRecvMsg() and NgRecvData() means,Brian Somers2001-08-241-0/+6
| | | | | | | specifically that 0 means the socket has been closed. Notes: svn path=/head/; revision=82275
* Mark some functions as __printflike() and/or taking const char * argumentsKris Kennaway2001-08-201-2/+2
| | | | | | | | | instead of char *. MFC after: 2 weeks Notes: svn path=/head/; revision=81975
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79754
* Set WARNS=2 on libraries that compile cleanly with it.Dima Dorfman2001-07-151-2/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=79752
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-061-3/+3
| | | | Notes: svn path=/head/; revision=79366
* Correct cross-references:Maxim Sobolev2001-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 Notes: svn path=/head/; revision=77760
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74870
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015
* - Make sure the message token returned by NgSendMsg() is non-negativeArchie Cobbs2000-06-213-4/+28
| | | | | | | | | - 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) Notes: svn path=/head/; revision=61922
* Fix buffer overflow bug in NgSendAsciiMsg().Archie Cobbs2000-06-021-1/+1
| | | | Notes: svn path=/head/; revision=61188
* Move netgraph node type man pages from section 8 to section 4.Archie Cobbs2000-05-041-3/+3
| | | | Notes: svn path=/head/; revision=59974
* Fix a bug handling the debug level when displaying control messagesArchie Cobbs2000-04-281-9/+15
| | | | | | | in their ASCII forms at debug levels >= 3. Notes: svn path=/head/; revision=59732
* Introduce .Lb macro to netgraph library manpageAlexey Zelkin2000-04-221-0/+2
| | | | Notes: svn path=/head/; revision=59513
* Have NgMkSockNode() load the socket node type KLD if it's notArchie Cobbs2000-01-283-2/+24
| | | | | | | already loaded (indicated by EPROTONOSUPPORT from socket(2)). Notes: svn path=/head/; revision=56708
* Replace beforeinstall target with new variables used by .mk system.Rodney W. Grimes2000-01-141-4/+1
| | | | | | | Reviewed by: marcel, and make world Notes: svn path=/head/; revision=55955
* Remove -g compiler flag.Marcel Moolenaar2000-01-031-1/+1
| | | | Notes: svn path=/head/; revision=55336
* Manual page style work.Julian Elischer1999-12-211-16/+37
| | | | | | | | Submitted by: Alexey Zelkin <phantom@FreeBSD.org> thanks! Notes: svn path=/head/; revision=54927
* Missed part of previous commit.Archie Cobbs1999-12-031-0/+4
| | | | Notes: svn path=/head/; revision=54100
* Recognize NGM_BPF_COOKIE.Archie Cobbs1999-12-031-0/+1
| | | | Notes: svn path=/head/; revision=54098
* Add two new generic control messages, NGM_ASCII2BINARY andArchie Cobbs1999-11-306-254/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=53913
* The "acfcomp" field is not in the structure anymore. There may be a betterOllivier Robert1999-11-191-1/+0
| | | | | | | | | way to do that but it fixes buildworld. World broken by: archie :-) Notes: svn path=/head/; revision=53421
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.Julian Elischer1999-10-217-0/+1235
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 Notes: svn path=/head/; revision=52419