Home
last modified time | relevance | path

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

/external/iputils/
Dtraceroute6.c303 int sndsock; /* send (udp) socket file descriptor */ variable
523 if ((sndsock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in main()
528 if (setsockopt(sndsock, SOL_SOCKET, SO_SNDBUF, (char *)&datalen, in main()
536 (void) setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, in main()
539 (void) setsockopt(sndsock, SOL_SOCKET, SO_DONTROUTE, in main()
576 if (bind(sndsock, (struct sockaddr *)&saddr, sizeof(saddr)) < 0) { in main()
735 i = setsockopt(sndsock, SOL_IPV6, IPV6_UNICAST_HOPS, &ttl, sizeof(ttl)); in send_probe()
743 i = sendto(sndsock, sendbuff, datalen, 0, in send_probe()