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/17 08:40:42
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

08:40:42Start

== IPv6 addresses of site-local scope ==
08:40:42inet_pton(af:AF_INET6, src:"fec0::20c:29ff:fec8:e3b7", dst:0x7ffc8147b4b0)
08:40:42return 1, dst=fec0:0000:0000:0000:020c:29ff:fec8:e3b7
08:40:42IN6_IS_ADDR_SITELOCAL(fec0:0000:0000:0000:020c:29ff:fec8:e3b7)
08:40:42return 1

== IPv6 addresses of link-local scope ==
08:40:42inet_pton(af:AF_INET6, src:"fe80::20c:29ff:fec8:e3b7", dst:0x7ffc8147b4b0)
08:40:42return 1, dst=fe80:0000:0000:0000:020c:29ff:fec8:e3b7
08:40:42IN6_IS_ADDR_SITELOCAL(fe80:0000:0000:0000:020c:29ff:fec8:e3b7)
08:40:42return 0

== IPv6 multicast site local address (FF05::101) ==
08:40:42inet_pton(af:AF_INET6, src:"FF05::101", dst:0x7ffc8147b4b0)
08:40:42return 1, dst=ff05:0000:0000:0000:0000:0000:0000:0101
08:40:42IN6_IS_ADDR_SITELOCAL(ff05:0000:0000:0000:0000:0000:0000:0101)
08:40:42return 0

== IPv6 loopback address (::1) ==
08:40:42IN6_IS_ADDR_SITELOCAL(0000:0000:0000:0000:0000:0000:0000:0001)
08:40:42return 0

OK
08:40:42End