Searched refs:mac_sa (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/net/llc/ |
D | llc_s_ac.c | 103 u8 mac_da[ETH_ALEN], mac_sa[ETH_ALEN], dsap; in llc_sap_action_send_xid_r() local 108 llc_pdu_decode_da(skb, mac_sa); in llc_sap_action_send_xid_r() 117 rc = llc_mac_hdr_init(nskb, mac_sa, mac_da); in llc_sap_action_send_xid_r() 151 u8 mac_da[ETH_ALEN], mac_sa[ETH_ALEN], dsap; in llc_sap_action_send_test_r() local 157 llc_pdu_decode_da(skb, mac_sa); in llc_sap_action_send_test_r() 168 rc = llc_mac_hdr_init(nskb, mac_sa, mac_da); in llc_sap_action_send_test_r()
|
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/macsec/ |
D | macsec_api.c | 382 packed_record[10] = rec->mac_sa[0] & 0xFFFF; in set_ingress_preclass_record() 383 packed_record[11] = (rec->mac_sa[0] >> 16) & 0xFFFF; in set_ingress_preclass_record() 385 packed_record[12] = rec->mac_sa[1] & 0xFFFF; in set_ingress_preclass_record() 496 rec->mac_sa[0] = packed_record[10]; in get_ingress_preclass_record() 497 rec->mac_sa[0] |= packed_record[11] << 16; in get_ingress_preclass_record() 499 rec->mac_sa[1] = packed_record[12]; in get_ingress_preclass_record() 1284 packed_record[12] |= (rec->mac_sa[0] & 0xFF) << 8; in set_egress_class_record() 1285 packed_record[13] = (rec->mac_sa[0] >> 8) & 0xFFFF; in set_egress_class_record() 1286 packed_record[14] = (rec->mac_sa[0] >> 24) & 0xFF; in set_egress_class_record() 1288 packed_record[14] |= (rec->mac_sa[1] & 0xFF) << 8; in set_egress_class_record() [all …]
|
D | macsec_struct.h | 77 u32 mac_sa[2]; member 376 u32 mac_sa[2]; member
|
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | cn10k_macsec.c | 449 u64 mac_sa; in cn10k_mcs_write_tx_flowid() local 460 mac_sa = ether_addr_to_u64(secy->netdev->dev_addr); in cn10k_mcs_write_tx_flowid() 462 req->data[0] = FIELD_PREP(MCS_TCAM0_MAC_SA_MASK, mac_sa); in cn10k_mcs_write_tx_flowid() 463 req->data[1] = FIELD_PREP(MCS_TCAM1_MAC_SA_MASK, mac_sa >> 16); in cn10k_mcs_write_tx_flowid()
|
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_macsec.c | 325 aq_ether_addr_to_mac(tx_class_rec.mac_sa, secy->netdev->dev_addr); in aq_set_txsc() 705 aq_ether_addr_to_mac(pre_class_record.mac_sa, (char *)&rx_sc->sci); in aq_set_rxsc()
|