Lines Matching refs:MACSEC_SA_ATTR_AN
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()
1998 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_txsa()
2297 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_upd_sa()
2304 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_upd_sa()
3137 if (nla_put_u8(skb, MACSEC_SA_ATTR_AN, i) || in dump_secy()
3242 if (nla_put_u8(skb, MACSEC_SA_ATTR_AN, i) || in dump_secy()