Test Information

TitleMaps an interface name into its corresponding index
CommandLine./tst_if_name_to_index --log=1.html --title=Maps an interface name into its corresponding index
TestVersionREL_1_1_18
Start2023/01/26 16:32:00
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

16:32:00Start

== ifname is the name of loopback interface ==
16:32:00if_nametoindex(ifname:"lo")
16:32:00return 1

== ifname is the name of interface Link0 ==
16:32:00if_nametoindex(ifname:"dummy_ipv6")
16:32:00return 125

OK
16:32:00End