Home
last modified time | relevance | path

Searched refs:snd_sock (Results 1 – 2 of 2) sorted by relevance

/external/toybox/toys/pending/
Dtraceroute.c65 int snd_sock;
132 res = setsockopt(TT.snd_sock, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); in send_probe4()
136 res = sendto(TT.snd_sock, out, len, 0, (struct sockaddr *) &dest, in send_probe4()
151 if (setsockopt(TT.snd_sock, SOL_IPV6, IPV6_UNICAST_HOPS, &ttl, in send_probe6()
156 if (sendto(TT.snd_sock, out, TT.msg_len, 0, in send_probe6()
531 TT.snd_sock = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main()
532 else TT.snd_sock = xsocket(AF_INET, SOCK_RAW, IPPROTO_ICMP); in traceroute_main()
534 if (toys.optflags & FLAG_i) bind_to_interface(TT.snd_sock); in traceroute_main()
553 if (setsockopt(TT.snd_sock, IPPROTO_IP, IP_OPTIONS, in traceroute_main()
557 } else TT.snd_sock = xsocket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main()
[all …]
/external/toybox/generated/
Dglobals.h860 int snd_sock; member