Home | History | Annotate | Download | only in iputils

Lines Matching defs:whereto

89 struct sockaddr_in whereto;	/* who to ping */
263 memset((char *)&whereto, 0, sizeof(whereto));
264 whereto.sin_family = AF_INET;
265 if (inet_aton(target, &whereto.sin_addr) == 1) {
295 memcpy(&whereto.sin_addr, hp->h_addr, 4);
311 route[nroute++] = whereto.sin_addr.s_addr;
318 struct sockaddr_in dst = whereto;
420 if (whereto.sin_addr.s_addr == 0)
421 whereto.sin_addr.s_addr = source.sin_addr.s_addr;
442 if (broadcast_pings || IN_MULTICAST(ntohl(whereto.sin_addr.s_addr))) {
597 printf("PING %s (%s) ", hostname, inet_ntoa(whereto.sin_addr));
662 target.sin_addr.s_addr != whereto.sin_addr.s_addr ||
757 static struct msghdr m = { &whereto, sizeof(whereto),
863 iph->daddr != whereto.sin_addr.s_addr ||