Home
last modified time | relevance | path

Searched refs:MACSEC_SA_ATTR_AN (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/include/uapi/linux/
Dif_macsec.h91 MACSEC_SA_ATTR_AN, /* config/dump, u8 0..3 */ enumerator
/Linux-v5.10/drivers/net/
Dmacsec.c1514 if (!tb_sa[MACSEC_SA_ATTR_AN]) in get_txsa_from_nl()
1517 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_txsa_from_nl()
1582 if (!tb_sa[MACSEC_SA_ATTR_AN]) in get_rxsa_from_nl()
1585 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_rxsa_from_nl()
1614 [MACSEC_SA_ATTR_AN] = { .type = NLA_U8 },
1688 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_add_rxsa()
1693 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_rxsa()
1743 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_rxsa()
1930 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_add_txsa()
1936 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_txsa()
[all …]