diff options
author | ae <ae@FreeBSD.org> | 2014-09-10 14:32:07 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2014-09-10 14:32:07 +0000 |
commit | c8498c6b7f34385ec8ecfd268ca8b59bd7b296e4 (patch) | |
tree | a6479f9c217d1061c2d797d26b0c013c62e4536e /tests/sys/kern/unix_seqpacket_test.c | |
parent | d8aaa0480ad6b6338180fa978ed574f0cb35004c (diff) | |
download | FreeBSD-src-c8498c6b7f34385ec8ecfd268ca8b59bd7b296e4.zip FreeBSD-src-c8498c6b7f34385ec8ecfd268ca8b59bd7b296e4.tar.gz |
Add additional checks for IPV6_PKTINFO handling (RFC 3542):
* Return ENETDOWN when interface specified by ipi6_ifindex is not
enabled for IPv6 use.
* Return EADDRNOTAVAIL when ipi6_ifindex specifies an interface, but the
address ipi6_addr is not available for use on that interface.
* Return EINVAL when ipi6_addr is multicast address.
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