Home
last modified time | relevance | path

Searched refs:mcast_addr (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmcast.c115 mcast->mcast_addr.mgid = *mgid; in rvt_mcast_alloc()
116 mcast->mcast_addr.lid = lid; in rvt_mcast_alloc()
163 ret = memcmp(mgid->raw, mcast->mcast_addr.mgid.raw, in rvt_mcast_find()
171 if (mcast->mcast_addr.lid == lid) { in rvt_mcast_find()
209 ret = memcmp(mcast->mcast_addr.mgid.raw, in rvt_mcast_add()
210 tmcast->mcast_addr.mgid.raw, in rvt_mcast_add()
211 sizeof(mcast->mcast_addr.mgid)); in rvt_mcast_add()
221 if (tmcast->mcast_addr.lid != mcast->mcast_addr.lid) { in rvt_mcast_add()
368 ret = memcmp(gid->raw, mcast->mcast_addr.mgid.raw, in rvt_detach_mcast()
376 if (mcast->mcast_addr.lid != lid) { in rvt_detach_mcast()
/kernel/linux/linux-5.10/net/batman-adv/
Dmulticast.c343 static bool batadv_mcast_mla_is_duplicate(u8 *mcast_addr, in batadv_mcast_mla_is_duplicate() argument
349 if (batadv_compare_eth(mcast_entry->addr, mcast_addr)) in batadv_mcast_mla_is_duplicate()
376 u8 mcast_addr[ETH_ALEN]; in batadv_mcast_mla_softif_get_ipv4() local
401 ip_eth_mc_map(pmc->multiaddr, mcast_addr); in batadv_mcast_mla_softif_get_ipv4()
403 if (batadv_mcast_mla_is_duplicate(mcast_addr, mcast_list)) in batadv_mcast_mla_softif_get_ipv4()
412 ether_addr_copy(new->addr, mcast_addr); in batadv_mcast_mla_softif_get_ipv4()
443 u8 mcast_addr[ETH_ALEN]; in batadv_mcast_mla_softif_get_ipv6() local
473 ipv6_eth_mc_map(&pmc6->mca_addr, mcast_addr); in batadv_mcast_mla_softif_get_ipv6()
475 if (batadv_mcast_mla_is_duplicate(mcast_addr, mcast_list)) in batadv_mcast_mla_softif_get_ipv6()
484 ether_addr_copy(new->addr, mcast_addr); in batadv_mcast_mla_softif_get_ipv6()
[all …]
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_sync.c1474 union ipvs_sockaddr mcast_addr; in make_send_sock() local
1509 get_mcast_sockaddr(&mcast_addr, &salen, &ipvs->mcfg, id); in make_send_sock()
1510 result = sock->ops->connect(sock, (struct sockaddr *) &mcast_addr, in make_send_sock()
1531 union ipvs_sockaddr mcast_addr; in make_receive_sock() local
1549 get_mcast_sockaddr(&mcast_addr, &salen, &ipvs->bcfg, id); in make_receive_sock()
1551 result = sock->ops->bind(sock, (struct sockaddr *)&mcast_addr, salen); in make_receive_sock()
1560 result = join_mcast_group6(sock->sk, &mcast_addr.in6.sin6_addr, in make_receive_sock()
1564 result = join_mcast_group(sock->sk, &mcast_addr.in.sin_addr, in make_receive_sock()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dvio.h241 u8 mcast_addr[VNET_NUM_MCAST * 6]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/
Dixp4xx_eth.c161 u32 mcast_addr[6], __res11[2]; /* 0C0 */ member
925 __raw_writel(allmulti[i], &port->regs->mcast_addr[i]); in eth_set_mcast_list()
950 __raw_writel(addr[i], &port->regs->mcast_addr[i]); in eth_set_mcast_list()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c465 struct host_cmd_ds_mac_multicast_adr *mcast_addr = &cmd->params.mc_addr; in mwifiex_cmd_mac_multicast_adr() local
471 mcast_addr->action = cpu_to_le16(cmd_action); in mwifiex_cmd_mac_multicast_adr()
472 mcast_addr->num_of_adrs = in mwifiex_cmd_mac_multicast_adr()
474 memcpy(mcast_addr->mac_list, mcast_list->mac_list, in mwifiex_cmd_mac_multicast_adr()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmveth.c1480 u64 mcast_addr; in ibmveth_set_multicast_list() local
1481 mcast_addr = ibmveth_encode_mac_addr(ha->addr); in ibmveth_set_multicast_list()
1484 mcast_addr); in ibmveth_set_multicast_list()
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_qp.h520 struct rvt_mcast_addr mcast_addr; member
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunvnet_common.c1604 memcpy(&info.mcast_addr[n_addrs * ETH_ALEN], in __send_mc_list()
1630 memcpy(&info.mcast_addr[n_addrs * ETH_ALEN], in __send_mc_list()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c1006 u64 mcast_addr = 0; in mlx4_en_do_multicast() local
1079 mcast_addr = mlx4_mac_to_u64(mclist->addr); in mlx4_en_do_multicast()
1081 mcast_addr, 0, MLX4_MCAST_CONFIG); in mlx4_en_do_multicast()