Lines Matching refs:rtattr
377 struct rtattr *attr_sa; in do_modify_nl()
383 struct rtattr *attr_rxsc; in do_modify_nl()
537 static int validate_dump(struct rtattr **attrs) in validate_dump()
545 static int validate_secy_dump(struct rtattr **attrs) in validate_secy_dump()
561 static void print_flag(FILE *f, struct rtattr *attrs[], const char *desc, in print_flag()
593 static void print_attrs(const char *prefix, struct rtattr *attrs[]) in print_attrs()
626 static void print_one_stat(const char **names, struct rtattr **attr, int idx, in print_one_stat()
648 static void print_txsc_stats(const char *prefix, struct rtattr *attr) in print_txsc_stats()
650 struct rtattr *stats[MACSEC_TXSC_STATS_ATTR_MAX + 1]; in print_txsc_stats()
687 static void print_secy_stats(const char *prefix, struct rtattr *attr) in print_secy_stats()
689 struct rtattr *stats[MACSEC_SECY_STATS_ATTR_MAX + 1]; in print_secy_stats()
723 static void print_rxsa_stats(const char *prefix, struct rtattr *attr) in print_rxsa_stats()
725 struct rtattr *stats[MACSEC_SA_STATS_ATTR_MAX + 1]; in print_rxsa_stats()
756 static void print_txsa_stats(const char *prefix, struct rtattr *attr) in print_txsa_stats()
758 struct rtattr *stats[MACSEC_SA_STATS_ATTR_MAX + 1]; in print_txsa_stats()
777 struct rtattr *txsc_stats, struct rtattr *secy_stats, in print_tx_sc()
778 struct rtattr *sa) in print_tx_sc()
780 struct rtattr *sa_attr[MACSEC_SA_ATTR_MAX + 1]; in print_tx_sc()
781 struct rtattr *a; in print_tx_sc()
819 static void print_rxsc_stats(const char *prefix, struct rtattr *attr) in print_rxsc_stats()
821 struct rtattr *stats[MACSEC_RXSC_STATS_ATTR_MAX + 1]; in print_rxsc_stats()
847 struct rtattr *rxsc_stats, struct rtattr *sa) in print_rx_sc()
849 struct rtattr *sa_attr[MACSEC_SA_ATTR_MAX + 1]; in print_rx_sc()
850 struct rtattr *a; in print_rx_sc()
879 struct rtattr *attrs[MACSEC_ATTR_MAX + 1], *sc, *c; in process()
880 struct rtattr *attrs_secy[MACSEC_SECY_ATTR_MAX + 1]; in process()
936 struct rtattr *sc_attr[MACSEC_RXSC_ATTR_MAX + 1]; in process()
1019 static void macsec_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in macsec_print_opt()