Home | History | Annotate | Download | only in ip

Lines Matching full:ifindex

55 	int ifindex;
65 int ifindex;
374 static int do_modify_nl(enum cmd c, enum macsec_nl_commands cmd, int ifindex,
381 addattr32(&req.n, MACSEC_BUFLEN, MACSEC_ATTR_IFINDEX, ifindex);
452 static int do_modify_txsa(enum cmd c, int argc, char **argv, int ifindex)
474 return do_modify_nl(c, cmd, ifindex, NULL, &txsa);
477 static int do_modify_rxsci(enum cmd c, int argc, char **argv, int ifindex)
484 rxsc.ifindex = ifindex;
502 return do_modify_nl(c, cmd, rxsc.ifindex, &rxsc, &rxsa);
507 int ifindex;
512 ifindex = ll_name_to_index(*argv);
513 if (!ifindex) {
523 return do_modify_txsa(c, argc-1, argv+1, ifindex);
525 return do_modify_rxsci(c, argc-1, argv+1, ifindex);
533 int ifindex;
882 int ifindex;
904 ifindex = rta_getattr_u32(attrs[MACSEC_ATTR_IFINDEX]);
916 if (filter.ifindex && ifindex != filter.ifindex)
922 printf("%d: %s: ", ifindex, ll_index_to_name(ifindex));
949 static int do_dump(int ifindex)
955 filter.ifindex = ifindex;
973 int ifindex;
978 ifindex = ll_name_to_index(*argv);
979 if (ifindex == 0) {
986 return do_dump(ifindex);