Home
last modified time | relevance | path

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

/external/iputils/
Dping6.c702 struct sockaddr_in6 firsthop; in main() local
731 memset(&firsthop, 0, sizeof(firsthop)); in main()
732 firsthop.sin6_family = AF_INET6; in main()
877 if (IN6_IS_ADDR_UNSPECIFIED(&firsthop.sin6_addr)) { in main()
878 memcpy(&firsthop.sin6_addr, addr, 16); in main()
880 firsthop.sin6_scope_id = ((struct sockaddr_in6 *)(ai->ai_addr))->sin6_scope_id; in main()
882 if (firsthop.sin6_scope_id && scope_id && firsthop.sin6_scope_id != scope_id) { in main()
886 scope_id = firsthop.sin6_scope_id; in main()
939 if (IN6_IS_ADDR_UNSPECIFIED(&firsthop.sin6_addr)) { in main()
940 memcpy(&firsthop.sin6_addr, &whereto.sin6_addr, 16); in main()
[all …]
Dtraceroute6.c309 struct sockaddr_in6 firsthop; variable
468 firsthop = *to; in main()
554 firsthop.sin6_port = htons(1025); in main()
555 if (connect(probe_fd, (struct sockaddr*)&firsthop, sizeof(firsthop)) == -1) { in main()