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

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jun 1 13:50:08 PDT 2004


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 Commits mailing list