Lines Matching refs:mreq
383 struct ip_mreqn mreq; in iapp_init() local
467 os_memset(&mreq, 0, sizeof(mreq)); in iapp_init()
468 mreq.imr_multiaddr = iapp->multicast; in iapp_init()
469 mreq.imr_address.s_addr = INADDR_ANY; in iapp_init()
470 mreq.imr_ifindex = 0; in iapp_init()
471 if (setsockopt(iapp->udp_sock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, in iapp_init()
472 sizeof(mreq)) < 0) { in iapp_init()
518 struct ip_mreqn mreq; in iapp_deinit() local
524 os_memset(&mreq, 0, sizeof(mreq)); in iapp_deinit()
525 mreq.imr_multiaddr = iapp->multicast; in iapp_deinit()
526 mreq.imr_address.s_addr = INADDR_ANY; in iapp_deinit()
527 mreq.imr_ifindex = 0; in iapp_deinit()
529 &mreq, sizeof(mreq)) < 0) { in iapp_deinit()