History log of /dragonfly/sys/net/pfil.c (Results 1 – 25 of 26)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1
# eca1e48f 28-Mar-2020 Sascha Wildner <saw@online.de>

kernel: Remove <sys/mplock2.h> from all files that do not need it.


Revision tags: v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc
# bff82488 20-Mar-2018 Aaron LI <aly@aaronly.me>

<net/if.h>: Do not include <net/if_var.h> for _KERNEL

* Clean up an ancient leftover: do not include <net/if_var.h> from <net/if.h>
for kernel stuffs.

* Adjust various files to include the necess

<net/if.h>: Do not include <net/if_var.h> for _KERNEL

* Clean up an ancient leftover: do not include <net/if_var.h> from <net/if.h>
for kernel stuffs.

* Adjust various files to include the necessary <net/if_var.h> header.

NOTE:
I have also tested removing the inclusion of <net/if.h> from <net/if_var.h>,
therefore add <net/if.h> inclusion for those files that need it but only
included <net/if_var.h>. For some files, the header inclusion orderings are
also adjusted.

show more ...


Revision tags: v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc
# a9821961 12-Feb-2017 Sepherosa Ziehau <sephe@dragonflybsd.org>

net: Make sure that local variable is really used.


# 48e93b2f 08-Jan-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Cleanup PFIL_MPSAFE

* All pfil use cases are MPSAFE, so remove the PFIL_MPSAFE flag entirely
and remove the old mplock wrappers that tested it.


Revision tags: v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5
# d0930e0d 13-Mar-2015 Matthew Dillon <dillon@apollo.backplane.com>

ipfw/ipfw3 - Add pre-load sysctl to default filter to accept

* Add sysctl and tunable 'net.filters_default_to_accept', which defaults
to off. If this variable is set to non-zero prior to loading

ipfw/ipfw3 - Add pre-load sysctl to default filter to accept

* Add sysctl and tunable 'net.filters_default_to_accept', which defaults
to off. If this variable is set to non-zero prior to loading the ipfw
or ipfw3 modules, IPFW will default to allowing all packets through instead
of denying all packets.

* It is necessary to use this feature for netbooted systems with NFS roots
as the system will not be able to load the rules table after kldloading
the related module(s) otherwise.

show more ...


Revision tags: v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2
# 5337421c 02-May-2013 Sepherosa Ziehau <sephe@dragonflybsd.org>

netisr: Inline netisr_cpuport() and netisr_curport()

These two functions do nothing more than just return pointer to the
element in the array.

Per our header file naming convention, put these two f

netisr: Inline netisr_cpuport() and netisr_curport()

These two functions do nothing more than just return pointer to the
element in the array.

Per our header file naming convention, put these two functions in
net/netisr2.h

show more ...


# ec7f7fc8 28-Apr-2013 Sepherosa Ziehau <sephe@dragonflybsd.org>

netisr: Function renaming; no functional changes

This cleans up code for keeping input packets' hash instead of masking
the hash with ncpus2_mask. netisr_hashport(), which maps packet hash
to netis

netisr: Function renaming; no functional changes

This cleans up code for keeping input packets' hash instead of masking
the hash with ncpus2_mask. netisr_hashport(), which maps packet hash
to netisr port, will be added soon.

show more ...


Revision tags: v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0
# 3abced87 11-Sep-2012 Nuno Antunes <nuno.antunes@gmail.com>

netisr: rename cpu_portfn() to netisr_portfn().

No functional change.

Searched and replaced with:
find sys/ -type f -exec sed -i "" 's/cpu_portfn/netisr_portfn/g' '{}' \;


Revision tags: v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1
# 77e0b69a 20-Sep-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

Add PFIL_MPSAFE flag to give hint to pfil(9) that the underlying firewall
code is MPSAFE. Set this flag for ipfw(4).


# 77d9cd11 16-Sep-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

Save flags pass by caller


# caa0af9f 16-Sep-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

struct packet_filter_hook is actually implementation detail; hide it


