Searched refs:IP_MULTICAST_TTL (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn_transport_udp.c | 133 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/ |
D | socket.h | 966 #define IP_MULTICAST_TTL 33 macro
|
/Zephyr-latest/subsys/net/lib/ptp/ |
D | transport.c | 120 if (zsock_setsockopt(socket, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl))) { in transport_udp_ipv4_open()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | llmnr_responder.c | 328 (void)set_ttl_hop_limit(sock, IPPROTO_IP, IP_MULTICAST_TTL, 255); in create_ipv4_answer()
|
D | mdns_responder.c | 142 ret = set_ttl_hop_limit(sock, IPPROTO_IP, IP_MULTICAST_TTL, 255); in setup_dst_addr()
|
/Zephyr-latest/tests/net/lib/dns_sd/src/ |
D | main.c | 691 (void)zsock_getsockopt(v4, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, &optlen); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_inet.c | 1939 case IP_MULTICAST_TTL: in zsock_getsockopt_ctx() 2545 case IP_MULTICAST_TTL: in zsock_setsockopt_ctx()
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 2063 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()
|