Home | History | Annotate | Download | only in iputils

Lines Matching defs:to

13  * part of Sun Microsystems, Inc. to assist in its use, correction,
16 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
68 struct in_addr address; /* Used to identify the interface */
174 struct sockaddr_in whereto;/* Address to send to */
201 int best_preference = 1; /* Set to record only the router(s) with the
290 struct sockaddr_in *to = &whereto;
415 * Added the next line to stop forking a second time
422 to->sin_family = AF_INET;
423 to->sin_addr.s_addr = inet_addr(sendaddress);
547 logtrace("Sending solicitation to %s\n",
592 logtrace("Sending advertisement to %s\n",
634 logdebug("Unicast to %s ",
661 * Convert an ICMP "type" field to a printable string.
717 * program to be run without having intermingled output (or statistics!).
876 /* If it was sent to the broadcast address we respond
877 * to the broadcast address.
930 * we add sequential 16 bit words to it, and at the end, fold
944 * add back carry outs from top 16 bits to low 16 bits
946 sum = (sum >> 16) + (sum & 0xffff); /* add hi 16 to low 16 */
948 answer = ~sum; /* truncate to 16 bits */
970 * ttl must be set to 0 instead. --ANK
1022 logdebug("Broadcast to %s\n",
1030 logerr("Cannot send broadcast packet to %s\n",
1065 logdebug("Multicast to interface %s, %s\n",
1477 logdebug("Add default route to %s\n", pr_name(addr));
1485 logdebug("Delete default route to %s\n", pr_name(addr));