Searched refs:whereto (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/ping/
H A Dping.c157 static struct sockaddr_in whereto, send_addr; /* Who to ping */ variable in typeref:struct:sockaddr_in
448 gethost("", argv[hostind], &whereto, hostname, sizeof(hostname));
449 if (IN_MULTICAST(ntohl(whereto.sin_addr.s_addr)))
452 (void) memcpy(&send_addr, &whereto, sizeof(send_addr));
513 (void)memcpy(&optspace[IPOPT_MINOFF-1], &whereto.sin_addr,
514 sizeof(whereto.sin_addr));
640 inet_ntoa(whereto.sin_addr), datalen);
/netbsd-6-1-5-RELEASE/usr.sbin/traceroute/
H A Dtraceroute.c361 static struct sockaddr whereto; /* Who to try to reach */ variable in typeref:struct:sockaddr
462 struct sockaddr_in *to = (struct sockaddr_in *)&whereto;
1359 packlen - (sizeof(*outip) + optlen), 0, &whereto, sizeof(whereto));
1364 packlen, 0, &whereto, sizeof(whereto));

Completed in 177 milliseconds