Searched refs:firsthop (Results 1 – 2 of 2) sorted by relevance
707 struct sockaddr_in6 firsthop; in main() local736 memset(&firsthop, 0, sizeof(firsthop)); in main()737 firsthop.sin6_family = AF_INET6; in main()882 if (IN6_IS_ADDR_UNSPECIFIED(&firsthop.sin6_addr)) { in main()883 memcpy(&firsthop.sin6_addr, addr, 16); in main()885 firsthop.sin6_scope_id = ((struct sockaddr_in6 *)(ai->ai_addr))->sin6_scope_id; in main()887 if (firsthop.sin6_scope_id && scope_id && firsthop.sin6_scope_id != scope_id) { in main()891 scope_id = firsthop.sin6_scope_id; in main()944 if (IN6_IS_ADDR_UNSPECIFIED(&firsthop.sin6_addr)) { in main()945 memcpy(&firsthop.sin6_addr, &whereto.sin6_addr, 16); in main()[all …]
309 struct sockaddr_in6 firsthop; variable468 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()