cvs commit: src/sys/net pfil.c pfil.h src/sys/netinet ip_input.c ip_output.c src/sys/netinet6 ip6_forward.c ip6_input.c ip6_output.c

Erik P. Skaalerud erik at pentadon.com
Wed Jun 23 12:51:39 PDT 2004


Erik P. Skaalerud wrote:

Er, oops. This was ment to be a discussion in the 'kernel' list, not 
commit. Sorry.

I know you guys are very busy with GCC 3.4 these days, but are 
PFIL_HOOKS going to be default on the first release?

Erik.

Matthew Dillon wrote:

dillon      2004/06/01 13:49:08 PDT

DragonFly src repository

  Modified files:
    sys/net              pfil.c pfil.h     sys/netinet          
ip_input.c ip_output.c     sys/netinet6         ip6_forward.c 
ip6_input.c ip6_output.c   Log:
  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.
    Revision  Changes    Path
  1.2       +24 -14    src/sys/net/pfil.c
  1.2       +12 -2     src/sys/net/pfil.h
  1.26      +11 -7     src/sys/netinet/ip_input.c
  1.13      +6 -4      src/sys/netinet/ip_output.c
  1.8       +9 -6      src/sys/netinet6/ip6_forward.c
  1.17      +11 -7     src/sys/netinet6/ip6_input.c
  1.11      +6 -4      src/sys/netinet6/ip6_output.c

http://www.dragonflybsd.org/cvsweb/src/sys/net/pfil.c.diff?r1=1.1&r2=1.2&f=h 

http://www.dragonflybsd.org/cvsweb/src/sys/net/pfil.h.diff?r1=1.1&r2=1.2&f=h 

http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.25&r2=1.26&f=h 

http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_output.c.diff?r1=1.12&r2=1.13&f=h 

http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_forward.c.diff?r1=1.7&r2=1.8&f=h 

http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_input.c.diff?r1=1.16&r2=1.17&f=h 

http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_output.c.diff?r1=1.10&r2=1.11&f=h 






More information about the Kernel mailing list