Searched refs:snd_sock (Results 1 – 2 of 2) sorted by relevance
/third_party/toybox/toys/pending/ |
D | traceroute.c | 65 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() 530 TT.snd_sock = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main() 531 else TT.snd_sock = xsocket(AF_INET, SOCK_RAW, IPPROTO_ICMP); in traceroute_main() 533 if (toys.optflags & FLAG_i) bind_to_interface(TT.snd_sock); in traceroute_main() 552 if (setsockopt(TT.snd_sock, IPPROTO_IP, IP_OPTIONS, in traceroute_main() 556 } else TT.snd_sock = xsocket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main() [all …]
|
/third_party/toybox/generated/ |
D | globals.h | 992 int snd_sock; member
|