Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to -current by me.
Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to NetBSD-current by me.
pf_routable: use the return value of rtcache_init instead of ro.ro_rt.
on NetBSD, use setuid instead of setresuid.
make this build.
Create/destroy groups for the interface on attachment/detachment.
Filtering on groups now works.
Make this compile when #ifdef _LKM.
Add new files.
Add back an accidentally removed file.
Add a few to do items.
Putting bpfilter.h/pf.h/pflog.h under _KERNEL_OPT was a mistake, revert this.
pfdetach: stop the purge thread.
Remove "XXXPF incomplete".
Clean up 'pfi_kif' instances.
pfdetach: don't purge just one state, but purge them all.
Add PACKET_TAG_ALTQ_QID and use it for pf/ALTQ. The ALTQ code compiles now.

ok yamt@
- Comment out more of the interface groups code.
- Reduce diff with openbsd.
Reduce diff with openbsd.
Add RCS ID.
Add new ftp-proxy, IP Filter support wil be added later.