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/02/03 01:00:09
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

01:00:09Start

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

== ifname is the name of interface Link0 ==
01:00:09if_nametoindex(ifname:"dummy_ipv6")
01:00:09return 3

OK
01:00:09End