Searched refs:targetaddr (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.h73 * for that target address, and number of probes to send in the targetaddr
76 * scheduling probes. Each targetaddr structure identifies a batch of probes to
85 struct targetaddr { struct
96 struct targetaddr *next; /* next targetaddr item in the list */
111 extern struct targetaddr *current_targetaddr;
H A Dping.c137 struct targetaddr *current_targetaddr; /* current target IP address to probe */
138 static struct targetaddr *targetaddr_list; /* list of IP addresses to probe */
214 static struct targetaddr *build_targetaddr_list(struct addrinfo *,
218 static struct targetaddr *create_targetaddr_item(int, union any_in_addr *,
688 * Set the starting_seq_num for the first targetaddr.
694 * We set the starting_seq_num for first targetaddr here. The
696 * targetaddr.
760 static struct targetaddr *
763 struct targetaddr *head = NULL;
764 struct targetaddr *targetadd local
816 struct targetaddr *targetaddr; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c122 struct in_addr targetaddr; local
189 if ((targetaddr.s_addr = inet_addr(targethost)) ==
197 if (hp->h_length != sizeof (targetaddr)) {
203 (void) memcpy(&targetaddr.s_addr, hp->h_addr,
204 sizeof (targetaddr));
207 targetaddr.s_addr = 0;
215 (*protofunc)(argv[optind], targetaddr);
265 (*protofunc)(ifr->ifr_name, targetaddr);

Completed in 47 milliseconds