Lines Matching refs:ifindex
24 if (!d->_present.ifindex)
27 name = if_indextoname(d->ifindex, ifname);
30 printf("[%d]\t", d->ifindex);
67 int ifindex = 0;
70 ifindex = strtol(argv[1], NULL, 0);
81 printf("Select ifc ($ifindex; or 0 = dump; or -2 ntf check): ");
82 scanf("%d", &ifindex);
84 if (ifindex > 0) {
89 netdev_dev_get_req_set_ifindex(req, ifindex);
98 } else if (!ifindex) {
106 } else if (ifindex == -2) {