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

Test Sequence Execution Log

08:40:41Start

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

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

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

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

OK
08:40:42End