diff options
author | ae <ae@FreeBSD.org> | 2015-07-29 10:53:42 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2015-07-29 10:53:42 +0000 |
commit | 8538c4f6118d0b86fb4aa28e9e782a0a56426b0c (patch) | |
tree | 976538a5e7b0ca0573a3a0b920a08112c6332617 /tests/sys/kern/unix_seqpacket_test.c | |
parent | 5c775011251cc0508427d900395dff435704d445 (diff) | |
download | FreeBSD-src-8538c4f6118d0b86fb4aa28e9e782a0a56426b0c.zip FreeBSD-src-8538c4f6118d0b86fb4aa28e9e782a0a56426b0c.tar.gz |
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
Diffstat (limited to 'tests/sys/kern/unix_seqpacket_test.c')
0 files changed, 0 insertions, 0 deletions