pf: Update to OpenBSD 4.2
authorJan Lentfer <Jan.Lentfer@web.de>
Fri, 27 Aug 2010 20:01:56 +0000 (22:01 +0200)
committerJan Lentfer <Jan.Lentfer@web.de>
Thu, 9 Sep 2010 18:40:09 +0000 (20:40 +0200)
commit315a7da3d68fcfb2e65c94e5d9bb3ac34ed7b595
tree6553e5fc7c337aa8b08d0b9a21d6a2caa1b9531e
parent0bb7d8c82a64940013681cf515d16f3e62eb7e3c
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
36 files changed:
sys/net/altq/altq_cbq.c
sys/net/altq/altq_fairq.c
sys/net/altq/altq_hfsc.c
sys/net/altq/altq_priq.c
sys/net/altq/altq_red.c
sys/net/altq/altq_subr.c
sys/net/altq/altq_var.h
sys/net/if.c
sys/net/if_var.h
sys/net/pf/if_pflog.c
sys/net/pf/if_pflog.h
sys/net/pf/if_pfsync.c
sys/net/pf/if_pfsync.h
sys/net/pf/pf.c
sys/net/pf/pf_if.c
sys/net/pf/pf_ioctl.c
sys/net/pf/pf_norm.c
sys/net/pf/pf_subr.c
sys/net/pf/pf_table.c
sys/net/pf/pfvar.h
sys/netinet/ip_carp.c
sys/netinet/ip_carp.h
sys/sys/mbuf.h
sys/sys/sockio.h
usr.sbin/ftp-proxy/filter.c
usr.sbin/ftp-proxy/filter.h
usr.sbin/ftp-proxy/ftp-proxy.8
usr.sbin/ftp-proxy/ftp-proxy.c
usr.sbin/pfctl/parse.y
usr.sbin/pfctl/pf_print_state.c
usr.sbin/pfctl/pfctl.8
usr.sbin/pfctl/pfctl.c
usr.sbin/pfctl/pfctl.h
usr.sbin/pfctl/pfctl_altq.c
usr.sbin/pflogd/pflogd.8
usr.sbin/pflogd/pflogd.c