Lines Matching refs:mreqn
437 struct ip_mreqn mreqn = { 0 }; in socket_group_with_address() local
451 NULL, sizeof(mreqn)); in socket_group_with_address()
456 (void *)&mreqn, 1); in socket_group_with_address()
462 (void *)&mreqn, sizeof(mreqn)); in socket_group_with_address()
466 memcpy(&mreqn.imr_address, local_addr, sizeof(mreqn.imr_address)); in socket_group_with_address()
467 memcpy(&mreqn.imr_multiaddr, &mcast_addr, sizeof(mreqn.imr_multiaddr)); in socket_group_with_address()
470 (void *)&mreqn, sizeof(mreqn)); in socket_group_with_address()
501 struct ip_mreqn mreqn = { 0 }; in socket_group_with_index() local
514 mreqn.imr_ifindex = net_if_ipv4_addr_lookup_by_index(local_addr); in socket_group_with_index()
515 memcpy(&mreqn.imr_multiaddr, &mcast_addr, sizeof(mreqn.imr_multiaddr)); in socket_group_with_index()
518 (void *)&mreqn, sizeof(mreqn)); in socket_group_with_index()