summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_auth.c
Commit message (Collapse)AuthorAgeFilesLines
* fix conflictsdarrenr2001-02-041-1/+1
|
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-251-10/+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.
* Follow BSD/OS and NetBSD, keep the ip_id field in network order all the time.ru2000-09-141-1/+1
| | | | Requested by: wollman
* Change __FreeBSD_Version into the proper __FreeBSD_version.roberto2000-08-011-1/+1
| | | | Submitted by: Alain.Thivillon@hsc.fr (Alain Thivillon) (for ip_fil.c)
* fix conflictsdarrenr2000-07-191-1/+1
|
* fix up conflictsdarrenr2000-05-241-0/+1
|
* fix conflictsdarrenr2000-05-241-28/+40
|
* Re add rev 1.11 diffs to ip_fil.h Also discover that I did not undefineguido2000-02-101-1/+2
| | | | | | | CVS_FUBAR (which no longer exists) and thus forgot to add $FreeBSD's. Add them. Approved by: jkh (is part of ipfilter upgrade)
* Bring over ipfilter v3_3_8 kernel sources, including merging theguido2000-02-091-6/+4
| | | | | | | | local modifications. Also fix initializing fr_running in KLD case. Rename ipl_inited to fr_runninhg in mlfk_ipl Approved by: jkh
* Bring over ipfilter kernel sources, including merging the local modifications.guido2000-01-131-6/+7
|
* KERNEL -> _KERNELeivind2000-01-051-1/+1
|
* Revive mlfk_ipl here. This version is slightly changed fromguido1999-12-061-1/+1
| | | | | | | | | | | | | the old one: an unnecessary define (KLD_MODULE) has been deleted and the initialisation of the module is done after domaininit was called to be sure inet is running. Some slight changed were made to ip_auth.c and ip_state.c in order to assure including of sys/systm.h in case we make a kld Make sure ip_fil does nmot include osreldate in kernel mode Remove mlfk_ipl.c from here: no sources allowed in these directories!
* Add kernel parts of revived ipfilter (3.3.3.)guido1999-11-231-0/+538
|
* Nuke the old antique copy of ipfilter from the tree. This is old enoughpeter1999-10-101-508/+0
| | | | | | | | to be dangerous. It will better serve us as a port building a KLD, ala SKIP. The hooks are staying although it would be better to port and use the NetBSD pfil interface rather than have custom hooks.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Staticize some more.eivind1998-11-261-4/+4
|
* Made some disgusting ifdefs even more disgusting to enable the supportbde1998-08-151-2/+2
| | | | | for `u_long cmd' ioctl args if __FreeBSD_version >= 300003. Some ioctls were broken on machines with 32-bit ints and 64-bit longs.
* Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline.peter1998-06-201-1/+4
|
* Some patchups for when this code is compiled in userland (!).peter1998-03-211-1/+4
|
* Make this compile.. There are some unpleasing hacks in here.peter1998-03-211-1/+9
| | | | | A major unifdef session is sorely tempting but would destroy any remaining chance of tracking the original sources.
* Import kernel parts of ipfilter-3.2.1peter1997-11-161-0/+494
OpenPOWER on IntegriCloud