CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2011/09/19 06:51:52
Modified files: sys/net : if_pflog.c pf.c pf_norm.c pf_osfp.c pfvar.h Log message: Consolidate pf function parameters. Move off and hdrlen into pdesc and change their type from int to u_int32_t. Do not pass struct tcphdr *th and sa_family_t af, it is in pd anyway. Do not use af and pd->af intermixed, the latter makes clear where it comes from. Do not calculate the packet length again if pd already has it. Use pd2.off instead of off2. go go go go don't stop henning@ mpf@