summaryrefslogtreecommitdiffstats
path: root/sys/netns/ns_ip.c
Commit message (Collapse)AuthorAgeFilesLines
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-251-11/+2
| | | | | | | | | | | | | | before adding/removing packets from the queue. Also, the if_obytes and if_omcasts fields should only be manipulated under protection of the mutex. IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on the queue. An IF_LOCK macro is provided, as well as the old (mutex-less) versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which needs them, but their use is discouraged. Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF, which takes care of locking/enqueue, and also statistics updating/start if necessary.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Bring back netns so that Netcon can take over support for it, as agreed.jkh1996-10-171-0/+441
| | | | | This was actually easier than I thought - CVS is smart enough to handle "resurrections" now. :-)
* finish killing off netns. (For some reason, CVS `undeleted' thesewollman1996-02-131-440/+0
| | | | during my last commit.)
* Eliminate sloppy common-style declarations. There should be none left forbde1995-07-291-2/+1
| | | | the LINT configuation.
* Removed redundant newlines that were in some panic strings.dg1995-03-191-2/+2
|
* Added $Id$dg1994-08-021-0/+1
|
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+440
OpenPOWER on IntegriCloud