Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/
Dif_macsec.h93 MACSEC_SA_ATTR_AN, /* config/dump, u8 0..3 */ enumerator
/linux-6.1.9/drivers/net/
Dmacsec.c1539 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 …]