summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_base.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-3/+3
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Don't assume *lasthook is initialized in ng_path2node().archie2000-05-021-2/+2
|
* Use 'type_name' structure field instead of 'typename', which isarchie2000-05-011-1/+21
| | | | | | a C++ reserved work. Add a ng_copy_meta() function.
* A temporary band-aid for ng_base. It works for some people, a betterpeter2000-05-011-6/+3
| | | | | | fix will follow. Submitted by: Gary Jennejohn <garyj@muc.de>
* Minimal tweak to make the ng_XXX modules depend on netgraph so that theypeter2000-04-291-0/+2
| | | | see its symbols and link ok.
* Two simple changes to the kernel internal API for netgraph modules,julian2000-04-281-22/+57
| | | | | | | to support future work in flow-control and 'packet reject/replace' processing modes. reviewed by: phk, archie
* Fix uninitialized variable.archie2000-04-121-1/+1
| | | | | PR: kern/17911 Submitted by: Tom Pavel <pavel@alum.mit.edu>
* Some minor prototype tweaks.archie2000-03-131-1/+1
|
* Remove a bunch of un-needed includes.julian1999-12-071-1/+0
| | | | Submitted by: phk@freebsd.org
* Add a new function ng_findhook() for finding a node's hook;archie1999-12-031-14/+25
| | | | | | | if the node type provides a more efficient implementation than the normal linear scan, use it. Reviewed by: julian
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-0/+319
| | | | | | | | | | | | | | | | | | | | | | | 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
* Change the prototype of the strto* routines to make the secondarchie1999-11-241-1/+1
| | | | | | | | | | | parameter a char ** instead of a const char **. This make these kernel routines consistent with the corresponding libc userland routines. Which is actually 'correct' is debatable, but consistency and following the spec was deemed more important in this case. Reviewed by (in concept): phk, bde
* Use KASSERT() instead of old #ifdef DIAGNOSTICS.archie1999-11-191-14/+22
| | | | Add more INVARIANTS-enabled sanity checking.
* Remove a null pointer referencejulian1999-11-091-1/+1
| | | | Submitted by: Brian Somers (brian@freebsd.org)
* Be more accepting about the format of node IDs.julian1999-11-071-2/+2
| | | | Submitted by: Brian Somers <brian@Awfulhak.org>
* Move isfoo() and friends to the newly created sys/ctype.h.phk1999-11-031-0/+1
| | | | Urged by: bde
* Simplify checking/parsing of strings using strtoul(), isdigit(), etc.archie1999-11-021-29/+13
|
* Start making the contents of the generic framework opaque to the nodes.julian1999-11-011-25/+50
| | | | | This step: IDs are no-longer the address of the node. Reviewd by: Archie@freebsd.org
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+1633
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