Lines Matching refs:ifindex
98 int ifindex; /* interface index */
1352 * Returns the ifindex of 'netdev', if successful, as a positive number.
1360 int ifindex;
1367 ifindex = netdev->ifindex;
1371 ifindex = (int)if_nametoindex(netdev_name);
1372 if (ifindex <= 0) {
1377 netdev->ifindex = ifindex;
1382 return (error ? -error : ifindex);