summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/netgraph.h
Commit message (Collapse)AuthorAgeFilesLines
* Back out the previous change to the queue(3) interface.jake2000-05-261-5/+5
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-5/+5
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Macro call to ng_send_dataq() should have been to ng_send_data() instead.archie2000-05-011-5/+5
|
* Use 'type_name' structure field instead of 'typename', which isarchie2000-05-011-0/+1
| | | | | | a C++ reserved work. Add a ng_copy_meta() function.
* Minimal tweak to make the ng_XXX modules depend on netgraph so that theypeter2000-04-291-1/+2
| | | | see its symbols and link ok.
* Two simple changes to the kernel internal API for netgraph modules,julian2000-04-281-7/+21
| | | | | | | to support future work in flow-control and 'packet reject/replace' processing modes. reviewed by: phk, archie
* Some minor prototype tweaks.archie2000-03-131-5/+4
|
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-1/+1
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Add a new function ng_findhook() for finding a node's hook;archie1999-12-031-0/+1
| | | | | | | 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-5/+21
| | | | | | | | | | | | | | | | | | | | | | | 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
* Add typedefs for node methodsjulian1999-11-011-26/+25
| | | | Suggested by phk.
* Start making the contents of the generic framework opaque to the nodes.julian1999-11-011-1/+4
| | | | | 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/+255
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