Home
last modified time | relevance | path

Searched refs:macs (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/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->mac2, 0, COOKIE_LEN); in wg_cookie_add_mac_to_packet()
[all …]
H A Dmessages.h86 struct message_macs macs; member
95 struct message_macs macs; member
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c315 struct opa_veswport_iface_macs *macs) in opa_vnic_query_mcast_macs() argument
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()
347 struct opa_veswport_iface_macs *macs) in opa_vnic_query_ucast_macs() argument
352 start_idx = be16_to_cpu(macs->start_idx); in opa_vnic_query_ucast_macs()
353 num_macs = be16_to_cpu(macs->num_macs_in_msg); in opa_vnic_query_ucast_macs()
[all …]
H A Dopa_vnic_internal.h309 struct opa_veswport_iface_macs *macs);
311 struct opa_veswport_iface_macs *macs);
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dbinding.h87 __le32 macs[MAX_MACS_IN_BINDING]; member
108 __le32 macs[MAX_MACS_IN_BINDING]; member
H A Dfilter.h180 struct iwl_fw_bcast_mac macs[NUM_MAC_INDEX_DRIVER]; member
/OK3568_Linux_fs/kernel/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()
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()
H A Dmac80211.c1909 if (WARN_ON(mvmvif->id >= ARRAY_SIZE(cmd->macs))) in iwl_mvm_bcast_filter_iterator()
1912 bcast_mac = &cmd->macs[mvmvif->id]; in iwl_mvm_bcast_filter_iterator()
1967 cmd->max_macs = ARRAY_SIZE(cmd->macs); in iwl_mvm_bcast_filter_build_cmd()
1974 memcpy(cmd->macs, &mvm->dbgfs_bcast_filtering.cmd.macs, in iwl_mvm_bcast_filter_build_cmd()
1975 sizeof(cmd->macs)); in iwl_mvm_bcast_filter_build_cmd()
H A Dd3.c549 binding_cmd.macs[0] = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_d3_reprogram()
552 binding_cmd.macs[i] = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_d3_reprogram()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dvirtio_net.h198 __u8 macs[][ETH_ALEN]; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dvirtio_net.h198 __u8 macs[][ETH_ALEN]; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dvirtio_net.h254 __u8 macs[][ETH_ALEN]; member
/OK3568_Linux_fs/kernel/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()
5056 if (ether_addr_equal(vf->shadow_config.macs[i], in qed_update_mac_for_vf_trust_change()
5058 eth_zero_addr(vf->shadow_config.macs[i]); in qed_update_mac_for_vf_trust_change()
5080 if (ether_addr_equal(vf->shadow_config.macs[i], in qed_update_mac_for_vf_trust_change()
5082 ether_addr_copy(vf->shadow_config.macs[i], in qed_update_mac_for_vf_trust_change()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_iapsta.c252 int macs; member
1491 if (tmp_if->dev && tmp_if->ifmode == IMESH_MODE && apsta_params->macs) { in wl_ext_isam_peer_path()
4741 if (mesh_if && apsta_params->macs) in wl_ext_iapsta_event()
4752 if (mesh_if && apsta_params->macs) in wl_ext_iapsta_event()
4769 if (mesh_if && apsta_params->macs) in wl_ext_iapsta_event()
4785 if (mesh_if && apsta_params->macs) in wl_ext_iapsta_event()
4841 if (cur_if->ifmode == IMESH_MODE && apsta_params->macs) in wl_ext_iapsta_event()
5110 if (i == 0 && apsta_params->macs) in wl_ext_iapsta_preinit()
5960 apsta_params->macs = (int)simple_strtol(pick_tmp2, NULL, 0); in wl_ext_isam_init()
6341 if (cur_if->ifmode == IMESH_MODE && apsta_params->macs) { in wl_ext_iapsta_attach_netdev()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_android_ext.c220 int macs; member
2043 if (i == 0 && apsta_params->macs) in wl_ext_iapsta_preinit()
2297 apsta_params->macs = (int)simple_strtol(pick_tmp2, NULL, 0); in wl_ext_isam_init()
3167 if (tmp_if->dev && tmp_if->ifmode == IMESH_MODE && apsta_params->macs) { in wl_ext_isam_peer_path()
4310 if (mesh_if && apsta_params->macs) in wl_ext_iapsta_event()
4318 if (mesh_if && apsta_params->macs) in wl_ext_iapsta_event()
4334 if (mesh_if && apsta_params->macs) in wl_ext_iapsta_event()
4346 if (mesh_if && apsta_params->macs) in wl_ext_iapsta_event()
4395 if (cur_if->ifmode == IMESH_MODE && apsta_params->macs) in wl_ext_iapsta_event()
5140 if (cur_if->ifmode == IMESH_MODE && apsta_params->macs) { in wl_ext_iapsta_attach_netdev()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c3734 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()
H A Dbnx2x_sp.h569 struct list_head macs; member
/OK3568_Linux_fs/kernel/drivers/macintosh/
H A DKconfig251 blue LEDs "vu-meter" of the XServer macs.
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_iapsta.c291 int macs; member
1437 if (mesh_if && apsta_params->macs) in wl_mesh_event_handler()
1440 if (mesh_if && apsta_params->macs) in wl_mesh_event_handler()
1445 if (mesh_if && apsta_params->macs) in wl_mesh_event_handler()
1450 if (mesh_if && apsta_params->macs) in wl_mesh_event_handler()
1454 else if (cur_if->ifmode == IMESH_MODE && apsta_params->macs) { in wl_mesh_event_handler()
1613 if (tmp_if->dev && tmp_if->ifmode == IMESH_MODE && apsta_params->macs) { in wl_ext_isam_peer_path()
6560 apsta_params->macs = (int)simple_strtol(pick_tmp2, NULL, 0); in wl_ext_isam_init()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/emacs/
H A Demacs_27.2.bb209 ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/cl-macs.elc \
/OK3568_Linux_fs/kernel/drivers/net/
H A Dvirtio_net.c1986 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode()
1992 mac_data = (void *)&mac_data->macs[uc_count][0]; in virtnet_set_rx_mode()
1997 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/
H A Ddm-integrity.rst251 * mac (8-bytes), all the macs in 8 metadata sectors form a