Home
last modified time | relevance | path

Searched refs:gateway (Results 1 – 25 of 79) sorted by relevance

1234

/freebsd/sbin/route/tests/
H A Dbasic.sh48 gateway=$(check_route "alcatraz" "192.0.2.3")
50 if [ "${gateway}" != "192.0.2.2" ]; then
56 gateway=$(check_route "alcatraz" "192.0.2.3")
58 if [ "${gateway}" != "192.0.2.4" ]; then
64 gateway=$(check_route "alcatraz" "192.0.2.3")
66 if [ "${gateway}" != "" ]; then
95 if [ "${gateway}" != "2001:db8:cc4b::1" ]; then
110 if [ "${gateway}" != "" ]; then
136 gateway=$(check_route "alcatraz" "192.0.2.1")
138 if [ -z "${gateway}" ]; then
[all …]
H A Dutils.subr42 gateway=$(echo $result | jq -r ${query}.gateway)
44 echo ${gateway}
/freebsd/usr.sbin/route6d/misc/
H A Dchkrt36 $gateway = $1;
42 print "NOT FOUND: $dst $intf $gateway $metric $age\n";
46 if ($gw{$dst} ne $gateway && $gw{$dst} !~ /link#\d+/) {
47 print "WRONG GW: $dst $intf $gateway $metric $age\n";
53 print "WRONG IF: $dst $intf $gateway $metric $age\n";
/freebsd/sys/net/
H A Droute.c212 nhop_set_gw(nh, gateway, flags & RTF_GATEWAY); in rib_add_redirect()
235 .rti_info[RTAX_GATEWAY] = gateway, in rib_add_redirect()
283 ifa = ifa_ifwithaddr(gateway); in ifa_ifwithroute()
290 ifa = ifa_ifwithdstaddr(gateway, fibnum); in ifa_ifwithroute()
293 ifa = ifa_ifwithnet(gateway, 0, fibnum); in ifa_ifwithroute()
297 nh = rib_lookup(fibnum, gateway, NHR_NONE, 0); in ifa_ifwithroute()
437 gateway = info->rti_info[RTAX_GATEWAY]; in rt_getifa_fib()
457 (gateway->sa_family != dst->sa_family)) in rt_getifa_fib()
483 gateway->sa_family == dst->sa_family) in rt_getifa_fib()
484 sa = gateway; in rt_getifa_fib()
[all …]
/freebsd/sbin/ipf/ipsend/
H A Dipresend.c67 char *name = argv[0], *gateway = NULL, *dev = NULL; in main() local
78 gateway = optarg; in main()
113 if (gateway && resolve(gateway, (char *)&gwip) == -1) in main()
115 fprintf(stderr,"Cant resolve %s\n", gateway); in main()
H A Diptest.c68 char *gateway = NULL, *dev = NULL; in main() local
96 gateway = optarg; in main()
140 if (!gateway) in main()
142 else if (resolve(gateway, (char *)&gwip) == -1) in main()
144 fprintf(stderr,"Cant resolve %s\n", gateway); in main()
H A Dipsend.c171 char *gateway = NULL, *dev = NULL; in main() local
261 gateway = optarg; in main()
327 if (!gateway) in main()
329 else if (resolve(gateway, (char *)&gwip) == -1) in main()
331 fprintf(stderr,"Cant resolve %s\n", gateway); in main()
/freebsd/contrib/unbound/ipsecmod/
H A Dipsecmod.c217 char* gateway; in ipseckey_has_safe_characters() local
218 gateway = (char*)calloc(slen, sizeof(char)); in ipseckey_has_safe_characters()
219 if(!gateway) { in ipseckey_has_safe_characters()
224 &precedence, &gateway_type, &algorithm, gateway) != 4) { in ipseckey_has_safe_characters()
225 free(gateway); in ipseckey_has_safe_characters()
229 free(gateway); in ipseckey_has_safe_characters()
232 if(domainname_has_safe_characters(gateway, slen)) { in ipseckey_has_safe_characters()
233 free(gateway); in ipseckey_has_safe_characters()
236 free(gateway); in ipseckey_has_safe_characters()
/freebsd/sbin/dumpon/
H A Ddumpon.c465 const char *dev, *pubkeyfile, *server, *client, *gateway; in main() local
476 server = client = gateway = NULL; in main()
502 gateway = optarg; in main()
648 if (gateway == NULL) { in main()
649 gateway = find_gateway(argv[0]); in main()
650 if (gateway == NULL) { in main()
655 gateway = server; in main()
658 if (inet_aton(gateway, &ndconf.kda_gateway.in4) == 0) in main()
659 errx(EX_USAGE, "invalid gateway address '%s'", gateway); in main()
/freebsd/contrib/netbsd-tests/net/route/
H A Dt_change.sh125 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
/freebsd/libexec/bootpd/
H A Dbootpd.h100 gateway :1, member
159 *gateway, member
H A Ddumptab.c161 if (hp->flags.gateway) { in dump_host()
163 list_ipaddresses(fp, hp->gateway); in dump_host()
H A Dbootpd.c1173 if (hp->flags.gateway) { in dovend_cmu()
1174 (vendp->v_dgate).s_addr = hp->gateway->addr->s_addr; in dovend_cmu()
1310 if (hp->flags.gateway) { in dovend_rfc1048()
1312 hp->gateway, in dovend_rfc1048()
/freebsd/usr.sbin/bsdconfig/networking/share/
H A Drouting.subr71 # default router/gateway is changed while NFS-exported directories are
99 # Save only if the user changed the default router/gateway.
104 # Save the default router/gateway
119 # Apply the default router/gateway
/freebsd/contrib/ldns/
H A Dstr2host.c1281 char* gateway = NULL; in ldns_str2rdf_ipseckey() local
1339 if (gateway) in ldns_str2rdf_ipseckey()
1340 LDNS_FREE(gateway); in ldns_str2rdf_ipseckey()
1359 if (gateway) in ldns_str2rdf_ipseckey()
1360 LDNS_FREE(gateway); in ldns_str2rdf_ipseckey()
1371 if (gateway) in ldns_str2rdf_ipseckey()
1372 LDNS_FREE(gateway); in ldns_str2rdf_ipseckey()
1389 if (gateway) in ldns_str2rdf_ipseckey()
1390 LDNS_FREE(gateway); in ldns_str2rdf_ipseckey()
1416 if (gateway) in ldns_str2rdf_ipseckey()
[all …]
/freebsd/contrib/wpa/hostapd/
H A Dhlr_auc_gw.txt1 HLR/AuC testing gateway for hostapd EAP-SIM/AKA database/authenticator
4 database/authentication gateway interface to HLR/AuC. It could be
5 replaced with an implementation of SS7 gateway to GSM/UMTS
/freebsd/lib/libc/net/
H A Dprotocols9 ggp 3 GGP # gateway-gateway protocol
14 egp 8 EGP # exterior gateway protocol
15 igp 9 IGP # any private interior gateway (Cisco: for IGRP)
/freebsd/sys/dev/irdma/
H A Dfbsd_kcompat.c362 struct ifnet **ifp, struct sockaddr **nexthop, bool *gateway) in irdma_get_route_ifp() argument
374 *gateway = (nh->nh_flags & NHF_GATEWAY) ? true : false; in irdma_get_route_ifp()
375 *nexthop = (*gateway) ? &nh->gw_sa : dst_sin; in irdma_get_route_ifp()
403 bool gateway; in irdma_get_dst_mac() local
407 err = irdma_get_route_ifp(dst_sin, netdev, &ifp, &nexthop, &gateway); in irdma_get_dst_mac()
412 err = arpresolve(ifp, gateway, NULL, nexthop, dst_mac, NULL, &lle); in irdma_get_dst_mac()
414 err = nd6_resolve(ifp, LLE_SF(AF_INET6, gateway), NULL, nexthop, in irdma_get_dst_mac()
/freebsd/sbin/route/
H A Dkeywords14 gateway
H A Droute.c843 const char *dest, *gateway, *errmsg; in newroute() local
849 gateway = NULL; in newroute()
960 gateway = *argv; in newroute()
1010 gateway = *argv; in newroute()
1051 if (gateway == NULL) in newroute()
1052 gateway = ""; in newroute()
1081 if (*gateway) in newroute()
1082 printf(": gateway %s", gateway); in newroute()
1109 if (*gateway) in newroute()
1110 printf(": gateway %s", gateway); in newroute()
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dintel-ixp4xx.yaml23 - gateway,7001
/freebsd/sys/contrib/device-tree/Bindings/mips/
H A Dralink.txt31 - compatible = "gardena,smart-gateway-mt7688", "ralink,mt7688a-soc",
/freebsd/contrib/ofed/libibverbs/
H A Dneigh.c517 struct nl_addr *gateway = NULL; in get_route_cb_parser() local
526 gateway = rtnl_route_nh_get_gateway(nh); in get_route_cb_parser()
529 if (gateway) { in get_route_cb_parser()
531 neigh_handler->dst = nl_addr_clone(gateway); in get_route_cb_parser()
/freebsd/usr.sbin/bsdconfig/share/media/
H A Dtcpip.subr425 # f_validate_gateway $gateway $ipaddr $netmask
434 local gateway="$1" ipaddr="$2" netmask="$3"
437 f_validate_ipaddr "$gateway" "$netmask" || return $FAILURE
441 f_inet_atoi "$gateway" gwnum
448 # f_dialog_validate_tcpip $hostname $gateway $nameserver $ipaddr $netmask
455 local hostname="$1" gateway="$2" nameserver="$3"
471 elif [ "$gateway" -a "$gateway" != "NO" ] &&
472 ! f_validate_gateway "$gateway" "$ipaddr" "$netmask"; then
599 ( $1 == "gateway:" ) \
1089 # interface, gateway, nameserver, and hostname settings -- all required for
[all …]
/freebsd/sys/net/route/
H A Droute_ctl.c732 struct sockaddr *dst, *gateway, *netmask; in add_route_byinfo() local
736 gateway = info->rti_info[RTAX_GATEWAY]; in add_route_byinfo()
739 if ((info->rti_flags & RTF_GATEWAY) && !gateway) { in add_route_byinfo()
743 if (dst && gateway && !nhop_check_gateway(dst->sa_family, gateway->sa_family)) { in add_route_byinfo()
746 dst->sa_family, gateway->sa_family); in add_route_byinfo()

1234