summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/utils.h
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2013-01-09 00:36:06 +0000
committerae <ae@FreeBSD.org>2013-01-09 00:36:06 +0000
commit5f7fde904cfb8fa7627b565f2c1a79201a9832fb (patch)
tree364e6e385e9f309ecbb2c2fba361a94d3deda69a /lib/libc/regex/utils.h
parent8d1a456222c0ec267a60f2acee69d14b2c53a9a1 (diff)
downloadFreeBSD-src-5f7fde904cfb8fa7627b565f2c1a79201a9832fb.zip
FreeBSD-src-5f7fde904cfb8fa7627b565f2c1a79201a9832fb.tar.gz
The in6_setscope() function determines the scope zone id of an address
and embeds it into address. Inside the kernel we keep addresses with embedded zone id only for two scopes: link-local and interface-local. For other scopes this function is nop in most cases. To reduce an overhead of locking, first check that address is capable for embedding. Also, handle the loopback address before acquire the lock. Sponsored by: Yandex LLC MFC after: 1 week
Diffstat (limited to 'lib/libc/regex/utils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud