Lines Matching defs:label
55 char *label;
78 fprintf(stderr, " [ to PREFIX ] [ FLAG-LIST ] [ label LABEL ] [up]\n");
82 fprintf(stderr, " [ label IFNAME ] [ scope SCOPE-ID ]\n");
639 if (filter.label &&
641 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0))
738 if (filter.label &&
740 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0))
981 if (filter.label) {
983 const char *label;
985 label = RTA_DATA(rta_tb[IFA_LABEL]);
987 label = ll_idx_n2a(ifa->ifa_index, b1);
988 if (fnmatch(filter.label, label, 0) != 0)
1363 if (filter.pfx.family || filter.label) {
1375 if (filter.label) {
1377 const char *label;
1379 label = RTA_DATA(tb[IFA_LABEL]);
1381 label = ll_idx_n2a(ifa->ifa_index, b1);
1382 if (fnmatch(filter.label, label, 0) != 0)
1544 } else if (strcmp(*argv, "label") == 0) {
1546 filter.label = *argv;
1840 } else if (strcmp(*argv, "label") == 0) {
1895 fprintf(stderr, "\"dev\" (%s) must match \"label\" (%s).\n", d, l);