summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2013-06-04 19:07:59 +0000
committerhenning <henning@openbsd.org>2013-06-04 19:07:59 +0000
commitf6cfeb8e09e40b291d040f33ffb694cdb2f0063f (patch)
tree696d7ee32ab4ed007ad9f12390d03916d011b6fd /sys/netinet6
parentadd a pointer to the protocol checksum header field to pf_pdesc and set (diff)
downloadwireguard-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')
0 files changed, 0 insertions, 0 deletions