Searched refs:gateway (Results 1 - 22 of 22) sorted by relevance

/freebsd-10.1-release/usr.sbin/route6d/misc/
H A Dchkrt37 $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-10.1-release/contrib/ipfilter/ipsend/
H A Dipresend.c78 \t\t-g gateway\tIP gateway to use if non-local dest.\n\
91 char *name = argv[0], *gateway = NULL, *dev = NULL; local
102 gateway = optarg;
137 if (gateway && resolve(gateway, (char *)&gwip) == -1)
139 fprintf(stderr,"Cant resolve %s\n", gateway);
H A Diptest.c71 \t\t-g gateway\tIP gateway to use if non-local dest.\n\
95 char *gateway = NULL, *dev = NULL; local
123 gateway = optarg;
167 if (!gateway)
169 else if (resolve(gateway, (char *)&gwip) == -1)
171 fprintf(stderr,"Cant resolve %s\n", gateway);
H A Dipsend.c77 \t\t-g gateway\tIP gateway to use if non-local dest.\n\
205 char *gateway = NULL, *dev = NULL; local
295 gateway = optarg;
361 if (!gateway)
363 else if (resolve(gateway, (char *)&gwip) == -1)
365 fprintf(stderr,"Cant resolve %s\n", gateway);
/freebsd-10.1-release/libexec/bootpd/
H A Dbootpd.h102 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 Ddumptab.c175 if (hp->flags.gateway) {
177 list_ipaddresses(fp, hp->gateway);
H A Dbootpd.c622 * a request to another server. That is the job of a gateway
1042 * else if gateway IP address is specified, use that
1058 report(LOG_INFO, "sending reply to gateway %s",
1089 * be on the other side of a BOOTP gateway...
1181 * Fill in vendor information. Subnet mask, default gateway,
1189 if (hp->flags.gateway) {
1190 (vendp->v_dgate).s_addr = hp->gateway->addr->s_addr;
1330 if (hp->flags.gateway) {
1332 hp->gateway,
1348 * Only the subnet_mask, bootsize, and gateway shoul
[all...]
H A Dreadfile.c892 PARSE_IAL(gateway);
1464 DUP_LINK(gateway);
1933 del_iplist(hostptr->gateway);
/freebsd-10.1-release/sys/net/
H A Droute.c536 * This also frees the gateway, as they are always malloc'd
554 * destination to go through the given gateway.
560 struct sockaddr *gateway,
566 rtredirect_fib(dst, gateway, netmask, flags, src, RT_DEFAULT_FIB);
571 struct sockaddr *gateway,
591 /* verify the gateway is directly reachable */
592 if ((ifa = ifa_ifwithnet_fib(gateway, 0, fibnum)) == NULL) {
606 else if (ifa_ifwithaddr_check(gateway))
635 info.rti_info[RTAX_GATEWAY] = gateway;
656 * Smash the current notion of the gateway t
559 rtredirect(struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src) argument
570 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, struct sockaddr *dst, struct sockaddr *gateway) argument
733 ifa_ifwithroute_fib(int flags, struct sockaddr *dst, struct sockaddr *gateway, u_int fibnum) argument
807 rtrequest(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument
820 rtrequest_fib(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, u_int fibnum) argument
846 #define gateway macro
1433 #undef gateway macro
[all...]
/freebsd-10.1-release/usr.sbin/IPXrouted/
H A Ddefs.h89 extern int gateway;
H A Dmain.c141 gateway = 1;
146 gateway = -1;
H A Dstartup.c66 int gateway = 0; variable
/freebsd-10.1-release/contrib/ldns/
H A Dstr2host.c1188 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 Dhost2str.c1064 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-10.1-release/sys/netinet/
H A Din_rmx.c467 struct sockaddr *gateway,
473 return (rtrequest_fib(req, dst, gateway, netmask,
485 struct sockaddr *gateway,
491 rtredirect_fib(dst, gateway, netmask, flags, src, fibnum);
465 in_rtrequest( int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, u_int fibnum) argument
484 in_rtredirect(struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src, u_int fibnum) argument
/freebsd-10.1-release/sys/netinet6/
H A Din6.c149 struct sockaddr_dl gateway; local
169 bzero(&gateway, sizeof(gateway));
170 gateway.sdl_len = sizeof(gateway);
171 gateway.sdl_family = AF_LINK;
172 gateway.sdl_nlen = 0;
173 gateway.sdl_alen = 6;
174 memcpy(gateway.sdl_data, &ln->ll_addr.mac_aligned,
180 rt.rt_gateway = (struct sockaddr *)&gateway;
193 struct sockaddr_dl gateway; local
[all...]
H A Dnd6.c1186 struct sockaddr_in6 *gateway; local
1191 gateway = (struct sockaddr_in6 *)rt->rt_gateway;
1212 dr = defrouter_lookup(&gateway->sin6_addr, ifp);
H A Dnd6_rtr.c599 * Note that defrouter_select() will remove the current gateway
2095 * Delete all the routing table entries that use the specified gateway.
2100 rt6_flush(struct in6_addr *gateway, struct ifnet *ifp) argument
2106 if (!IN6_IS_ADDR_LINKLOCAL(gateway))
2116 rnh->rnh_walktree(rnh, rt6_deleteroute, (void *)gateway);
/freebsd-10.1-release/sbin/route/
H A Droute.c791 const char *dest, *gateway, *errmsg; local
797 gateway = NULL;
908 gateway = *argv;
958 gateway = *argv;
992 if (gateway == NULL)
993 gateway = "";
1022 if (*gateway)
1023 printf(": gateway %s", gateway);
1047 if (*gateway)
[all...]
/freebsd-10.1-release/sys/ia64/ia64/
H A Dsyscall.S40 * The address in ar.k5 is the start of the EPC gateway page and also
41 * the syscall entry point. The syscall code in the gateway page is
63 * Also in the gateway page are the signal trampolines. As such, stacks
70 .section .text.gateway, "ax"
/freebsd-10.1-release/sbin/ping6/
H A Dping6.c311 char *e, *target, *ifname = NULL, *gateway = NULL; local
432 gateway = optarg;
648 /* set the gateway (next hop) if specified */
649 if (gateway) {
658 error = getaddrinfo(gateway, NULL, &hints, &gres);
660 errx(1, "getaddrinfo for the gateway %s: %s",
661 gateway, gai_strerror(error));
664 warnx("gateway resolves to multiple addresses");
2803 "[-a addrtype] [-b bufsiz] [-c count] [-g gateway]\n"
/freebsd-10.1-release/contrib/libpcap/
H A Dscanner.l258 gateway return GATEWAY;

Completed in 310 milliseconds