Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/net/batman-adv/
Dmulticast.c342 static bool batadv_mcast_mla_is_duplicate(u8 *mcast_addr, in batadv_mcast_mla_is_duplicate() argument
348 if (batadv_compare_eth(mcast_entry->addr, mcast_addr)) in batadv_mcast_mla_is_duplicate()
375 u8 mcast_addr[ETH_ALEN]; in batadv_mcast_mla_softif_get_ipv4() local
400 ip_eth_mc_map(pmc->multiaddr, mcast_addr); in batadv_mcast_mla_softif_get_ipv4()
402 if (batadv_mcast_mla_is_duplicate(mcast_addr, mcast_list)) in batadv_mcast_mla_softif_get_ipv4()
411 ether_addr_copy(new->addr, mcast_addr); in batadv_mcast_mla_softif_get_ipv4()
442 u8 mcast_addr[ETH_ALEN]; in batadv_mcast_mla_softif_get_ipv6() local
472 ipv6_eth_mc_map(&pmc6->mca_addr, mcast_addr); in batadv_mcast_mla_softif_get_ipv6()
474 if (batadv_mcast_mla_is_duplicate(mcast_addr, mcast_list)) in batadv_mcast_mla_softif_get_ipv6()
483 ether_addr_copy(new->addr, mcast_addr); in batadv_mcast_mla_softif_get_ipv6()
[all …]
/Linux-v5.4/net/netfilter/ipvs/
Dip_vs_sync.c1477 union ipvs_sockaddr mcast_addr; in make_send_sock() local
1512 get_mcast_sockaddr(&mcast_addr, &salen, &ipvs->mcfg, id); in make_send_sock()
1513 result = sock->ops->connect(sock, (struct sockaddr *) &mcast_addr, in make_send_sock()
1534 union ipvs_sockaddr mcast_addr; in make_receive_sock() local
1552 get_mcast_sockaddr(&mcast_addr, &salen, &ipvs->bcfg, id); in make_receive_sock()
1554 result = sock->ops->bind(sock, (struct sockaddr *)&mcast_addr, salen); in make_receive_sock()
1563 result = join_mcast_group6(sock->sk, &mcast_addr.in6.sin6_addr, in make_receive_sock()
1567 result = join_mcast_group(sock->sk, &mcast_addr.in.sin_addr, in make_receive_sock()
/Linux-v5.4/arch/sparc/include/asm/
Dvio.h241 u8 mcast_addr[VNET_NUM_MCAST * 6]; member
/Linux-v5.4/drivers/net/ethernet/xscale/
Dixp4xx_eth.c159 u32 mcast_addr[6], __res11[2]; /* 0C0 */ member
938 __raw_writel(allmulti[i], &port->regs->mcast_addr[i]); in eth_set_mcast_list()
963 __raw_writel(addr[i], &port->regs->mcast_addr[i]); in eth_set_mcast_list()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/ibm/
Dibmveth.c1443 u64 mcast_addr; in ibmveth_set_multicast_list() local
1444 mcast_addr = ibmveth_encode_mac_addr(ha->addr); in ibmveth_set_multicast_list()
1447 mcast_addr); in ibmveth_set_multicast_list()
/Linux-v5.4/include/rdma/
Drdmavt_qp.h516 struct rvt_mcast_addr mcast_addr; member
/Linux-v5.4/drivers/net/ethernet/sun/
Dsunvnet_common.c1622 memcpy(&info.mcast_addr[n_addrs * ETH_ALEN], in __send_mc_list()
1648 memcpy(&info.mcast_addr[n_addrs * ETH_ALEN], in __send_mc_list()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c1002 u64 mcast_addr = 0; in mlx4_en_do_multicast() local
1075 mcast_addr = mlx4_mac_to_u64(mclist->addr); in mlx4_en_do_multicast()
1077 mcast_addr, 0, MLX4_MCAST_CONFIG); in mlx4_en_do_multicast()