freebsd-skq/sys/netpfil
ae 8538c4f611 Reduce overhead of ipfw's me6 opcode.
Skip checks for IPv6 multicast addresses.
Use in6_localip() for global unicast.
And for IPv6 link-local addresses do search in the IPv6 addresses list.
Since LLA are stored in the kernel internal form, use
IN6_ARE_MASKED_ADDR_EQUAL() macro with lla_mask for addresses comparison.
lla_mask has zero bits in the second word, where we keep sin6_scope_id.

Obtained from:	Yandex LLC
Sponsored by:	Yandex LLC
2015-07-29 10:53:42 +00:00
..
ipfw Reduce overhead of ipfw's me6 opcode. 2015-07-29 10:53:42 +00:00
pf pf: Always initialise pf_fragment.fr_flags 2015-07-29 06:35:36 +00:00