summaryrefslogtreecommitdiffstats
path: root/contrib/diff
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2014-09-11 12:33:37 +0000
committerae <ae@FreeBSD.org>2014-09-11 12:33:37 +0000
commit3c663988a4af61a45e6a2d3c80c46f6ae41497fc (patch)
tree2eafb08933b120c4d1b2e7b127644df801228bca /contrib/diff
parent9e4c2e60325e025e2d03da9eeecd353a4dba10b7 (diff)
downloadFreeBSD-src-3c663988a4af61a45e6a2d3c80c46f6ae41497fc.zip
FreeBSD-src-3c663988a4af61a45e6a2d3c80c46f6ae41497fc.tar.gz
Introduce new scope related functions.
* new macro to remove magic number - IPV6_ADDR_SCOPES_COUNT; * sa6_checkzone() - this function checks sockaddr_in6 structure for correctness of sin6_scope_id. It also can fill correct value sometimes. * in6_getscopezone() - this function returns scope zone id for specified interface and scope. * in6_getlinkifnet() - this function returns struct ifnet for corresponding zone id of link-local scope. Obtained from: Yandex LLC Sponsored by: Yandex LLC
Diffstat (limited to 'contrib/diff')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud