Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Dif_macsec.h95 MACSEC_SA_ATTR_KEYID, /* config/dump, 128-bit */ enumerator
/Linux-v5.10/drivers/net/
Dmacsec.c1617 [MACSEC_SA_ATTR_KEYID] = { .type = NLA_BINARY,
1690 !attrs[MACSEC_SA_ATTR_KEYID]) in validate_add_rxsa()
1705 if (nla_len(attrs[MACSEC_SA_ATTR_KEYID]) != MACSEC_KEYID_LEN) in validate_add_rxsa()
1834 nla_memcpy(rx_sa->key.id, tb_sa[MACSEC_SA_ATTR_KEYID], MACSEC_KEYID_LEN); in macsec_add_rxsa()
1933 !attrs[MACSEC_SA_ATTR_KEYID]) in validate_add_txsa()
1947 if (nla_len(attrs[MACSEC_SA_ATTR_KEYID]) != MACSEC_KEYID_LEN) in validate_add_txsa()
2076 nla_memcpy(tx_sa->key.id, tb_sa[MACSEC_SA_ATTR_KEYID], MACSEC_KEYID_LEN); in macsec_add_txsa()
2285 attrs[MACSEC_SA_ATTR_KEYID] || in validate_upd_sa()
3122 nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, tx_sa->key.id) || in dump_secy()
3227 nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, rx_sa->key.id) || in dump_secy()