Lines Matching refs:mreq
387 struct ip_mreqn mreq; in iapp_init() local
458 os_memset(&mreq, 0, sizeof(mreq)); in iapp_init()
459 mreq.imr_multiaddr = iapp->multicast; in iapp_init()
460 mreq.imr_address.s_addr = INADDR_ANY; in iapp_init()
461 mreq.imr_ifindex = 0; in iapp_init()
462 if (setsockopt(iapp->udp_sock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, in iapp_init()
463 sizeof(mreq)) < 0) { in iapp_init()
509 struct ip_mreqn mreq; in iapp_deinit() local
515 os_memset(&mreq, 0, sizeof(mreq)); in iapp_deinit()
516 mreq.imr_multiaddr = iapp->multicast; in iapp_deinit()
517 mreq.imr_address.s_addr = INADDR_ANY; in iapp_deinit()
518 mreq.imr_ifindex = 0; in iapp_deinit()
520 &mreq, sizeof(mreq)) < 0) { in iapp_deinit()