Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dmcast.c73 mcast->mcast_addr.mgid = *mgid; in rvt_mcast_alloc()
74 mcast->mcast_addr.lid = lid; in rvt_mcast_alloc()
121 ret = memcmp(mgid->raw, mcast->mcast_addr.mgid.raw, in rvt_mcast_find()
129 if (mcast->mcast_addr.lid == lid) { in rvt_mcast_find()
167 ret = memcmp(mcast->mcast_addr.mgid.raw, in rvt_mcast_add()
168 tmcast->mcast_addr.mgid.raw, in rvt_mcast_add()
169 sizeof(mcast->mcast_addr.mgid)); in rvt_mcast_add()
179 if (tmcast->mcast_addr.lid != mcast->mcast_addr.lid) { in rvt_mcast_add()
326 ret = memcmp(gid->raw, mcast->mcast_addr.mgid.raw, in rvt_detach_mcast()
334 if (mcast->mcast_addr.lid != lid) { in rvt_detach_mcast()
/linux-6.1.9/net/batman-adv/
Dmulticast.c311 static bool batadv_mcast_mla_is_duplicate(u8 *mcast_addr, in batadv_mcast_mla_is_duplicate() argument
317 if (batadv_compare_eth(mcast_entry->addr, mcast_addr)) in batadv_mcast_mla_is_duplicate()
344 u8 mcast_addr[ETH_ALEN]; in batadv_mcast_mla_softif_get_ipv4() local
369 ip_eth_mc_map(pmc->multiaddr, mcast_addr); in batadv_mcast_mla_softif_get_ipv4()
371 if (batadv_mcast_mla_is_duplicate(mcast_addr, mcast_list)) in batadv_mcast_mla_softif_get_ipv4()
380 ether_addr_copy(new->addr, mcast_addr); in batadv_mcast_mla_softif_get_ipv4()
411 u8 mcast_addr[ETH_ALEN]; in batadv_mcast_mla_softif_get_ipv6() local
442 ipv6_eth_mc_map(&pmc6->mca_addr, mcast_addr); in batadv_mcast_mla_softif_get_ipv6()
444 if (batadv_mcast_mla_is_duplicate(mcast_addr, mcast_list)) in batadv_mcast_mla_softif_get_ipv6()
453 ether_addr_copy(new->addr, mcast_addr); in batadv_mcast_mla_softif_get_ipv6()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/arch/sparc/include/asm/
Dvio.h241 u8 mcast_addr[VNET_NUM_MCAST * 6]; member
/linux-6.1.9/drivers/net/ethernet/xscale/
Dixp4xx_eth.c178 u32 mcast_addr[6], __res11[2]; /* 0C0 */ member
946 __raw_writel(allmulti[i], &port->regs->mcast_addr[i]); in eth_set_mcast_list()
971 __raw_writel(addr[i], &port->regs->mcast_addr[i]); in eth_set_mcast_list()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c457 struct host_cmd_ds_mac_multicast_adr *mcast_addr = &cmd->params.mc_addr; in mwifiex_cmd_mac_multicast_adr() local
463 mcast_addr->action = cpu_to_le16(cmd_action); in mwifiex_cmd_mac_multicast_adr()
464 mcast_addr->num_of_adrs = in mwifiex_cmd_mac_multicast_adr()
466 memcpy(mcast_addr->mac_list, mcast_list->mac_list, in mwifiex_cmd_mac_multicast_adr()
/linux-6.1.9/drivers/net/ethernet/ibm/
Dibmveth.c1496 u64 mcast_addr; in ibmveth_set_multicast_list() local
1497 mcast_addr = ether_addr_to_u64(ha->addr); in ibmveth_set_multicast_list()
1500 mcast_addr); in ibmveth_set_multicast_list()
/linux-6.1.9/include/rdma/
Drdmavt_qp.h520 struct rvt_mcast_addr mcast_addr; member
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c1007 u64 mcast_addr = 0; in mlx4_en_do_multicast() local
1080 mcast_addr = ether_addr_to_u64(mclist->addr); in mlx4_en_do_multicast()
1082 mcast_addr, 0, MLX4_MCAST_CONFIG); in mlx4_en_do_multicast()