summaryrefslogtreecommitdiffstats
path: root/sys/net/pfil.h
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Add an additional struct inpcb * argument to pfil(9) in order to enablemlaier2004-09-291-4/+5
| | | | | | | | | | | | | | | | | | | passing along socket information. This is required to work around a LOR with the socket code which results in an easy reproducible hard lockup with debug.mpsafenet=1. This commit does *not* fix the LOR, but enables us to do so later. The missing piece is to turn the filter locking into a leaf lock and will follow in a seperate (later) commit. This will hopefully be MT5'ed in order to fix the problem for RELENG_5 in forseeable future. Suggested by: rwatson A lot of work by: csjp (he'd be even more helpful w/o mentor-reviews ;) Reviewed by: rwatson, csjp Tested by: -pf, -ipfw, LINT, csjp and myself MFC after: 3 days LOR IDs: 14 - 17 (not fixed yet)
* Include <sys/_lock.h>'s prerequisite <sys/queue.h> before including thebde2004-06-191-1/+1
| | | | | | former, not after. Don't hide this bug by including <sys/queue.h> in <sys/_lock.h>.
* o update PFIL_HOOKS support to current API used by netbsdsam2003-09-231-18/+50
| | | | | | | | | | | o revamp IPv4+IPv6+bridge usage to match API changes o remove pfil_head instances from protosw entries (no longer used) o add locking o bump FreeBSD version for 3rd party modules Heavy lifting by: "Max Laier" <max@love2party.net> Supported by: FreeBSD Foundation Obtained from: NetBSD (bits of pfil.h and pfil.c)
* Fixed some style bugs in the removal of __P(()). The main ones werebde2002-03-241-2/+1
| | | | | | not removing tabs before "__P((", and not outdenting continuation lines to preserve non-KNF lining up of code with parentheses. Switch to KNF formatting and/or rewrap the whole prototype in some cases.
* Remove __P.alfred2002-03-191-7/+7
|
* Remove extra memory region kept by "struct pfil_head pfil_head_t;".ru2001-10-221-1/+1
| | | | | | | Seems to be a typo for typedef, but we don't want this non-style(9) typedef anyway. PR: kern/31356
* Replace nonexistent !defined(_LKM) by !defined(KLD_MODULE)ache2000-08-011-1/+1
|
* Check IPFILTER (options IPFILTER generates) instead of NIPFILTERache2000-08-011-2/+2
|
* Nonexistent "ipfilter.h" -> "opt_ipfilter.h"ache2000-07-311-1/+1
| | | | Kernel 'make depend' fails otherwise
* Back out the previous change to the queue(3) interface.jake2000-05-261-2/+2
| | | | | | 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-2/+2
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Add pfil(9) subroutines and manpage from NetBSD.darrenr2000-05-101-0/+81
OpenPOWER on IntegriCloud