Lines Matching refs:whereto
939 struct sockaddr_in whereto; /* who to ping */
1020 target.sin_addr.s_addr != whereto.sin_addr.s_addr ||
1112 static struct msghdr m = { &whereto, sizeof(whereto),
1185 iph->daddr != whereto.sin_addr.s_addr ||
1837 bzero((char *)&whereto, sizeof(whereto));
1838 whereto.sin_family = AF_INET;
1839 if (inet_aton(target, &whereto.sin_addr) == 1) {
1851 memcpy(&whereto.sin_addr, hp->h_addr, 4);
1857 route[nroute++] = whereto.sin_addr.s_addr;
1864 struct sockaddr_in dst = whereto;
1929 if (whereto.sin_addr.s_addr == 0)
1930 whereto.sin_addr.s_addr = source.sin_addr.s_addr;
1951 if (broadcast_pings || IN_MULTICAST(ntohl(whereto.sin_addr.s_addr))) {
2100 printf("PING %s (%s) ", hostname, inet_ntoa(whereto.sin_addr));