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

12

/freebsd-9.3-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-9.3-release/contrib/bind9/lib/dns/rdata/generic/
H A Dipseckey_45.h28 struct in_addr in_addr; /* gateway type 1 */
29 struct in6_addr in6_addr; /* gateway type 2 */
30 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_ipseckey
H A Dipseckey_45.c33 unsigned int gateway; local
61 gateway = token.value.as_ulong;
78 switch (gateway) {
125 unsigned short gateway; local
150 gateway = uint8_fromregion(&region);
152 sprintf(buf, "%u ", gateway);
166 switch (gateway) {
318 dns_name_toregion(&ipseckey->gateway, &region);
372 dns_name_init(&ipseckey->gateway, NULL);
374 RETERR(name_duporclone(&name, mctx, &ipseckey->gateway));
[all...]
/freebsd-9.3-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;
146 if (gateway && resolve(gateway, (char *)&gwip) == -1)
148 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-9.3-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-9.3-release/sys/net/
H A Droute.c499 * This also frees the gateway, as they are always malloc'd
518 * destination to go through the given gateway.
524 struct sockaddr *gateway,
530 rtredirect_fib(dst, gateway, netmask, flags, src, RT_DEFAULT_FIB);
535 struct sockaddr *gateway,
555 /* verify the gateway is directly reachable */
556 if ((ifa = ifa_ifwithnet(gateway, 0)) == NULL) {
570 else if (ifa_ifwithaddr_check(gateway))
599 info.rti_info[RTAX_GATEWAY] = gateway;
620 * Smash the current notion of the gateway t
523 rtredirect(struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src) argument
534 rtredirect_fib(struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src, u_int fibnum) argument
690 ifa_ifwithroute(int flags, struct sockaddr *dst, struct sockaddr *gateway) argument
697 ifa_ifwithroute_fib(int flags, struct sockaddr *dst, struct sockaddr *gateway, u_int fibnum) argument
771 rtrequest(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument
784 rtrequest_fib(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, u_int fibnum) argument
810 #define gateway macro
1417 #undef gateway macro
[all...]
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Ddhcp.c38 char *ipaddr, char *gateway, char *netmask)
139 strcpy(gateway, optbuf);
37 dhcpParseLeases(char *file, char *hostname, char *domain, char *nameserver, char *ipaddr, char *gateway, char *netmask) argument
H A Dtcpip.c61 gateway[IPADDR_FIELD_LEN], nameserver[INET6_ADDRSTRLEN]; variable
86 gateway, STRINGOBJ, NULL },
256 else if (gateway[0] && strcmp(gateway, "NO") &&
257 !verifyGW(gateway, ipaddr[0] ? &parsedip : NULL,
259 feepout("Invalid gateway IPv4 address specified");
274 nameserver, ipaddr, gateway, netmask) == -1) {
443 if (!strcmp(gateway, "NO"))
444 gateway[0] = '\0';
482 if (!gateway[
[all...]
/freebsd-9.3-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-9.3-release/sys/netinet/
H A Din_rmx.c471 struct sockaddr *gateway,
477 return (rtrequest_fib(req, dst, gateway, netmask,
489 struct sockaddr *gateway,
495 rtredirect_fib(dst, gateway, netmask, flags, src, fibnum);
469 in_rtrequest( int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, u_int fibnum) argument
488 in_rtredirect(struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src, u_int fibnum) argument
/freebsd-9.3-release/sys/netinet6/
H A Din6.c148 struct sockaddr_dl gateway; local
168 bzero(&gateway, sizeof(gateway));
169 gateway.sdl_len = sizeof(gateway);
170 gateway.sdl_family = AF_LINK;
171 gateway.sdl_nlen = 0;
172 gateway.sdl_alen = 6;
173 memcpy(gateway.sdl_data, &ln->ll_addr.mac_aligned,
179 rt.rt_gateway = (struct sockaddr *)&gateway;
192 struct sockaddr_dl gateway; local
[all...]
H A Dnd6.c1194 struct sockaddr_in6 *gateway; local
1199 gateway = (struct sockaddr_in6 *)rt->rt_gateway;
1220 dr = defrouter_lookup(&gateway->sin6_addr, ifp);
H A Dnd6_rtr.c602 * Note that defrouter_select() will remove the current gateway
2114 * Delete all the routing table entries that use the specified gateway.
2119 rt6_flush(struct in6_addr *gateway, struct ifnet *ifp) argument
2126 if (!IN6_IS_ADDR_LINKLOCAL(gateway)) {
2138 rnh->rnh_walktree(rnh, rt6_deleteroute, (void *)gateway);
/freebsd-9.3-release/sbin/route/
H A Droute.c803 const char *dest, *gateway, *errmsg; local
811 gateway = NULL;
918 gateway = *argv;
968 gateway = *argv;
999 if (gateway == NULL)
1000 gateway = "";
1029 if (*gateway)
1030 printf(": gateway %s", gateway);
1054 if (*gateway)
[all...]
/freebsd-9.3-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-9.3-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");
2801 "[-a addrtype] [-b bufsiz] [-c count] [-g gateway]\n"
/freebsd-9.3-release/lib/bind/dns/dns/
H A Drdatastruct.h1561 struct in_addr in_addr; /* gateway type 1 */
1562 struct in6_addr in6_addr; /* gateway type 2 */
1563 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_ipseckey
/freebsd-9.3-release/contrib/libpcap/
H A Dscanner.l258 gateway return GATEWAY;

Completed in 195 milliseconds

12