Searched refs:macs (Results 1 - 13 of 13) sorted by relevance

/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dbinding.h22 * @macs: array of MAC id and colors which belong to the binding,
32 __le32 macs[MAX_MACS_IN_BINDING]; member in struct:iwl_binding_cmd_v1
42 * @macs: array of MAC id and colors which belong to the binding
53 __le32 macs[MAX_MACS_IN_BINDING]; member in struct:iwl_binding_cmd
/linux-master/drivers/net/wireguard/
H A Dcookie.c123 struct message_macs *macs = (struct message_macs *) local
124 (skb->data + skb->len - sizeof(*macs));
132 if (crypto_memneq(computed_mac, macs->mac1, COOKIE_LEN))
143 if (crypto_memneq(computed_mac, macs->mac2, COOKIE_LEN))
159 struct message_macs *macs = (struct message_macs *) local
160 ((u8 *)message + len - sizeof(*macs));
163 compute_mac1(macs->mac1, message, len,
165 memcpy(peer->latest_cookie.last_mac1_sent, macs->mac1, COOKIE_LEN);
173 compute_mac2(macs->mac2, message, len,
176 memset(macs
184 struct message_macs *macs = (struct message_macs *) local
[all...]
H A Dmessages.h86 struct message_macs macs; member in struct:message_handshake_initiation
95 struct message_macs macs; member in struct:message_handshake_response
/linux-master/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c309 * @macs: pointer mac list
315 struct opa_veswport_iface_macs *macs)
320 start_idx = be16_to_cpu(macs->start_idx);
321 num_macs = be16_to_cpu(macs->num_macs_in_msg);
323 struct opa_vnic_iface_mac_entry *entry = &macs->entry[count];
333 macs->tot_macs_in_lst = cpu_to_be16(netdev_mc_count(adapter->netdev));
334 macs->num_macs_in_msg = cpu_to_be16(count);
335 macs->gen_count = cpu_to_be16(adapter->info.vport.mc_macs_gen_count);
341 * @macs: pointer mac list
347 struct opa_veswport_iface_macs *macs)
314 opa_vnic_query_mcast_macs(struct opa_vnic_adapter *adapter, struct opa_veswport_iface_macs *macs) argument
346 opa_vnic_query_ucast_macs(struct opa_vnic_adapter *adapter, struct opa_veswport_iface_macs *macs) argument
[all...]
H A Dopa_vnic_internal.h309 struct opa_veswport_iface_macs *macs);
311 struct opa_veswport_iface_macs *macs);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dbinding.c48 cmd.macs[i] = cpu_to_le32(FW_CTXT_INVALID);
50 cmd.macs[i] = cpu_to_le32(FW_CMD_ID_AND_COLOR(data->ids[i],
141 * while many macs are bound, which is forbidden - so fail the binding.
H A Dd3.c773 binding_cmd.macs[0] = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id,
776 binding_cmd.macs[i] = cpu_to_le32(FW_CTXT_INVALID);
/linux-master/include/uapi/linux/
H A Dvirtio_net.h260 __u8 macs[][ETH_ALEN]; member in struct:virtio_net_ctrl_mac
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.h162 u8 macs[QED_ETH_VF_NUM_MAC_FILTERS][ETH_ALEN]; member in struct:qed_vf_shadow_config
H A Dqed_sriov.c3182 if (ether_addr_equal(p_vf->shadow_config.macs[i],
3184 eth_zero_addr(p_vf->shadow_config.macs[i]);
3197 eth_zero_addr(p_vf->shadow_config.macs[i]);
3206 if (is_zero_ether_addr(p_vf->shadow_config.macs[i])) {
3207 ether_addr_copy(p_vf->shadow_config.macs[i],
5088 if (ether_addr_equal(vf->shadow_config.macs[i],
5090 eth_zero_addr(vf->shadow_config.macs[i]);
5112 if (ether_addr_equal(vf->shadow_config.macs[i],
5114 ether_addr_copy(vf->shadow_config.macs[i],
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c897 /* Set LLH CAM entry: currently only iSCSI and ETH macs are
3734 list_for_each_entry(elem, &o->registry.exact_match.macs, link) {
3846 if (!list_empty(&o->registry.exact_match.macs))
3864 &o->registry.exact_match.macs);
3867 elem = list_first_entry(&o->registry.exact_match.macs,
3871 INIT_LIST_HEAD(&o->registry.exact_match.macs);
3986 /* This is needed to recover number of currently configured mcast macs
4112 INIT_LIST_HEAD(&mcast_obj->registry.exact_match.macs);
H A Dbnx2x_sp.h569 struct list_head macs; member in struct:bnx2x_mcast_obj::__anon9::__anon11
/linux-master/drivers/net/
H A Dvirtio_net.c2783 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN);
2789 mac_data = (void *)&mac_data->macs[uc_count][0];
2794 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN);

Completed in 300 milliseconds