/src/usr.sbin/traceroute/ |
traceroute.c | 340 static struct sockaddr whereto; /* Who to try to reach */ variable in typeref:struct:sockaddr 441 struct sockaddr_in *to = (struct sockaddr_in *)&whereto; 1339 packlen - (sizeof(*outip) + optlen), 0, &whereto, sizeof(whereto)); 1344 packlen, 0, &whereto, sizeof(whereto));
|
/src/sbin/ping/ |
ping.c | 157 static struct sockaddr_in whereto, send_addr; /* Who to ping */ variable in typeref:struct:sockaddr_in 485 gethost("", argv[hostind], &whereto, hostname, sizeof(hostname)); 486 if (IN_MULTICAST(ntohl(whereto.sin_addr.s_addr))) 489 (void) memcpy(&send_addr, &whereto, sizeof(send_addr)); 549 (void)memcpy(&optspace[IPOPT_MINOFF-1], &whereto.sin_addr, 550 sizeof(whereto.sin_addr)); 678 inet_ntoa(whereto.sin_addr), datalen);
|