Home
last modified time | relevance | path

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

/openbmc/linux/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
/openbmc/linux/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);
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dbinding.h32 __le32 macs[MAX_MACS_IN_BINDING]; member
53 __le32 macs[MAX_MACS_IN_BINDING]; member
/openbmc/linux/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()
H A Dd3.c781 binding_cmd.macs[0] = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_d3_reprogram()
784 binding_cmd.macs[i] = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_d3_reprogram()
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_net.h205 __u8 macs[][ETH_ALEN]; member
/openbmc/qemu/hw/net/
H A Dvirtio-net.c527 qemu_mac_strdup_printf(n->mac_table.macs + i * ETH_ALEN)); in virtio_net_query_rxfilter()
534 qemu_mac_strdup_printf(n->mac_table.macs + i * ETH_ALEN)); in virtio_net_query_rxfilter()
1124 uint8_t *macs = g_malloc0(MAC_TABLE_ENTRIES * ETH_ALEN); in virtio_net_handle_mac() local
1139 s = iov_to_buf(iov, iov_cnt, 0, macs, in virtio_net_handle_mac()
1167 s = iov_to_buf(iov, iov_cnt, 0, &macs[in_use * ETH_ALEN], in virtio_net_handle_mac()
1181 memcpy(n->mac_table.macs, macs, MAC_TABLE_ENTRIES * ETH_ALEN); in virtio_net_handle_mac()
1182 g_free(macs); in virtio_net_handle_mac()
1188 g_free(macs); in virtio_net_handle_mac()
1766 if (!memcmp(ptr, &n->mac_table.macs[i * ETH_ALEN], ETH_ALEN)) { in receive_filter()
1780 if (!memcmp(ptr, &n->mac_table.macs[i * ETH_ALEN], ETH_ALEN)) { in receive_filter()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dvirtio_net.h260 __u8 macs[][ETH_ALEN]; member
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-net.h199 uint8_t *macs; member
/openbmc/openbmc/meta-google/recipes-google/networking/
H A Dgbmc-bridge.bb94 def macs_to_eui64(macs):
95 return ' '.join([mac_to_eui64(mac) for mac in macs.split(' ')])
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_net.h261 uint8_t macs[][ETH_ALEN]; member
/openbmc/linux/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()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/emacs/
H A Demacs_29.1.bb121 ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/cl-macs.elc \
260 ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/cl-macs.elc \
/openbmc/qemu/net/
H A Dvhost-vdpa.c819 .iov_base = n->mac_table.macs, in vhost_vdpa_net_load_mac()
825 .iov_base = &n->mac_table.macs[uni_macs_size], in vhost_vdpa_net_load_mac()
/openbmc/linux/drivers/macintosh/
H A DKconfig252 blue LEDs "vu-meter" of the XServer macs.
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.h569 struct list_head macs; member
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()
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-integrity.rst272 * mac (8-bytes), all the macs in 8 metadata sectors form a
/openbmc/linux/drivers/net/
H A Dvirtio_net.c2736 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode()
2742 mac_data = (void *)&mac_data->macs[uc_count][0]; in virtnet_set_rx_mode()
2747 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode()
/openbmc/qemu/target/hexagon/imported/
H A Dmpy.idef307 /* vector dual macs. just like complex */
/openbmc/qemu/target/xtensa/core-dsp3400/
H A Dxtensa-modules.c.inc76904 { "macs", ICLASS_iclass_MACS,