# d66da3ad 14-Sep-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

Make pfil(4) MPSAFE using following way:
- The pfil hook lists alteration is serialized by netisr0 (rev 1.10)
- Duplicate the pfil hook lists to be altered.
- Alter the pfil hook lists' duplication
-

Make pfil(4) MPSAFE using following way:
- The pfil hook lists alteration is serialized by netisr0 (rev 1.10)
- Duplicate the pfil hook lists to be altered.
- Alter the pfil hook lists' duplication
- Save the original pfil hook lists, install the altered pfil hook lists
- Sync all network msgports to make sure that no one sees the original
lists after this syncing
- Free the original pfil hook lists

show more ...


# f0fad8e1 14-Sep-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

Serialize pfil hooks' adding/removing by netisr0


# 3bc01464 14-Sep-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

typedef pfil_func_t


# 7f8565be 14-Sep-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

Merge pfil_hook_get() into pfil_run_hooks(), use TAILQ_FOREACH afterwards.


# 94171836 14-Sep-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Use {TAILQ,LIST}_FOREACH
- Minor style changes


# 03b72fbe 14-Sep-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

pfil_hook_get() is only used in pfil.c, so hide it


# 702cc4db 19-Oct-2006 Sascha Wildner <swildner@dragonflybsd.org>

Adjust man pages, comments, messages and some defunct driver generation
scripts to the recent malloc(9) -> kmalloc(9) renaming.


# efda3bd0 05-Sep-2006 Matthew Dillon <dillon@dragonflybsd.org>

Rename malloc->kmalloc, free->kfree, and realloc->krealloc. Pass 1


# 1dfd4cb6 14-Jul-2004 Jeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>

Forced commit to, belatedly, note that this (rev 1.1) was:

Submitted by: Max Laier <max@love2party.net>


# afabe90c 01-Jun-2004 Matthew Dillon <dillon@dragonflybsd.org>

Add a pfil_has_hooks() inline to shortcut calls to pfil_run_hooks(),
allowing us to include PFIL_HOOKS without introducing any performance impact
when no hooks are being used. This is in prep for ma

Add a pfil_has_hooks() inline to shortcut calls to pfil_run_hooks(),
allowing us to include PFIL_HOOKS without introducing any performance impact
when no hooks are being used. This is in prep for making PFIL_HOOKS
permanent.

show more ...


# 9e99d0a2 02-Dec-2003 Jeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>

Add the packet filtering files.


# 002c1265 14-Sep-2010 Matthew Dillon <dillon@apollo.backplane.com>

network - Major netmsg retooling, part 1

* Remove all the netmsg shims and make all pr_usrreqs and some proto->pr_*
requests directly netmsg'd.

* Fix issues with tcp implied connects and tcp6->tc

network - Major netmsg retooling, part 1

* Remove all the netmsg shims and make all pr_usrreqs and some proto->pr_*
requests directly netmsg'd.

* Fix issues with tcp implied connects and tcp6->tcp4 fallbacks with
implied connects.

* Fix an issue with a stack-based udp netmsg (allocate it)

* Consolidate struct ip6protosw and struct protosw into a single
structure and normalize the API functions which differed between
the two (primarily proto->pr_input()).

* Remove protosw->pr_soport()

* Replace varargs protocol *_input() functions (ongoing) with fixed
arguments.

show more ...


# 684a93c4 20-Dec-2009 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Move mplock to machine-independent C

* Remove the per-platform mplock code and move it all into
machine-independent code: sys/mplock2.h and kern/kern_mplock.c.

* Inline the critical path

kernel - Move mplock to machine-independent C

* Remove the per-platform mplock code and move it all into
machine-independent code: sys/mplock2.h and kern/kern_mplock.c.

* Inline the critical path.

* When a conflict occurs kern_mplock.c will KTR log the file and line
number of both the holder and conflicting acquirer. Set
debug.ktr.giant_enable=-1 to enable conflict logging.

show more ...


12