git: pf: Update to OpenBSD 4.2

Jan Lentfer lentferj at crater.dragonflybsd.org
Thu Sep 9 11:42:11 PDT 2010


commit 315a7da3d68fcfb2e65c94e5d9bb3ac34ed7b595
Author: Jan Lentfer <Jan.Lentfer at web.de>
Date:   Fri Aug 27 22:01:56 2010 +0200

    pf: Update to OpenBSD 4.2
    
    	All sorts of informations is now stored directly in
    	the mbuf header instead of a seperate mbuf tag. This
    	brings in a 100% performance increase in comparison
    	to OpenBSD 4.1. For DragonFly this basically means
    	this is the same performance as in 2.6, but we are
    	equal again with OpenBSD's pf data structures.
    
    	Necesary additions:
    
    	sys/net: add more interface groups related functions
    
    		if_creategroup()
    		if_addgroup()
    		if_delgroup()
    		if_getgroup()
    		if_getgroupmembers()
    
    		Imported from OpenBSD
    
    	carp: add carp_group_demote_adj()
    
    	altq: re-add check of packet tagging
    
    	fairq & red support, UDP nat'ing, reassembly fixed by Matthew Dillon

Summary of changes:
 sys/net/altq/altq_cbq.c         |    6 +-
 sys/net/altq/altq_fairq.c       |   24 +-
 sys/net/altq/altq_hfsc.c        |    5 +-
 sys/net/altq/altq_priq.c        |    5 +-
 sys/net/altq/altq_red.c         |   12 +-
 sys/net/altq/altq_subr.c        |   11 -
 sys/net/altq/altq_var.h         |    1 -
 sys/net/if.c                    |  203 ++++
 sys/net/if_var.h                |   13 +
 sys/net/pf/if_pflog.c           |   12 +-
 sys/net/pf/if_pflog.h           |    3 -
 sys/net/pf/if_pfsync.c          |  125 ++-
 sys/net/pf/if_pfsync.h          |   69 +-
 sys/net/pf/pf.c                 | 2280 ++++++++++++++-------------------------
 sys/net/pf/pf_if.c              |    8 +-
 sys/net/pf/pf_ioctl.c           |  266 +++--
 sys/net/pf/pf_norm.c            |   44 +-
 sys/net/pf/pf_subr.c            |   19 +-
 sys/net/pf/pf_table.c           |  108 +-
 sys/net/pf/pfvar.h              |  261 ++++--
 sys/netinet/ip_carp.c           |   23 +
 sys/netinet/ip_carp.h           |    1 +
 sys/sys/mbuf.h                  |   40 +-
 sys/sys/sockio.h                |    1 +
 usr.sbin/ftp-proxy/filter.c     |    9 +-
 usr.sbin/ftp-proxy/filter.h     |    4 +-
 usr.sbin/ftp-proxy/ftp-proxy.8  |   22 +-
 usr.sbin/ftp-proxy/ftp-proxy.c  |   55 +-
 usr.sbin/pfctl/parse.y          |   15 +-
 usr.sbin/pfctl/pf_print_state.c |   34 +-
 usr.sbin/pfctl/pfctl.8          |   66 +-
 usr.sbin/pfctl/pfctl.c          |   41 +-
 usr.sbin/pfctl/pfctl.h          |    8 +-
 usr.sbin/pfctl/pfctl_altq.c     |    4 +-
 usr.sbin/pflogd/pflogd.8        |   19 +-
 usr.sbin/pflogd/pflogd.c        |   62 +-
 36 files changed, 1833 insertions(+), 2046 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/315a7da3d68fcfb2e65c94e5d9bb3ac34ed7b595


-- 
DragonFly BSD source repository





More information about the Commits mailing list