Searched defs:num_gw (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c159 static int num_gw; /* number of gateways */ variable
161 /* if send_reply, it's 2*num_gw+1 */
463 if (num_gw > MAXMAX_GWS) {
468 gw_list[num_gw++] = optarg;
474 if (num_gw > MAXMAX_GWS) {
479 gw_list[num_gw++] = optarg;
584 2 * num_gw * sizeof (struct in6_addr);
585 } else if (num_gw > 0) {
587 num_gw * sizeof (struct in6_addr);
613 (2 * num_gw
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c2473 * num_gw otherwise
2493 * as the target host and set the num_gw to 0. Therefore, none of the
2590 resolve_hosts(char **hostname_list, int num_gw, struct gateway **gw_addrsp, argument
2617 rc = getaddrinfo(hostname_list[num_gw],
2620 if (hostname_list[num_gw] != NULL &&
2621 *hostname_list[num_gw] != '\0')
2622 (void) fprintf(stderr, "%s: ", hostname_list[num_gw]);
2650 if (num_gw > 0) {
2654 * space for num_gw+1 hosts.
2656 gw_addrs = calloc(num_gw
2805 prepare_optbuf(struct gateway *gw_addrs, int num_gw, char **opt_bufpp, size_t *opt_buf_len, struct in_addr *target, uchar_t src_rtng_type) argument
2872 prepare_optbuf6(struct gateway *gw_addrs, int num_gw, char **opt_bufpp, size_t *opt_buf_len) argument
2964 int num_gw; local
[all...]

Completed in 65 milliseconds