Searched refs:MACSEC_SA_ATTR_KEYID (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/include/uapi/linux/ |
D | if_macsec.h | 97 MACSEC_SA_ATTR_KEYID, /* config/dump, 128-bit */ enumerator
|
/linux-6.1.9/drivers/net/ |
D | macsec.c | 1642 [MACSEC_SA_ATTR_KEYID] = { .type = NLA_BINARY, 1701 !attrs[MACSEC_SA_ATTR_KEYID]) in validate_add_rxsa() 1716 if (nla_len(attrs[MACSEC_SA_ATTR_KEYID]) != MACSEC_KEYID_LEN) in validate_add_rxsa() 1847 nla_memcpy(rx_sa->key.id, tb_sa[MACSEC_SA_ATTR_KEYID], MACSEC_KEYID_LEN); in macsec_add_rxsa() 1946 !attrs[MACSEC_SA_ATTR_KEYID]) in validate_add_txsa() 1960 if (nla_len(attrs[MACSEC_SA_ATTR_KEYID]) != MACSEC_KEYID_LEN) in validate_add_txsa() 2090 nla_memcpy(tx_sa->key.id, tb_sa[MACSEC_SA_ATTR_KEYID], MACSEC_KEYID_LEN); in macsec_add_txsa() 2299 attrs[MACSEC_SA_ATTR_KEYID] || in validate_upd_sa() 3139 nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, tx_sa->key.id) || in dump_secy() 3244 nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, rx_sa->key.id) || in dump_secy()
|