Test Information

TitleConvert an text string address into its AF_INET6 numeric binary form
CommandLine./tst_inet_pton_inet6 --log=7.html --title=Convert an text string address into its AF_INET6 numeric binary form
TestVersionREL_1_1_18
Start2023/01/17 08:40:38
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

08:40:38Start

== source address string is ::1 ==
08:40:38inet_pton(af:AF_INET6, src:"::1", dst:0x7fffc924f820)
08:40:38return 1, dst=0000:0000:0000:0000:0000:0000:0000:0001

== source address string is ::FFFF:192.168.0.1 ==
08:40:38inet_pton(af:AF_INET6, src:"::FFFF:192.168.0.1", dst:0x7fffc924f820)
08:40:38return 1, dst=0000:0000:0000:0000:0000:ffff:c0a8:0001

== source address string is ::192.168.0.1 ==
08:40:38inet_pton(af:AF_INET6, src:"::192.168.0.1", dst:0x7fffc924f820)
08:40:38return 1, dst=0000:0000:0000:0000:0000:0000:c0a8:0001

== source address string is ::FFFF:0:192.168.0.1 ==
08:40:38inet_pton(af:AF_INET6, src:"::FFFF:0:192.168.0.1", dst:0x7fffc924f820)
08:40:38return 1, dst=0000:0000:0000:0000:ffff:0000:c0a8:0001

== source address string is 192.168.0.1 ==
08:40:38inet_pton(af:AF_INET6, src:"192.168.0.1", dst:0x7fffc924f820)
08:40:38return 0

== source address string is ::FFFFF:1 ==
08:40:39inet_pton(af:AF_INET6, src:"::FFFFF:1", dst:0x7fffc924f820)
08:40:39return 0

== source address string is ::HH:1 ==
08:40:39inet_pton(af:AF_INET6, src:"::HH:1", dst:0x7fffc924f820)
08:40:39return 0

== source address string is ::FFFF:192.168.0.1:1 ==
08:40:39inet_pton(af:AF_INET6, src:"::FFFF:192.168.0.1:1", dst:0x7fffc924f820)
08:40:39return 0

OK
08:40:39End