Searched refs:macs (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/net/wireguard/ |
| H A D | cookie.c | 123 struct message_macs *macs = (struct message_macs *) in wg_cookie_validate_packet() local 124 (skb->data + skb->len - sizeof(*macs)); in wg_cookie_validate_packet() 132 if (crypto_memneq(computed_mac, macs->mac1, COOKIE_LEN)) in wg_cookie_validate_packet() 143 if (crypto_memneq(computed_mac, macs->mac2, COOKIE_LEN)) in wg_cookie_validate_packet() 159 struct message_macs *macs = (struct message_macs *) in wg_cookie_add_mac_to_packet() local 160 ((u8 *)message + len - sizeof(*macs)); in wg_cookie_add_mac_to_packet() 163 compute_mac1(macs->mac1, message, len, in wg_cookie_add_mac_to_packet() 165 memcpy(peer->latest_cookie.last_mac1_sent, macs->mac1, COOKIE_LEN); in wg_cookie_add_mac_to_packet() 173 compute_mac2(macs->mac2, message, len, in wg_cookie_add_mac_to_packet() 176 memset(macs->mac2, 0, COOKIE_LEN); in wg_cookie_add_mac_to_packet() [all …]
|
| H A D | messages.h | 86 struct message_macs macs; member 95 struct message_macs macs; member
|
| /linux/include/uapi/linux/ |
| H A D | virtio_net.h | 295 __u8 macs[][ETH_ALEN]; member
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_sriov.h | 162 u8 macs[QED_ETH_VF_NUM_MAC_FILTERS][ETH_ALEN]; member
|
| H A D | qed_sriov.c | 3182 if (ether_addr_equal(p_vf->shadow_config.macs[i], in qed_iov_vf_update_mac_shadow() 3184 eth_zero_addr(p_vf->shadow_config.macs[i]); in qed_iov_vf_update_mac_shadow() 3197 eth_zero_addr(p_vf->shadow_config.macs[i]); in qed_iov_vf_update_mac_shadow() 3206 if (is_zero_ether_addr(p_vf->shadow_config.macs[i])) { in qed_iov_vf_update_mac_shadow() 3207 ether_addr_copy(p_vf->shadow_config.macs[i], in qed_iov_vf_update_mac_shadow() 5088 if (ether_addr_equal(vf->shadow_config.macs[i], in qed_update_mac_for_vf_trust_change() 5090 eth_zero_addr(vf->shadow_config.macs[i]); in qed_update_mac_for_vf_trust_change() 5112 if (ether_addr_equal(vf->shadow_config.macs[i], in qed_update_mac_for_vf_trust_change() 5114 ether_addr_copy(vf->shadow_config.macs[i], in qed_update_mac_for_vf_trust_change()
|
| /linux/drivers/macintosh/ |
| H A D | Kconfig | 253 blue LEDs "vu-meter" of the XServer macs.
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_sp.h | 569 struct list_head macs; member
|
| H A D | bnx2x_sp.c | 3734 list_for_each_entry(elem, &o->registry.exact_match.macs, link) { in bnx2x_mcast_handle_restore_cmd_e1() 3846 if (!list_empty(&o->registry.exact_match.macs)) in bnx2x_mcast_refresh_registry_e1() 3864 &o->registry.exact_match.macs); in bnx2x_mcast_refresh_registry_e1() 3867 elem = list_first_entry(&o->registry.exact_match.macs, in bnx2x_mcast_refresh_registry_e1() 3871 INIT_LIST_HEAD(&o->registry.exact_match.macs); in bnx2x_mcast_refresh_registry_e1() 4112 INIT_LIST_HEAD(&mcast_obj->registry.exact_match.macs); in bnx2x_init_mcast_obj()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-integrity.rst | 277 * mac (8-bytes), all the macs in 8 metadata sectors form a
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | d3.c | 771 binding_cmd.macs[0] = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_d3_reprogram() 774 binding_cmd.macs[i] = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_d3_reprogram()
|
| /linux/drivers/net/ |
| H A D | virtio_net.c | 3866 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_rx_mode_work() 3872 mac_data = (void *)&mac_data->macs[uc_count][0]; in virtnet_rx_mode_work() 3877 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_rx_mode_work()
|