summaryrefslogtreecommitdiff
path: root/sys/net/pf_if.c
AgeCommit message (Expand)Author
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-12-02replace some malloc multiplies with mallocarry. ok deraadt henningTed Unangst
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-01-227x bcopy -> memcpy, impossibility of overlaps verified. ok benno dlgHenning Brauer
2014-01-21introduce a way to match "any" interface, excluding loopback ones.Henning Brauer
2014-01-08Name the local variables for struct ifaddr consistently "ifa".Alexander Bluhm
2014-01-03Make queues disappear correctly on interfaces being destroyed.pelikan
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-08-30Missing splx on return path.Christiano F. Haesbaert
2013-06-20Revert previous and unbreak asr, the new include should be protected.Martin Pieuchot
2013-06-20Allocate the various hook head descriptors as part of the ifnetMartin Pieuchot
2012-12-28change the malloc(9) flags from M_DONTWAIT to M_NOWAIT; OK millert@Gleydson Soares
2011-07-28fix set skip group matching: don't match partial strings, i. e. 'set skip onHenning Brauer
2011-05-20Change 'set skip on <...>' to work with interface groups.Stuart Henderson
2010-06-28Clean up iterface stats handling:Ryan Thomas McBride
2010-01-18Convert pf debug logging to using log()/addlog(), a single standardisedRyan Thomas McBride
2010-01-12First pass at removing the 'pf_pool' mechanism for translation and routingRyan Thomas McBride
2009-08-25Clearly copy the whole, and nothing but the whole, old buffer intoKenneth R Westerback
2009-08-25Fix order of memcpy() arguments so data is copied from src to dest,Kenneth R Westerback
2009-03-09Make the DIOCSETIFFLAG, DIOCSETLIMIT, and DIOCSETTIMEOUT ioctlsRyan Thomas McBride
2008-11-24Fix splasserts seen in pr 5987 by propagating a flag that discribesMike Belopuhov
2008-06-14Also do the PR_ZERO dance here. This was held back on Henning's requestMichael Knudsen
2008-06-14pool_get()s not in interrupt context should not be PR_NOWAIT, butHenning Brauer
2008-05-18KNFRyan Thomas McBride
2007-11-07Check for pfi_kif's that are neither groups nor have a real interface.Marco Pfatschbacher
2007-09-27Add loginterface support for groups.Marco Pfatschbacher
2007-09-15malloc sweep:Henning Brauer
2007-09-01since theHenning Brauer
2007-07-13remove obsolete pfi_statehead and pfik_w_states; ok henning@Markus Friedl
2006-12-13use IN6_IS_SCOPE_EMBED to check kernel-internal form addressesJun-ichiro itojun Hagino
2006-01-30fix updating of tables associated with interface groups used inHenning Brauer
2005-09-28Improve the safety of pf IOCTLs, taking into account that some paths can sleep.Christopher Pascoe
2005-08-18Rearrange pf_state and pfi_kif so that the parts of the structure neededChristopher Pascoe
2005-08-07Reset kif->pfik_ifp to NULL before calling pfi_kif_unref(), similar changeChristopher Pascoe
2005-08-02Instead of copying a table structure so we can mask off a bit beforeChristopher Pascoe
2005-07-20need to reset kif->pfik_group to NULL before calling pfi_kif_unref() so it canHenning Brauer
2005-06-06use a define instead of hardcoding "all" in 3 placesHenning Brauer
2005-06-05const'ify the char * parameter to pfi_kif_get and pfi_group_changeHenning Brauer
2005-06-02tsc, ryan left debug crap behindHenning Brauer
2005-05-28Remove duplicate pfi_ifs.Ryan Thomas McBride
2005-05-27-in our current model, a kif has either a pointer to an interface (ifnet) orHenning Brauer
2005-05-26turd polishingHenning Brauer
2005-05-26repair (self) notation - just attach "self" to the "all" groupHenning Brauer
2005-05-25when an interface joins or leaves a group call back into pf so it canHenning Brauer
2005-05-24add support for brace notation for interface groups, i. e. (testgroup) matchesHenning Brauer
2005-05-23further cleanup: don't mimic ifnet and add hooks and the dohooks() stuff toHenning Brauer
2005-05-23repair updates for the tables used for (interface) notationHenning Brauer
2005-05-22no need to search for the kif before callig pf_get_kif, it does that for usHenning Brauer