Home
last modified time | relevance | path

Searched refs:mcast_ttl (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.6.0/tests/net/socket/udp/src/
Dmain.c2194 int mcast_ttl, verify; in ZTEST() local
2215 mcast_ttl = 8; in ZTEST()
2216 ret = setsockopt(client_sock, IPPROTO_IP, IP_MULTICAST_TTL, &mcast_ttl, in ZTEST()
2217 sizeof(mcast_ttl)); in ZTEST()
2224 zassert_equal(verify, mcast_ttl, "Different multicast TTLs (%d vs %d)", in ZTEST()
2225 mcast_ttl, verify); in ZTEST()
2234 AF_INET, 0, mcast_ttl); in ZTEST()
/Zephyr-Core-3.6.0/include/zephyr/net/
Dnet_if.h388 uint8_t mcast_ttl; member
/Zephyr-Core-3.6.0/subsys/net/ip/
Dnet_if.c3213 ret = iface->config.ip.ipv4->mcast_ttl; in net_if_ipv4_get_mcast_ttl()
3234 iface->config.ip.ipv4->mcast_ttl = ttl; in net_if_ipv4_set_mcast_ttl()
4148 ipv4_addresses[i].ipv4.mcast_ttl = CONFIG_NET_INITIAL_MCAST_TTL; in iface_ipv4_init()
Dnet_context.c2851 uint8_t mcast_ttl = *((int *)value); in set_context_mcast_ttl() local
2855 return set_uint8_option(&context->ipv4_mcast_ttl, &mcast_ttl, len); in set_context_mcast_ttl()