Lines Matching refs:MACSEC_SA_ATTR_AN
1563 if (!tb_sa[MACSEC_SA_ATTR_AN]) in get_txsa_from_nl()
1566 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_txsa_from_nl()
1631 if (!tb_sa[MACSEC_SA_ATTR_AN]) in get_rxsa_from_nl()
1634 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_rxsa_from_nl()
1663 [MACSEC_SA_ATTR_AN] = { .type = NLA_U8 },
1723 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_add_rxsa()
1728 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_rxsa()
1778 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_rxsa()
1967 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_add_txsa()
1973 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_txsa()
2022 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_txsa()
2321 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_upd_sa()
2328 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_upd_sa()
3157 if (nla_put_u8(skb, MACSEC_SA_ATTR_AN, i) || in dump_secy()
3262 if (nla_put_u8(skb, MACSEC_SA_ATTR_AN, i) || in dump_secy()