Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/
Dif_macsec.h93 MACSEC_SA_ATTR_AN, /* config/dump, u8 0..3 */ enumerator
/linux-6.12.1/drivers/net/
Dmacsec.c1548 if (!tb_sa[MACSEC_SA_ATTR_AN]) in get_txsa_from_nl()
1551 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_txsa_from_nl()
1616 if (!tb_sa[MACSEC_SA_ATTR_AN]) in get_rxsa_from_nl()
1619 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_rxsa_from_nl()
1648 [MACSEC_SA_ATTR_AN] = { .type = NLA_U8 },
1708 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_add_rxsa()
1713 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_rxsa()
1763 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_rxsa()
1952 if (!attrs[MACSEC_SA_ATTR_AN] || in validate_add_txsa()
1958 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_txsa()
[all …]