Test Information

TitleUse IN6_IS_ADDR_LINKLOCAL to test for special IPv6 addresses
CommandLine./tst_is_addr_linklocal --log=13.html --title=Use IN6_IS_ADDR_LINKLOCAL to test for special IPv6 addresses
TestVersionREL_1_1_18
Start2023/02/03 01:00:39
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

01:00:39Start

== IPv6 addresses of link-local scope ==
01:00:40inet_pton(af:AF_INET6, src:"fe80::20c:29ff:fec8:e3b7", dst:0x3fff2ff8aa0)
01:00:40return 1, dst=fe80:0000:0000:0000:020c:29ff:fec8:e3b7
01:00:40IN6_IS_ADDR_LINKLOCAL(fe80:0000:0000:0000:020c:29ff:fec8:e3b7)
01:00:40return 1

== IPv6 addresses of site-local scope ==
01:00:40inet_pton(af:AF_INET6, src:"fec0::20c:29ff:fec8:e3b7", dst:0x3fff2ff8aa0)
01:00:40return 1, dst=fec0:0000:0000:0000:020c:29ff:fec8:e3b7
01:00:40IN6_IS_ADDR_LINKLOCAL(fec0:0000:0000:0000:020c:29ff:fec8:e3b7)
01:00:40return 0

== IPv6 multicast link local address (FF02::101) ==
01:00:40inet_pton(af:AF_INET6, src:"FF02::101", dst:0x3fff2ff8aa0)
01:00:40return 1, dst=ff02:0000:0000:0000:0000:0000:0000:0101
01:00:40IN6_IS_ADDR_LINKLOCAL(ff02:0000:0000:0000:0000:0000:0000:0101)
01:00:40return 0

== IPv6 loopback address (::1) ==
01:00:40IN6_IS_ADDR_LINKLOCAL(0000:0000:0000:0000:0000:0000:0000:0001)
01:00:40return 0

OK
01:00:40End