Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dif_macsec.h97 MACSEC_SA_ATTR_KEYID, /* config/dump, 128-bit */ enumerator
/openbmc/linux/drivers/net/
H A Dmacsec.c1648 [MACSEC_SA_ATTR_KEYID] = { .type = NLA_BINARY,
1707 !attrs[MACSEC_SA_ATTR_KEYID]) in validate_add_rxsa()
1722 if (nla_len(attrs[MACSEC_SA_ATTR_KEYID]) != MACSEC_KEYID_LEN) in validate_add_rxsa()
1853 nla_memcpy(rx_sa->key.id, tb_sa[MACSEC_SA_ATTR_KEYID], MACSEC_KEYID_LEN); in macsec_add_rxsa()
1952 !attrs[MACSEC_SA_ATTR_KEYID]) in validate_add_txsa()
1966 if (nla_len(attrs[MACSEC_SA_ATTR_KEYID]) != MACSEC_KEYID_LEN) in validate_add_txsa()
2096 nla_memcpy(tx_sa->key.id, tb_sa[MACSEC_SA_ATTR_KEYID], MACSEC_KEYID_LEN); in macsec_add_txsa()
2305 attrs[MACSEC_SA_ATTR_KEYID] || in validate_upd_sa()
3141 nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, tx_sa->key.id) || in dump_secy()
3246 nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, rx_sa->key.id) || in dump_secy()