Home | History | Annotate | Download | only in ip

Lines Matching full:ifindex

723 			int ifindex;
726 ifindex = ll_name_to_index(*argv);
727 if (!ifindex)
730 &ifindex, 4);
732 int ifindex;
735 ifindex = ll_name_to_index(*argv);
736 if (!ifindex)
741 &ifindex, sizeof(ifindex));
743 int ifindex = 0;
746 &ifindex, 4);
948 int ifindex;
950 ifindex = ll_name_to_index(link);
951 if (ifindex == 0) {
956 addattr_l(&req.n, sizeof(req), IFLA_LINK, &ifindex, 4);
1440 static void print_af_stats_attr(FILE *fp, int ifindex, struct rtattr *attr)
1453 fprintf(fp, "%u: %s\n", ifindex,
1454 ll_index_to_name(ifindex));
1471 int ifindex;
1490 if (ctx->ifindex && ifsm->ifindex != ctx->ifindex)
1496 print_af_stats_attr(fp, ifsm->ifindex, tb[IFLA_STATS_AF_SPEC]);
1508 .ifindex = 0,
1530 ctx.ifindex = ll_name_to_index(filter_dev);
1531 if (ctx.ifindex <= 0) {