Lines Matching defs:imr
64 struct ip_mreqn imr; /* Ip multicast membership */
65 /* setting up imr structure */
66 memset(&imr, '\0', sizeof(imr));
67 imr.imr_multiaddr.s_addr = inet_addr(SSDP_MCAST_ADDR);
68 imr.imr_ifindex = iface->ifindex;
70 struct ip_mreq imr; /* Ip multicast membership */
71 /* setting up imr structure */
72 memset(&imr, '\0', sizeof(imr));
73 imr.imr_multiaddr.s_addr = inet_addr(SSDP_MCAST_ADDR);
74 imr.imr_interface.s_addr = iface->addr.s_addr;
80 ret = setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, (void *)&imr, sizeof(imr));