Home
last modified time | relevance | path

Searched refs:ifdata (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Dnettest.c343 struct ifreq ifdata; in get_ifidx() local
349 memset(&ifdata, 0, sizeof(ifdata)); in get_ifidx()
351 strcpy(ifdata.ifr_name, ifname); in get_ifidx()
359 rc = ioctl(sd, SIOCGIFINDEX, (char *)&ifdata); in get_ifidx()
366 return ifdata.ifr_ifindex; in get_ifidx()