Test Information

TitleUse IN6_IS_ADDR_SITELOCAL to test for special IPv6 addresses
CommandLine./tst_is_addr_sitelocal --log=14.html --title=Use IN6_IS_ADDR_SITELOCAL to test for special IPv6 addresses
TestVersionREL_1_1_18
Start2023/01/26 16:32:31
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

16:32:31Start

== IPv6 addresses of site-local scope ==
16:32:31inet_pton(af:AF_INET6, src:"fec0::20c:29ff:fec8:e3b7", dst:0x3fff92792a0)
16:32:31return 1, dst=fec0:0000:0000:0000:020c:29ff:fec8:e3b7
16:32:31IN6_IS_ADDR_SITELOCAL(fec0:0000:0000:0000:020c:29ff:fec8:e3b7)
16:32:31return 1

== IPv6 addresses of link-local scope ==
16:32:31inet_pton(af:AF_INET6, src:"fe80::20c:29ff:fec8:e3b7", dst:0x3fff92792a0)
16:32:31return 1, dst=fe80:0000:0000:0000:020c:29ff:fec8:e3b7
16:32:31IN6_IS_ADDR_SITELOCAL(fe80:0000:0000:0000:020c:29ff:fec8:e3b7)
16:32:31return 0

== IPv6 multicast site local address (FF05::101) ==
16:32:31inet_pton(af:AF_INET6, src:"FF05::101", dst:0x3fff92792a0)
16:32:31return 1, dst=ff05:0000:0000:0000:0000:0000:0000:0101
16:32:31IN6_IS_ADDR_SITELOCAL(ff05:0000:0000:0000:0000:0000:0000:0101)
16:32:31return 0

== IPv6 loopback address (::1) ==
16:32:32IN6_IS_ADDR_SITELOCAL(0000:0000:0000:0000:0000:0000:0000:0001)
16:32:32return 0

OK
16:32:32End