Lines Matching refs:sa_attr
780 struct rtattr *sa_attr[MACSEC_SA_ATTR_MAX + 1]; in print_tx_sc() local
793 parse_rtattr_nested(sa_attr, MACSEC_SA_ATTR_MAX + 1, a); in print_tx_sc()
794 state = rta_getattr_u8(sa_attr[MACSEC_SA_ATTR_ACTIVE]); in print_tx_sc()
796 rta_getattr_u8(sa_attr[MACSEC_SA_ATTR_AN]), in print_tx_sc()
797 rta_getattr_u32(sa_attr[MACSEC_SA_ATTR_PN]), in print_tx_sc()
799 hexstring_n2a(RTA_DATA(sa_attr[MACSEC_SA_ATTR_KEYID]), in print_tx_sc()
800 RTA_PAYLOAD(sa_attr[MACSEC_SA_ATTR_KEYID]), in print_tx_sc()
802 print_txsa_stats(prefix, sa_attr[MACSEC_SA_ATTR_STATS]); in print_tx_sc()
849 struct rtattr *sa_attr[MACSEC_SA_ATTR_MAX + 1]; in print_rx_sc() local
862 parse_rtattr_nested(sa_attr, MACSEC_SA_ATTR_MAX + 1, a); in print_rx_sc()
863 state = rta_getattr_u8(sa_attr[MACSEC_SA_ATTR_ACTIVE]); in print_rx_sc()
865 rta_getattr_u8(sa_attr[MACSEC_SA_ATTR_AN]), in print_rx_sc()
866 rta_getattr_u32(sa_attr[MACSEC_SA_ATTR_PN]), in print_rx_sc()
868 hexstring_n2a(RTA_DATA(sa_attr[MACSEC_SA_ATTR_KEYID]), in print_rx_sc()
869 RTA_PAYLOAD(sa_attr[MACSEC_SA_ATTR_KEYID]), in print_rx_sc()
871 print_rxsa_stats(prefix, sa_attr[MACSEC_SA_ATTR_STATS]); in print_rx_sc()