Searched refs:MACSEC_SA_ATTR_AN (Results 1 – 2 of 2) sorted by relevance
93 MACSEC_SA_ATTR_AN, /* config/dump, u8 0..3 */ enumerator
1539 if (!tb_sa[MACSEC_SA_ATTR_AN]) in get_txsa_from_nl()1542 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_txsa_from_nl()1607 if (!tb_sa[MACSEC_SA_ATTR_AN]) in get_rxsa_from_nl()1610 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_rxsa_from_nl()1639 [MACSEC_SA_ATTR_AN] = { .type = NLA_U8 },1699 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_add_rxsa()1704 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_rxsa()1754 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_rxsa()1943 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_add_txsa()1949 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_txsa()[all …]