Kernel part of PF
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 19 Sep 2004 22:32:48 +0000 (22:32 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 19 Sep 2004 22:32:48 +0000 (22:32 +0000)
commit02742ec659233383d28a5a7a34abfd58a088a8d0
tree6fbe3c83678417f7f9f7391bb94a07a06f5d43ef
parent58f92ffe823809dfd2425af4985efeaf841b81ab
Kernel part of PF

Ported-by:
- Max Layer (original patch set, FreeBSD PF maintainer)
- Devon O'Dell, Simon 'corecode' Schubert (integration and DragonFly specific
   changes)

In contrast to FreeBSD and OpenBSD, use direct flags in pkthdr instead of
m_tags. This reduces allocation and processing overhead.

Keep the IP header in Host Byte Order like the rest of the tree assumes.

Module support has a memory leak for vm_zones when unloading pf.ko.
29 files changed:
sys/boot/forth/loader.conf
sys/conf/files
sys/config/LINT
sys/i386/conf/LINT
sys/kern/uipc_mbuf.c
sys/net/Makefile
sys/net/bpf.h
sys/net/if_types.h
sys/net/pf/Makefile [new file with mode: 0644]
sys/net/pf/if_pflog.c [new file with mode: 0644]
sys/net/pf/if_pflog.h [new file with mode: 0644]
sys/net/pf/if_pfsync.c [new file with mode: 0644]
sys/net/pf/if_pfsync.h [new file with mode: 0644]
sys/net/pf/pf.c [new file with mode: 0644]
sys/net/pf/pf_if.c [new file with mode: 0644]
sys/net/pf/pf_ioctl.c [new file with mode: 0644]
sys/net/pf/pf_norm.c [new file with mode: 0644]
sys/net/pf/pf_osfp.c [new file with mode: 0644]
sys/net/pf/pf_subr.c [new file with mode: 0644]
sys/net/pf/pf_table.c [new file with mode: 0644]
sys/net/pf/pfvar.h [new file with mode: 0644]
sys/netinet/icmp_var.h
sys/netinet/in.h
sys/netinet/in_cksum.c
sys/netinet/in_proto.c
sys/netinet/ip_icmp.c
sys/netinet6/in6_ifattach.c
sys/sys/in_cksum.h
sys/sys/mbuf.h