/freebsd-11-stable/usr.sbin/route6d/misc/ |
H A D | chkrt | 37 $gateway = $1; 43 print "NOT FOUND: $dst $intf $gateway $metric $age\n"; 47 if ($gw{$dst} ne $gateway && $gw{$dst} !~ /link#\d+/) { 48 print "WRONG GW: $dst $intf $gateway $metric $age\n"; 54 print "WRONG IF: $dst $intf $gateway $metric $age\n";
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | ipresend.c | 60 \t\t-g gateway\tIP gateway to use if non-local dest.\n\ 73 char *name = argv[0], *gateway = NULL, *dev = NULL; local 84 gateway = optarg; 119 if (gateway && resolve(gateway, (char *)&gwip) == -1) 121 fprintf(stderr,"Cant resolve %s\n", gateway);
|
H A D | iptest.c | 50 \t\t-g gateway\tIP gateway to use if non-local dest.\n\ 74 char *gateway = NULL, *dev = NULL; local 102 gateway = optarg; 146 if (!gateway) 148 else if (resolve(gateway, (char *)&gwip) == -1) 150 fprintf(stderr,"Cant resolve %s\n", gateway);
|
H A D | ipsend.c | 53 \t\t-g gateway\tIP gateway to use if non-local dest.\n\ 181 char *gateway = NULL, *dev = NULL; local 271 gateway = optarg; 337 if (!gateway) 339 else if (resolve(gateway, (char *)&gwip) == -1) 341 fprintf(stderr,"Cant resolve %s\n", gateway);
|
/freebsd-11-stable/libexec/bootpd/ |
H A D | bootpd.h | 102 gateway :1, member in struct:flag 143 * The gateway and the various server fields all point to a shared list of 162 *gateway, 161 *gateway, member in struct:host
|
H A D | dumptab.c | 175 if (hp->flags.gateway) { 177 list_ipaddresses(fp, hp->gateway);
|
H A D | bootpd.c | 622 * a request to another server. That is the job of a gateway 1046 * else if gateway IP address is specified, use that 1062 report(LOG_INFO, "sending reply to gateway %s", 1093 * be on the other side of a BOOTP gateway... 1185 * Fill in vendor information. Subnet mask, default gateway, 1193 if (hp->flags.gateway) { 1194 (vendp->v_dgate).s_addr = hp->gateway->addr->s_addr; 1334 if (hp->flags.gateway) { 1336 hp->gateway, 1352 * Only the subnet_mask, bootsize, and gateway shoul [all...] |
H A D | readfile.c | 892 PARSE_IAL(gateway); 1464 DUP_LINK(gateway); 1933 del_iplist(hostptr->gateway);
|
/freebsd-11-stable/contrib/unbound/ipsecmod/ |
H A D | ipsecmod.c | 197 * This is only relevant for checking the gateway when the gateway type is 3 206 char* gateway; local 207 gateway = (char*)calloc(slen, sizeof(char)); 208 if(!gateway) { 213 &precedence, &gateway_type, &algorithm, gateway) != 4) { 214 free(gateway); 218 free(gateway); 221 if(domainname_has_safe_characters(gateway, slen)) { 222 free(gateway); [all...] |
/freebsd-11-stable/contrib/netbsd-tests/net/route/ |
H A D | t_change.sh | 68 atf_set "descr" "Change the gateway of a route" 125 gateway: 10.0.0.1 144 gateway: 10.0.0.1 192 gateway: 10.0.0.1 211 gateway: 10.0.0.1 259 gateway: 10.0.0.1 278 gateway: 10.0.0.1
|
H A D | t_route.sh | 57 atf_set "descr" "tests of a gateway not on the local subnet" 72 # The gateway knows the client 73 atf_check -s exit:0 -o match:'add net 10.0.0.1: gateway shmif0' \ 86 # Don't know a route to the gateway yet 90 # Teach a route to the gateway 91 atf_check -s exit:0 -o match:'add net 192.168.0.1: gateway shmif0' \ 93 atf_check -s exit:0 -o match:'add net default: gateway 192.168.0.1' \ 98 # Be reachable to the gateway 226 # Make sure an ARP cache to the gateway doesn't exist 264 gateway [all...] |
/freebsd-11-stable/sys/net/ |
H A D | route.c | 558 * This also frees the gateway, as they are always malloc'd 576 * destination to go through the given gateway. 582 struct sockaddr *gateway, 602 /* verify the gateway is directly reachable */ 603 if ((ifa = ifa_ifwithnet(gateway, 0, fibnum)) == NULL) { 624 if ((flags & RTF_GATEWAY) && ifa_ifwithaddr_check(gateway)) { 653 info.rti_info[RTAX_GATEWAY] = gateway; 667 * Smash the current notion of the gateway to 676 * add the key and gateway (in one malloc'd chunk). 681 rt_setgate(rt, rt_key(rt), gateway); 581 rtredirect_fib(struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src, u_int fibnum) argument 726 ifa_ifwithroute(int flags, const struct sockaddr *dst, struct sockaddr *gateway, u_int fibnum) argument 802 rtrequest_fib(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, u_int fibnum) argument 1265 #define gateway macro 1802 #undef gateway macro [all...] |
/freebsd-11-stable/contrib/ldns/ |
H A D | str2host.c | 1188 char* gateway = NULL; local 1224 gateway = strdup(token); 1225 if (!gateway || (gateway_type == 0 && 1227 LDNS_FREE(gateway); 1245 if (!gateway || !publickey) { 1246 if (gateway) 1247 LDNS_FREE(gateway); 1256 status = ldns_str2rdf_a(&gateway_rdf, gateway); 1258 status = ldns_str2rdf_aaaa(&gateway_rdf, gateway); 1260 status = ldns_str2rdf_dname(&gateway_rdf, gateway); [all...] |
H A D | host2str.c | 1064 ldns_rdf *gateway = NULL; local 1084 /* no gateway */ 1094 gateway = ldns_rdf_new(LDNS_RDF_TYPE_A, 1097 if(!gateway) { 1111 gateway = 1114 if(!gateway) { 1120 status = ldns_wire2dname(&gateway, data, 1136 ldns_rdf_free(gateway); 1144 ldns_rdf_free(gateway); 1149 if (gateway) [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | in_rmx.c | 197 struct sockaddr *gateway, 203 rtredirect_fib(dst, gateway, netmask, flags, src, fibnum); 196 in_rtredirect(struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src, u_int fibnum) argument
|
/freebsd-11-stable/sbin/route/ |
H A D | route.c | 794 const char *dest, *gateway, *errmsg; local 800 gateway = NULL; 910 gateway = *argv; 960 gateway = *argv; 1001 if (gateway == NULL) 1002 gateway = ""; 1031 if (*gateway) 1032 printf(": gateway %s", gateway); 1059 if (*gateway) [all...] |
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | neigh.c | 517 struct nl_addr *gateway = NULL; local 526 gateway = rtnl_route_nh_get_gateway(nh); 529 if (gateway) { 531 neigh_handler->dst = nl_addr_clone(gateway);
|
/freebsd-11-stable/sys/netinet6/ |
H A D | in6.c | 159 struct sockaddr_dl gateway; local 167 bzero(&gateway, sizeof(gateway)); 168 gateway.sdl_len = sizeof(gateway); 169 gateway.sdl_family = AF_LINK; 172 rt.rt_gateway = (struct sockaddr *)&gateway;
|
H A D | nd6_rtr.c | 713 * gateway from the routing table. 2332 * Delete all the routing table entries that use the specified gateway. 2337 rt6_flush(struct in6_addr *gateway, struct ifnet *ifp) argument 2341 if (!IN6_IS_ADDR_LINKLOCAL(gateway)) 2345 rt_foreach_fib_walk_del(AF_INET6, rt6_deleteroute, (void *)gateway);
|
H A D | nd6.c | 1599 struct sockaddr_in6 *gateway; local 1603 gateway = (struct sockaddr_in6 *)rt->rt_gateway; 1623 dr = defrouter_lookup(&gateway->sin6_addr, ifp);
|
/freebsd-11-stable/sys/dev/sfxge/common/ |
H A D | ef10_tlv_layout.h | 844 uint32_t gateway; member in struct:tlv_tsan_config
|
/freebsd-11-stable/sbin/ping6/ |
H A D | ping6.c | 297 char *e, *target, *ifname = NULL, *gateway = NULL; local 419 gateway = optarg; 662 /* set the gateway (next hop) if specified */ 663 if (gateway) { 669 error = getaddrinfo(gateway, NULL, &hints, &res); 671 errx(1, "getaddrinfo for the gateway %s: %s", 672 gateway, gai_strerror(error)); 675 warnx("gateway resolves to multiple addresses"); 2767 "[-a addrtype] [-b bufsiz] [-c count] [-g gateway]\n"
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | scanner.l | 316 gateway return GATEWAY;
|