Searched refs:gw_count (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.h82 extern int gw_count; /* number of LSRR gateways */
H A Dtraceroute_aux.c97 if (gw_count > 0) {
99 optlen = 8 + gw_count * sizeof (struct in_addr);
161 gwV4_count = (gw_count < MAX_GWS) ? gw_count : MAX_GWS - 1;
216 if (gw_count > 0) {
218 optlen = 8 + gw_count * sizeof (struct in_addr);
H A Dtraceroute.c131 int gw_count = 0; /* number of gateways */ variable
330 if (gw_count >= MAXMAX_GWS) {
335 gwlist[gw_count] = strdup(optarg);
336 if (gwlist[gw_count] == NULL) {
342 ++gw_count;
489 if ((gw_count > 0) && (options & SO_DONTROUTE)) {
676 if (gw_count > 0) {
681 if (num_resolved_gw6 != gw_count && num_v6 != 0) {
689 if (num_resolved_gw != gw_count && num_v4 != 0) {
768 if (gw_count >
[all...]
H A Dtraceroute_aux6.c89 if (gw_count > 0) {
92 gw_count * sizeof (struct in6_addr);
313 if (gw_count > 0) {
316 gw_count * sizeof (struct in6_addr);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c101 set_IPv4_options(int sock, union any_in_addr *gw_IP_list, int gw_count, argument
112 if (rr_option || ts_option || gw_count > 0) {
116 if (gw_count > 0) {
118 req_size = 3 + (sizeof (struct in_addr)) * gw_count;
131 for (i = 0; i < gw_count; i++) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c2483 int gw_count; local
2486 gw_count = 0;
2539 hostname_list[gw_count] = strdup(hname);
2540 if (hostname_list[gw_count] == NULL) {
2545 if (++gw_count > MAXMAX_GATEWAY) {
2561 gw_count--;
2564 if (gw_count <= 0)
2567 return (gw_count);

Completed in 66 milliseconds