summaryrefslogtreecommitdiffstats
path: root/sys/contrib/pf/netinet
Commit message (Collapse)AuthorAgeFilesLines
* Use in_cksum_skip() to calculate in4_cksum instead of doing handrolled magicmlaier2004-08-051-279/+12
| | | | | | | | (that does not compile with !gcc). Moreover we get the benefit for all archs that have a hand optimized in_cksum_skip(). Submitted by: yongari Tested by: me (i386, extensivly), pf4freebsd ML (various)
* Bring diff from the security/pf port. This has code been tested as a portmlaier2004-02-261-0/+168
| | | | | | | | | | | | | for a long time and is run in production use. This is the code present in portversion 2.03 with some additional tweaks. The rather extensive diff accounts for: - locking (to enable pf to work with a giant-free netstack) - byte order difference between OpenBSD and FreeBSD for ip_len/ip_off - conversion from pool(9) to zone(9) - api differences etc. Approved by: bms(mentor) (in general)
* Vendor import of OpenBSD's packet filter (pf) as of OpenBSD 3.4mlaier2004-02-261-0/+219
Approved by: bms(mentor), core (in general)
OpenPOWER on IntegriCloud