Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/wireguard/
H A Dcookie.c123 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 in wg_cookie_add_mac_to_packet()
184 struct message_macs *macs = (struct message_macs *) wg_cookie_message_create() local
[all...]
H A Dmessages.h86 struct message_macs macs; member
95 struct message_macs macs; member
/kernel/linux/linux-6.6/drivers/net/wireguard/
H A Dcookie.c123 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 in wg_cookie_add_mac_to_packet()
184 struct message_macs *macs = (struct message_macs *) wg_cookie_message_create() local
[all...]
H A Dmessages.h86 struct message_macs macs; member
95 struct message_macs macs; member
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c309 * @macs: pointer mac list
315 struct opa_veswport_iface_macs *macs) in opa_vnic_query_mcast_macs()
320 start_idx = be16_to_cpu(macs->start_idx); in opa_vnic_query_mcast_macs()
321 num_macs = be16_to_cpu(macs->num_macs_in_msg); in opa_vnic_query_mcast_macs()
323 struct opa_vnic_iface_mac_entry *entry = &macs->entry[count]; in opa_vnic_query_mcast_macs()
333 macs->tot_macs_in_lst = cpu_to_be16(netdev_mc_count(adapter->netdev)); in opa_vnic_query_mcast_macs()
334 macs->num_macs_in_msg = cpu_to_be16(count); in opa_vnic_query_mcast_macs()
335 macs->gen_count = cpu_to_be16(adapter->info.vport.mc_macs_gen_count); in opa_vnic_query_mcast_macs()
341 * @macs: pointer mac list
347 struct opa_veswport_iface_macs *macs) in opa_vnic_query_ucast_macs()
314 opa_vnic_query_mcast_macs(struct opa_vnic_adapter *adapter, struct opa_veswport_iface_macs *macs) opa_vnic_query_mcast_macs() argument
346 opa_vnic_query_ucast_macs(struct opa_vnic_adapter *adapter, struct opa_veswport_iface_macs *macs) opa_vnic_query_ucast_macs() argument
[all...]
H A Dopa_vnic_internal.h309 struct opa_veswport_iface_macs *macs);
311 struct opa_veswport_iface_macs *macs);
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c309 * @macs: pointer mac list
315 struct opa_veswport_iface_macs *macs) in opa_vnic_query_mcast_macs()
320 start_idx = be16_to_cpu(macs->start_idx); in opa_vnic_query_mcast_macs()
321 num_macs = be16_to_cpu(macs->num_macs_in_msg); in opa_vnic_query_mcast_macs()
323 struct opa_vnic_iface_mac_entry *entry = &macs->entry[count]; in opa_vnic_query_mcast_macs()
333 macs->tot_macs_in_lst = cpu_to_be16(netdev_mc_count(adapter->netdev)); in opa_vnic_query_mcast_macs()
334 macs->num_macs_in_msg = cpu_to_be16(count); in opa_vnic_query_mcast_macs()
335 macs->gen_count = cpu_to_be16(adapter->info.vport.mc_macs_gen_count); in opa_vnic_query_mcast_macs()
341 * @macs: pointer mac list
347 struct opa_veswport_iface_macs *macs) in opa_vnic_query_ucast_macs()
314 opa_vnic_query_mcast_macs(struct opa_vnic_adapter *adapter, struct opa_veswport_iface_macs *macs) opa_vnic_query_mcast_macs() argument
346 opa_vnic_query_ucast_macs(struct opa_vnic_adapter *adapter, struct opa_veswport_iface_macs *macs) opa_vnic_query_ucast_macs() argument
[all...]
H A Dopa_vnic_internal.h309 struct opa_veswport_iface_macs *macs);
311 struct opa_veswport_iface_macs *macs);
/kernel/linux/linux-6.6/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
42 * @macs: array of MAC id and colors which belong to the binding
53 __le32 macs[MAX_MACS_IN_BINDING]; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dbinding.h77 * @macs: array of MAC id and colors which belong to the binding,
87 __le32 macs[MAX_MACS_IN_BINDING]; member
97 * @macs: array of MAC id and colors which belong to the binding
108 __le32 macs[MAX_MACS_IN_BINDING]; member
H A Dfilter.h169 * @max_macs: max number of macs (NUM_MAC_INDEX_DRIVER)
172 * @macs: broadcast filtering configuration per-mac
180 struct iwl_fw_bcast_mac macs[NUM_MAC_INDEX_DRIVER]; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dbinding.c102 cmd.macs[i] = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_binding_cmd()
104 cmd.macs[i] = cpu_to_le32(FW_CMD_ID_AND_COLOR(data->ids[i], in iwl_mvm_binding_cmd()
195 * while many macs are bound, which is forbidden - so fail the binding. in iwl_mvm_binding_add_vif()
H A Ddebugfs.c1527 for (i = 0; i < ARRAY_SIZE(cmd.macs); i++) { in iwl_dbgfs_bcast_filters_macs_read()
1528 const struct iwl_fw_bcast_mac *mac = &cmd.macs[i]; in iwl_dbgfs_bcast_filters_macs_read()
1555 if (mac_id >= ARRAY_SIZE(cmd.macs) || in iwl_dbgfs_bcast_filters_macs_write()
1563 memcpy(&mvm->dbgfs_bcast_filtering.cmd.macs[mac_id], in iwl_dbgfs_bcast_filters_macs_write()
2071 MVM_DEBUGFS_ADD_FILE_ALIAS("macs", bcast_filters_macs, in iwl_mvm_dbgfs_register()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dbinding.c48 cmd.macs[i] = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_binding_cmd()
50 cmd.macs[i] = cpu_to_le32(FW_CMD_ID_AND_COLOR(data->ids[i], in iwl_mvm_binding_cmd()
141 * while many macs are bound, which is forbidden - so fail the binding. in iwl_mvm_binding_add_vif()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dvirtio_net.h104 __u8 macs[][ETH_ALEN]; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dvirtio_net.h254 __u8 macs[][ETH_ALEN]; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dvirtio_net.h260 __u8 macs[][ETH_ALEN]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dvirtio_net.h153 __u8 macs[][ETH_ALEN]; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dvirtio_net.h153 __u8 macs[][ETH_ALEN]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.h162 u8 macs[QED_ETH_VF_NUM_MAC_FILTERS][ETH_ALEN]; member
H A Dqed_sriov.c3180 if (ether_addr_equal(p_vf->shadow_config.macs[i], in qed_iov_vf_update_mac_shadow()
3182 eth_zero_addr(p_vf->shadow_config.macs[i]); in qed_iov_vf_update_mac_shadow()
3195 eth_zero_addr(p_vf->shadow_config.macs[i]); in qed_iov_vf_update_mac_shadow()
3204 if (is_zero_ether_addr(p_vf->shadow_config.macs[i])) { in qed_iov_vf_update_mac_shadow()
3205 ether_addr_copy(p_vf->shadow_config.macs[i], in qed_iov_vf_update_mac_shadow()
5059 if (ether_addr_equal(vf->shadow_config.macs[i], in qed_update_mac_for_vf_trust_change()
5061 eth_zero_addr(vf->shadow_config.macs[i]); in qed_update_mac_for_vf_trust_change()
5083 if (ether_addr_equal(vf->shadow_config.macs[i], in qed_update_mac_for_vf_trust_change()
5085 ether_addr_copy(vf->shadow_config.macs[i], in qed_update_mac_for_vf_trust_change()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.h162 u8 macs[QED_ETH_VF_NUM_MAC_FILTERS][ETH_ALEN]; member
H A Dqed_sriov.c3182 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.h569 struct list_head macs; member
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.h569 struct list_head macs; member

Completed in 36 milliseconds

12