Lines Matching refs:mreq
383 struct ip_mreqn mreq; in iapp_init() local
454 os_memset(&mreq, 0, sizeof(mreq)); in iapp_init()
455 mreq.imr_multiaddr = iapp->multicast; in iapp_init()
456 mreq.imr_address.s_addr = INADDR_ANY; in iapp_init()
457 mreq.imr_ifindex = 0; in iapp_init()
458 if (setsockopt(iapp->udp_sock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, in iapp_init()
459 sizeof(mreq)) < 0) { in iapp_init()
505 struct ip_mreqn mreq; in iapp_deinit() local
511 os_memset(&mreq, 0, sizeof(mreq)); in iapp_deinit()
512 mreq.imr_multiaddr = iapp->multicast; in iapp_deinit()
513 mreq.imr_address.s_addr = INADDR_ANY; in iapp_deinit()
514 mreq.imr_ifindex = 0; in iapp_deinit()
516 &mreq, sizeof(mreq)) < 0) { in iapp_deinit()