Lines Matching defs:ifindex
24 if (!d->_present.ifindex)
27 name = if_indextoname(d->ifindex, ifname);
30 printf("[%d]\t", d->ifindex);
55 int ifindex = 0;
58 ifindex = strtol(argv[1], NULL, 0);
69 printf("Select ifc ($ifindex; or 0 = dump; or -2 ntf check): ");
70 scanf("%d", &ifindex);
72 if (ifindex > 0) {
77 netdev_dev_get_req_set_ifindex(req, ifindex);
86 } else if (!ifindex) {
94 } else if (ifindex == -2) {