Home
last modified time | relevance | path

Searched refs:IP_MULTICAST_TTL (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_transport_udp.c133 err = zsock_setsockopt(udp->sock, IPPROTO_IP, IP_MULTICAST_TTL, &optval, sizeof(optval)); in tp_udp_init()
160 rc = zsock_getsockopt(udp->sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, &ttl_len); in tp_udp_sendto()
166 rc = zsock_setsockopt(udp->sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, in tp_udp_sendto()
/Zephyr-latest/include/zephyr/net/
Dsocket.h966 #define IP_MULTICAST_TTL 33 macro
/Zephyr-latest/subsys/net/lib/ptp/
Dtransport.c120 if (zsock_setsockopt(socket, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl))) { in transport_udp_ipv4_open()
/Zephyr-latest/subsys/net/lib/dns/
Dllmnr_responder.c328 (void)set_ttl_hop_limit(sock, IPPROTO_IP, IP_MULTICAST_TTL, 255); in create_ipv4_answer()
Dmdns_responder.c142 ret = set_ttl_hop_limit(sock, IPPROTO_IP, IP_MULTICAST_TTL, 255); in setup_dst_addr()
/Zephyr-latest/tests/net/lib/dns_sd/src/
Dmain.c691 (void)zsock_getsockopt(v4, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, &optlen); in ZTEST()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c1939 case IP_MULTICAST_TTL: in zsock_getsockopt_ctx()
2545 case IP_MULTICAST_TTL: in zsock_setsockopt_ctx()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c2063 option = IP_MULTICAST_TTL; in test_check_ttl()
2226 ret = zsock_setsockopt(client_sock, IPPROTO_IP, IP_MULTICAST_TTL, &mcast_ttl, in ZTEST()
2231 ret = zsock_getsockopt(client_sock, IPPROTO_IP, IP_MULTICAST_TTL, &verify, in ZTEST()