summaryrefslogtreecommitdiff
path: root/sys/net/if_pfsync.c
AgeCommit message (Expand)Author
2021-01-04Minor refactoring in pf(4). Note that struct pfsync_state is noAlexander Bluhm
2020-12-12Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.jan
2020-08-24Remove ptr_array from struct pf_rulesetkn
2020-08-21Leave default ifq_maxlen handling to ifq_init()kn
2020-08-11Run start routing without KERNEL_LOCK()kn
2020-07-29pfsync(4) holds pointer to corresponding `ifnet' as `sc_sync_if'. Thismvs
2020-07-10Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.Patrick Wildt
2020-07-10Change users of IFQ_PURGE() to use the "new" API.Patrick Wildt
2020-06-28state import should accept AF_INET/AF_INET6 onlyAlexandr Nedvedicky
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-04-12Stop processing packets under non-exclusive (read) netlock.Martin Pieuchot
2020-04-11Avoid triggering KASSERT for bogus reason in pfsync_sendout with PFSYNC_DEBUG.Stefan Sperling
2020-04-11fix build with PFSYNC_DEBUG by switching a format string from %d to %zdStefan Sperling
2019-11-07remove the detach and linkstate hooks when the parent is going away.David Gwynne
2019-11-07turn the linkstate hooks into a task list, like the detach hooks.David Gwynne
2019-11-06replace the hooks used with if_detachhooks with a task list.David Gwynne
2019-06-10Use mallocarray(9) & put some free(9) sizes for M_IPMOPTS allocations.Martin Pieuchot
2019-06-04pfsync_sendout() requires PF_LOCK()Alexandr Nedvedicky
2019-02-10"non-existant" is one of those words that don't exist, so use "non-existent"Peter Hessler
2018-10-03Fix a race condition that affects pfsync interface deletion.Visa Hankala
2018-10-02- pfsync: avoid a recursion on PF_LOCKAlexandr Nedvedicky
2018-09-11- moving state look up outside of PF_LOCK()Alexandr Nedvedicky
2018-08-24- cosmetic tweak to if_pfsync.cAlexandr Nedvedicky
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-01-09Creating a cloned interface could return ENOMEM due to temporaryAlexander Bluhm
2017-11-20Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare runningMartin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-06-09- pfsync_input() must grab PF_LOCKAlexandr Nedvedicky
2017-05-27Remove useless splnet()/splx() dances.Martin Pieuchot
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-04-14Pass down the address family through the pr_input calls. ThisAlexander Bluhm
2017-04-11Partially revert previous mallocarray conversions that containDavid Hill
2017-04-09Use mallocarray to allocate multicast group memberships.David Hill
2017-04-05When building counter memory in preparation to copy to userland, alwaysTheo de Raadt
2017-03-11Add a detachhook to pfsync(4) which deals with the syncdev going away.Stefan Sperling
2017-02-20pfsync(4) percpu countersJeremie Courreges-Anglas
2017-01-29Change the IPv4 pr_input function to the way IPv6 is implemented,Alexander Bluhm
2017-01-25Since raw_input() and route_input() are gone from pr_input, we canAlexander Bluhm
2017-01-23Flag pseudo-interfaces as such in order to call add_net_randomness()Martin Pieuchot
2017-01-20pfsync_update_net_tdb() is only called at IPL_SOFTNET, no need for aMartin Pieuchot
2017-01-20No need to handle SIOCAIFADDR in drivers, it's never passed down toMartin Pieuchot
2016-12-19Timer sending packets need to grab the NET_LOCK().Martin Pieuchot
2016-11-22Fold union pf_headers buffer into struct pf_pdesc (enabled by pfvar_priv.h).Richard Procter
2016-11-14Instead of passing an extra mbuf pointer to pf_route(), it shouldAlexander Bluhm
2016-10-27Pass a struct pf_pdesc to pf_route() like it is done in the otherAlexander Bluhm
2016-10-04Convert timeouts that need a process context to timeout_set_proc(9).Martin Pieuchot
2016-09-27roll back turning RB into RBT until i get better at this process.David Gwynne
2016-09-27move pf from the RB macros to the RBT functions.David Gwynne
2016-09-21Remove recursive splsoftnet() calls, from David Hill.Martin Pieuchot
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne