Home | History | Annotate | Download | only in ip

Lines Matching refs:label

48 	char *label;
68 fprintf(stderr, " [ to PREFIX ] [ FLAG-LIST ] [ label PATTERN ]\n");
71 fprintf(stderr, " [ label STRING ] [ scope SCOPE-ID ]\n");
214 if (filter.label &&
216 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0))
393 if (filter.label) {
395 const char *label;
397 label = RTA_DATA(rta_tb[IFA_LABEL]);
399 label = ll_idx_n2a(ifa->ifa_index, b1);
400 if (fnmatch(filter.label, label, 0) != 0)
681 } else if (strcmp(*argv, "label") == 0) {
683 filter.label = *argv;
812 if (filter.pfx.family || filter.label) {
826 if (filter.label) {
828 const char *label;
830 label = RTA_DATA(tb[IFA_LABEL]);
832 label = ll_idx_n2a(ifa->ifa_index, b1);
833 if (fnmatch(filter.label, label, 0) != 0)
964 } else if (strcmp(*argv, "label") == 0) {
1008 fprintf(stderr, "\"dev\" (%s) must match \"label\" (%s).\n", d, l);