summaryrefslogtreecommitdiff
path: root/sys/net/pfil.c
AgeCommit message (Expand)Author
2022-08-16micro optimaize for pfil_run_hooks(), ok'ed by ozaki-r@n.o and ryo@n.o.knakahara
2022-05-17pfil(9): Assert pfil lists are not run in interrupt context.riastradh
2022-05-17pfil(9): Assert sleepable when editing pfil lists.riastradh
2020-06-22pfil_psz gets dropped by the compiler because it is unused if !NET_MPSAFE,maxv
2020-04-27Remove inappropriate place for __predict_false.nat
2020-04-27Skip pfil_run_hooks if no packet filter configured in kernel.nat
2020-02-01Fix wrong memory order and switch pfil to atomic_load/store_*.riastradh
2017-03-10need to membar_producer() *before* switching.ryo
2017-01-23Call pserialize_perform and psref_target_destroy only if NET_MPSAFEozaki-r
2017-01-23Add curlwp_bindozaki-r
2017-01-16Make pfil(9) MP-safe (applying psref(9))ryo
2017-01-12* pfil_add_hook() no longer treats PFIL_IFADDR and PFIL_IFNET. delete them fr...ryo
2017-01-04Not to use ph_inout[2]. dir (= PFIL_IN or PFIL_OUT) is 1 or 2, not 0 or 1.ryo
2016-12-26pfil(9) improvements to handle address changes:christos
2013-06-29- Rewrite parts of pfil(9): use array to store hooks and thus be more cachermind
2008-06-23Cosmetic: use LIST_FOREACH(). Join lines.dyoung
2008-06-23Cosmetic: use TAILQ_FOREACH(). Join lines.dyoung
2008-05-29remove clause #3 from my license where there are no othermrg
2005-12-11merge ktrace-lwp.christos
2004-07-27- rename PFIL_NEWIF to PFIL_IFNET, and handle interface detach eventsyamt
2004-07-18pfil_run_hooks: don't dereference 'mp' unless it's a pointer.yamt
2004-06-22prepare PF-related hooks. reviewed by matt, perry, christositojun
2001-11-12add RCSIDslukem
2000-12-28Back out the sledgehammer damage applied by wiz while I was out forthorpej
2000-12-25Back out previous change. It causes NAT to fail, and was CLEARLYwiz
2000-12-22Slight adjustment to how pfil_head's are registered. Instead of athorpej
2000-11-11Restructure the PFIL_HOOKS mechanism a bit:thorpej
2000-02-23For pfil_add_hook(..., PFIL_ALL, ...), if we fail to add the output filter,mycroft
2000-02-22only call pfil_list_add with one of PFIL_IN or PFIL_OUT defineddarrenr
2000-02-22return int from pfil_add_hook and pfil_remove_hook to indicate failuredarrenr
2000-02-22fix from Mike Pelley to add filters in the reverse order for outputdarrenr
2000-02-20pass "struct pfil_head *" to pfil_add_hook and pfil_remove hook ratherdarrenr
2000-02-17Change the use of pfil hooks. There is no longer a single list of alldarrenr
1999-10-10pass a pointer to the list, rather than passing a copy of it, when removingmrg
1999-06-18call pfil_list_add with the right flag, to ensure it goes into the right list.mrg
1998-03-19convert pfil(9) in and out lists from <sys/queue.h> LISTs to TAILQs, andmrg
1997-10-10remove advertising clause from all my licenses.mrg
1996-12-20remove pfil_bad.mrg
1996-10-13backout previous kprintf changechristos
1996-10-10- printf -> kprintf, sprintf -> ksprintfchristos
1996-10-05minor copyright update.mrg
1996-09-14move the packet filter hooks in to a saner location. while i'm here, renamemrg