Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c139 struct targetaddr *current_targetaddr; /* current target IP address to probe */
140 static struct targetaddr *targetaddr_list; /* list of IP addresses to probe */
215 static struct targetaddr *build_targetaddr_list(struct addrinfo *,
217 static struct targetaddr *create_targetaddr_item(struct sockaddr *,
746 static struct targetaddr *
749 struct targetaddr *head = NULL; in build_targetaddr_list()
750 struct targetaddr *targetaddr; in build_targetaddr_list() local
751 struct targetaddr **nextp; in build_targetaddr_list()
765 targetaddr = create_targetaddr_item(aip->ai_addr, in build_targetaddr_list()
768 targetaddr = create_targetaddr_item(aip->ai_addr, in build_targetaddr_list()
[all …]
H A Dping.h88 struct targetaddr { struct
100 struct targetaddr *next; /* next targetaddr item in the list */ argument
115 extern struct targetaddr *current_targetaddr;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c120 struct in_addr targetaddr; local
187 if ((targetaddr.s_addr = inet_addr(targethost)) ==
195 if (hp->h_length != sizeof (targetaddr)) {
201 (void) memcpy(&targetaddr.s_addr, hp->h_addr,
202 sizeof (targetaddr));
205 targetaddr.s_addr = 0;
213 (*protofunc)(argv[optind], targetaddr);
263 (*protofunc)(ifr->ifr_name, targetaddr);