CVSROOT: /cvs Module name: src Changes by: henn...@cvs.openbsd.org 2013/06/04 13:07:59
Modified files: sys/net : pf.c Log message: 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