Searched refs:gw_count (Results 1 – 6 of 6) sorted by relevance
97 if (gw_count > 0) { in set_buffers()99 optlen = 8 + gw_count * sizeof (struct in_addr); in set_buffers()161 gwV4_count = (gw_count < MAX_GWS) ? gw_count : MAX_GWS - 1; in set_IPv4opt_sourcerouting()216 if (gw_count > 0) { in send_probe()218 optlen = 8 + gw_count * sizeof (struct in_addr); in send_probe()
131 int gw_count = 0; /* number of gateways */ variable330 if (gw_count >= MAXMAX_GWS) { in main()335 gwlist[gw_count] = strdup(optarg); in main()336 if (gwlist[gw_count] == NULL) { in main()342 ++gw_count; in main()489 if ((gw_count > 0) && (options & SO_DONTROUTE)) { in main()676 if (gw_count > 0) { in resolve_nodes()681 if (num_resolved_gw6 != gw_count && num_v6 != 0) { in resolve_nodes()689 if (num_resolved_gw != gw_count && num_v4 != 0) { in resolve_nodes()768 if (gw_count > 0) { in calc_packetlen()[all …]
89 if (gw_count > 0) { in set_buffers6()92 gw_count * sizeof (struct in6_addr); in set_buffers6()313 if (gw_count > 0) { in send_probe6()316 gw_count * sizeof (struct in6_addr); in send_probe6()
82 extern int gw_count; /* number of LSRR gateways */
101 set_IPv4_options(int sock, union any_in_addr *gw_IP_list, int gw_count, in set_IPv4_options() argument112 if (rr_option || ts_option || gw_count > 0) { in set_IPv4_options()116 if (gw_count > 0) { in set_IPv4_options()118 req_size = 3 + (sizeof (struct in_addr)) * gw_count; in set_IPv4_options()131 for (i = 0; i < gw_count; i++) { in set_IPv4_options()
2483 int gw_count; in parse_input() local2486 gw_count = 0; in parse_input()2539 hostname_list[gw_count] = strdup(hname); in parse_input()2540 if (hostname_list[gw_count] == NULL) { in parse_input()2545 if (++gw_count > MAXMAX_GATEWAY) { in parse_input()2561 gw_count--; in parse_input()2564 if (gw_count <= 0) in parse_input()2567 return (gw_count); in parse_input()