Lines Matching refs:mgid

71 			 union ib_gid *mgid);
428 static int cma_igmp_send(struct net_device *ndev, union ib_gid *mgid, bool join) in cma_igmp_send() argument
438 *(__be32 *)(mgid->raw + 12)); in cma_igmp_send()
441 *(__be32 *)(mgid->raw + 12)); in cma_igmp_send()
521 ib_addr_get_mgid(&id_priv->id.route.addr.dev_addr, &rec.mgid); in cma_set_qkey()
523 id_priv->id.port_num, &rec.mgid, in cma_set_qkey()
1844 union ib_gid mgid; in destroy_mc() local
1847 &mgid); in destroy_mc()
1850 cma_igmp_send(ndev, &mgid, false); in destroy_mc()
4629 struct sockaddr *addr, union ib_gid *mgid) in cma_set_mgid() argument
4637 memset(mgid, 0, sizeof *mgid); in cma_set_mgid()
4642 memcpy(mgid, &sin6->sin6_addr, sizeof *mgid); in cma_set_mgid()
4644 memcpy(mgid, &((struct sockaddr_ib *) addr)->sib_addr, sizeof *mgid); in cma_set_mgid()
4649 *mgid = *(union ib_gid *) (mc_map + 4); in cma_set_mgid()
4654 *mgid = *(union ib_gid *) (mc_map + 4); in cma_set_mgid()
4666 ib_addr_get_mgid(dev_addr, &rec.mgid); in cma_join_ib_multicast()
4668 &rec.mgid, &rec); in cma_join_ib_multicast()
4676 cma_set_mgid(id_priv, (struct sockaddr *) &mc->addr, &rec.mgid); in cma_join_ib_multicast()
4701 static void cma_iboe_set_mgid(struct sockaddr *addr, union ib_gid *mgid, in cma_iboe_set_mgid() argument
4708 memset(mgid, 0, sizeof *mgid); in cma_iboe_set_mgid()
4710 memcpy(mgid, &sin6->sin6_addr, sizeof *mgid); in cma_iboe_set_mgid()
4712 mgid->raw[0] = in cma_iboe_set_mgid()
4714 mgid->raw[1] = in cma_iboe_set_mgid()
4716 mgid->raw[2] = 0; in cma_iboe_set_mgid()
4717 mgid->raw[3] = 0; in cma_iboe_set_mgid()
4718 mgid->raw[4] = 0; in cma_iboe_set_mgid()
4719 mgid->raw[5] = 0; in cma_iboe_set_mgid()
4720 mgid->raw[6] = 0; in cma_iboe_set_mgid()
4721 mgid->raw[7] = 0; in cma_iboe_set_mgid()
4722 mgid->raw[8] = 0; in cma_iboe_set_mgid()
4723 mgid->raw[9] = 0; in cma_iboe_set_mgid()
4724 mgid->raw[10] = 0xff; in cma_iboe_set_mgid()
4725 mgid->raw[11] = 0xff; in cma_iboe_set_mgid()
4726 *(__be32 *)(&mgid->raw[12]) = sin->sin_addr.s_addr; in cma_iboe_set_mgid()
4748 cma_iboe_set_mgid(addr, &ib.rec.mgid, gid_type); in cma_iboe_join_multicast()
4767 err = cma_igmp_send(ndev, &ib.rec.mgid, in cma_iboe_join_multicast()