aboutsummaryrefslogtreecommitdiff
path: root/sys/netns/ns_ip.c
Commit message (Collapse)AuthorAgeFilesLines
* Finish driving a stake through the heart of netns and the associatedPeter Wemm2003-03-051-429/+0
| | | | | | | | | ifdefs scattered around the place - its dead Jim! The SMB stuff had stolen AF_NS, make it official. Notes: svn path=/head/; revision=111926
* Update netisr handling; Each SWI now registers its queue, and all queueJonathan Lemon2003-03-041-4/+1
| | | | | | | | | | | | | drain routines are done by swi_net, which allows for better queue control at some future point. Packets may also be directly dispatched to a netisr instead of queued, this may be of interest at some installations, but currently defaults to off. Reviewed by: hsu, silby, jayanth, sam Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=111888
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-3/+3
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-3/+3
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-1/+1
| | | | Notes: svn path=/head/; revision=102412
* Lock down the network interface queues. The queue mutex must be obtainedJonathan Lemon2000-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. Notes: svn path=/head/; revision=69152
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-221-1/+1
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Bring back netns so that Netcon can take over support for it, as agreed.Jordan K. Hubbard1996-10-171-0/+441
| | | | | | | | This was actually easier than I thought - CVS is smart enough to handle "resurrections" now. :-) Notes: svn path=/head/; revision=18998
* finish killing off netns. (For some reason, CVS `undeleted' theseGarrett Wollman1996-02-131-440/+0
| | | | | | | during my last commit.) Notes: svn path=/head/; revision=14094
* Eliminate sloppy common-style declarations. There should be none left forBruce Evans1995-07-291-2/+1
| | | | | | | the LINT configuation. Notes: svn path=/head/; revision=9759
* Removed redundant newlines that were in some panic strings.David Greenman1995-03-191-2/+2
| | | | Notes: svn path=/head/; revision=7170
* Added $Id$David Greenman1994-08-021-0/+1
| | | | Notes: svn path=/head/; revision=1817
* BSD 4.4 Lite Kernel SourcesRodney W. Grimes1994-05-241-0/+440
Notes: svn path=/head/; revision=1541