diff options
author | 2013-06-04 19:07:59 +0000 | |
---|---|---|
committer | 2013-06-04 19:07:59 +0000 | |
commit | f6cfeb8e09e40b291d040f33ffb694cdb2f0063f (patch) | |
tree | 696d7ee32ab4ed007ad9f12390d03916d011b6fd /sys/netinet6/raw_ip6.c | |
parent | add a pointer to the protocol checksum header field to pf_pdesc and set (diff) | |
download | wireguard-openbsd-f6cfeb8e09e40b291d040f33ffb694cdb2f0063f.tar.xz wireguard-openbsd-f6cfeb8e09e40b291d040f33ffb694cdb2f0063f.zip |
fold pf_test_state_{tcp,udp,other} into one pf_test_state.
the _icmp variant stays because it is completely different.
factor out the synproxy code into a new pf_synproxy() for readability.
pf_setup_pdesc sets us up with access to ports, cksum etc in a protocol
independent matter, so we don't need many protocol switches here.
tcp and udp were almost identical, the _other case changes significantly -
not too unlikely this fixes a subtle bug or two in that case.
ok ryan benno bluhm mikeb
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
0 files changed, 0 insertions, 0 deletions