diff options
author | 2011-07-23 21:17:47 +0000 | |
---|---|---|
committer | 2011-07-23 21:17:47 +0000 | |
commit | 90b3c57e947867f00b29e63b9488fc6d4e91b1d3 (patch) | |
tree | e894a1676e7cc7577d2121086971715fc48a47eb /lib/libc/regex/regexec.c | |
parent | Add missing .Sm macros (from matthew@). (diff) | |
download | wireguard-openbsd-90b3c57e947867f00b29e63b9488fc6d4e91b1d3.tar.xz wireguard-openbsd-90b3c57e947867f00b29e63b9488fc6d4e91b1d3.zip |
Replace the IPv6 header walking loop in pf_test_state_icmp() with
the common function pf_walk_header6(). For that, pf_walk_header6()
can now extract both the information wether it is a fragment and
the final protocol if it is the first fragment. This allows to
match the icmp6 too big packet of a first fragment to the reassembled
packet's state. This is neccesary if a refragmented fragment is
to big for the Path-MTU.
Note that pd.proto contains the real protocol number for the first
fragment and IPPROTO_FRAGMENT for later fragments. pd.virtual_protocol
is set to PF_VPROTO_FRAGMENT for all fragments.
ok mcbride@
Diffstat (limited to 'lib/libc/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions