Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c2204 int mcast_ttl, verify; in ZTEST() local
2225 mcast_ttl = 8; in ZTEST()
2226 ret = zsock_setsockopt(client_sock, IPPROTO_IP, IP_MULTICAST_TTL, &mcast_ttl, in ZTEST()
2227 sizeof(mcast_ttl)); in ZTEST()
2234 zassert_equal(verify, mcast_ttl, "Different multicast TTLs (%d vs %d)", in ZTEST()
2235 mcast_ttl, verify); in ZTEST()
2244 AF_INET, 0, mcast_ttl); in ZTEST()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h473 uint8_t mcast_ttl; member
/Zephyr-latest/subsys/net/ip/
Dnet_if.c4747 ret = iface->config.ip.ipv4->mcast_ttl; in net_if_ipv4_get_mcast_ttl()
4766 iface->config.ip.ipv4->mcast_ttl = ttl; in net_if_ipv4_set_mcast_ttl()
4811 ipv4_addresses[i].ipv4.mcast_ttl = CONFIG_NET_INITIAL_MCAST_TTL; in iface_ipv4_init()
Dnet_context.c3237 uint8_t mcast_ttl = *((int *)value); in set_context_mcast_ttl() local
3241 return set_uint8_option(&context->ipv4_mcast_ttl, &mcast_ttl, len); in set_context_mcast_ttl()