aboutsummaryrefslogtreecommitdiff
path: root/sys/net/pfil.h
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139823
* Add an additional struct inpcb * argument to pfil(9) in order to enableMax Laier2004-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) Notes: svn path=/head/; revision=135920
* Include <sys/_lock.h>'s prerequisite <sys/queue.h> before including theBruce Evans2004-06-191-1/+1
| | | | | | | | | former, not after. Don't hide this bug by including <sys/queue.h> in <sys/_lock.h>. Notes: svn path=/head/; revision=130731
* o update PFIL_HOOKS support to current API used by netbsdSam Leffler2003-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) Notes: svn path=/head/; revision=120386
* Fixed some style bugs in the removal of __P(()). The main ones wereBruce Evans2002-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. Notes: svn path=/head/; revision=93084
* Remove __P.Alfred Perlstein2002-03-191-7/+7
| | | | Notes: svn path=/head/; revision=92725
* Remove extra memory region kept by "struct pfil_head pfil_head_t;".Ruslan Ermilov2001-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 Notes: svn path=/head/; revision=85305
* Replace nonexistent !defined(_LKM) by !defined(KLD_MODULE)Andrey A. Chernov2000-08-011-1/+1
| | | | Notes: svn path=/head/; revision=64081
* Check IPFILTER (options IPFILTER generates) instead of NIPFILTERAndrey A. Chernov2000-08-011-2/+2
| | | | Notes: svn path=/head/; revision=64080
* Nonexistent "ipfilter.h" -> "opt_ipfilter.h"Andrey A. Chernov2000-07-311-1/+1
| | | | | | | Kernel 'make depend' fails otherwise Notes: svn path=/head/; revision=64073
* Back out the previous change to the queue(3) interface.Jake Burkholder2000-05-261-2/+2
| | | | | | | | | It was not discussed and should probably not happen. Requested by: msmith and others Notes: svn path=/head/; revision=60938
* Change the way that the queue(3) structures are declared; don't assume thatJake Burkholder2000-05-231-2/+2
| | | | | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd Notes: svn path=/head/; revision=60833
* Add pfil(9) subroutines and manpage from NetBSD.Darren Reed2000-05-101-0/+81
Notes: svn path=/head/; revision=60317