/external/iputils/ |
ping.c | 89 struct sockaddr_in whereto; /* who to ping */ variable in typeref:struct:sockaddr_in 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; 417 if (whereto.sin_addr.s_addr == 0) 418 whereto.sin_addr.s_addr = source.sin_addr.s_addr [all...] |
traceroute6.c | 306 struct sockaddr_in6 whereto; /* Who to try to reach */ variable in typeref:struct:sockaddr_in6 370 to = (struct sockaddr_in6 *)&whereto; 445 (void) memset((char *)&whereto, 0, sizeof(whereto)); 744 (struct sockaddr *)&whereto, sizeof(whereto));
|
ping6.c | 151 struct sockaddr_in6 whereto; /* who to ping */ variable in typeref:struct:sockaddr_in6 901 ni_subject = &whereto.sin6_addr; 902 ni_subject_len = sizeof(whereto.sin6_addr); 931 memcpy(&whereto, ai->ai_addr, sizeof(whereto)); 932 whereto.sin6_port = htons(IPPROTO_ICMPV6); 940 memcpy(&firsthop.sin6_addr, &whereto.sin6_addr, 16); 942 firsthop.sin6_scope_id = whereto.sin6_scope_id; 1054 if ((whereto.sin6_addr.s6_addr16[0]&htons(0xff00)) == htons (0xff00)) { 1216 memcpy(&freq->flr_dst, &whereto.sin6_addr, 16) [all...] |
rdisc.c | 174 struct sockaddr_in whereto;/* Address to send to */ variable in typeref:struct:sockaddr_in 290 struct sockaddr_in *to = &whereto; 421 memset( (char *)&whereto, 0, sizeof(struct sockaddr_in) ); 509 advertise(&whereto, lifetime); 520 solicitor(&whereto); 974 advertise(&whereto, 0); [all...] |