summaryrefslogtreecommitdiff
path: root/sys/net/if_pfsync.c
AgeCommit message (Expand)Author
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
2016-08-23pool_setiplDavid Gwynne
2016-04-29Make if_output() return EAFNOSUPPORT instead of just dropping packetsKenneth R Westerback
2016-03-29- packet must keep reference to statekeyAlexandr Nedvedicky
2016-01-31- m_pkthdr.pf.statekey changes are not ready for 5.9, I must back them outAlexandr Nedvedicky
2016-01-27white space tweaks. no functional change.David Gwynne
2016-01-26- state keys imported by if_pfsync trip refcnt != ~0 AssertAlexandr Nedvedicky
2015-12-05remove old lint annotationsTed Unangst
2015-12-03Rename pf_unlink_state() to pf_remove_state() so the name does notAlexander Bluhm
2015-11-10flush the send queue in start routines with IFQ_PURGE.David Gwynne
2015-10-30Clean up handling of 'clear states' pfsync packets.Mike Belopuhov
2015-09-11Kill yet another argument to functions in IPv6. This time ip6_output'sClaudio Jeker
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-10include the "set prio" values.Henning Brauer
2015-01-24Userland (base & ports) was adapted to always include <netinet/in.h>Theo de Raadt
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-12-17Remove the "multicast_" prefix from the fields a multicast-only struct.Martin Pieuchot
2014-12-17Use an interface index instead of a pointer for multicast options.Martin Pieuchot
2014-11-23length argument for some free() calls; ok dougTheo de Raadt
2014-11-06Remove unneeded netinet6/ip6_divert.h include.Lawrence Teo
2014-10-17reset all the pfsync packet state before calling ip_output inDavid Gwynne
2014-09-08remove uneeded route.h includesJonathan Gray