summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_socketvar.h
Commit message (Collapse)AuthorAgeFilesLines
* In the splnet times, netgraph was functional and synchronous. Nowadays,glebius2005-07-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | an item may be queued and processed later. While this is OK for mbufs, this is a problem for control messages. In the framework: - Add optional callback function pointer to an item. When item gets applied the callback is executed from ng_apply_item(). - Add new flag NG_PROGRESS. If this flag is supplied, then return EINPROGRESS instead of 0 in case if item failed to deliver synchronously and was queued. - Honor NG_PROGRESS in ng_snd_item(). In ng_socket: - When userland sends control message add callback to the item. - If ng_snd_item() returns EINPROGRESS, then sleep. This change fixes possible races in ngctl(8) scripts. Reviewed by: julian Approved by: re (scottl)
* /* -> /*- for license, minor formatting changesimp2005-01-071-2/+3
|
* Use a single style of multiple inclusion protection for Netgraph headers.ru2003-11-111-1/+1
| | | | Reviewed by: archie, harti, emax
* Since neither archie nor I work at Whistle any more, change our emailjulian2000-10-241-1/+1
| | | | | | addresses to be the more usefu @freebsd.org ones so we can keep getting bug-reports. - man pages to follow..
* Back out the previous change to the queue(3) interface.jake2000-05-261-1/+1
| | | | | | 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-1/+1
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Move a structure Netstat needs back out to ng_socketvar.h (yech)julian1999-11-061-0/+2
|
* Re-add this till I can fix netstat to not need it.julian1999-11-051-0/+63
|
* Add the option for a socket node to shut down when the last hookjulian1999-11-051-63/+0
| | | | | to an adjoining node is removed. Also move file scope definitions back within the file, and remove un-needed include file.
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+63
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