Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/
Dmacsec.c1616 [MACSEC_SA_ATTR_PN] = NLA_POLICY_MIN_LEN(4),
1696 if (attrs[MACSEC_SA_ATTR_PN] && in validate_add_rxsa()
1697 *(u64 *)nla_data(attrs[MACSEC_SA_ATTR_PN]) == 0) in validate_add_rxsa()
1753 if (nla_len(tb_sa[MACSEC_SA_ATTR_PN]) != pn_len) { in macsec_add_rxsa()
1755 nla_len(tb_sa[MACSEC_SA_ATTR_PN]), pn_len); in macsec_add_rxsa()
1795 if (tb_sa[MACSEC_SA_ATTR_PN]) { in macsec_add_rxsa()
1797 rx_sa->next_pn = nla_get_u64(tb_sa[MACSEC_SA_ATTR_PN]); in macsec_add_rxsa()
1931 !attrs[MACSEC_SA_ATTR_PN] || in validate_add_txsa()
1939 if (nla_get_u32(attrs[MACSEC_SA_ATTR_PN]) == 0) in validate_add_txsa()
1995 if (nla_len(tb_sa[MACSEC_SA_ATTR_PN]) != pn_len) { in macsec_add_txsa()
[all …]
/Linux-v5.10/include/uapi/linux/
Dif_macsec.h93 MACSEC_SA_ATTR_PN, /* config/dump, u32/u64 (u64 if XPN) */ enumerator