/src/usr.sbin/bootp/common/ |
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
|
/src/sys/nfs/ |
nfs_bootdhcp.c | 115 u_int8_t bp_hops; /* gateway hops */ 122 struct in_addr bp_giaddr; /* gateway IP address */ 280 "gateway, next-server, root-path)\n"); 699 struct in_addr gateway; local in function:bootp_extract 714 gateway.s_addr = 0; 754 memcpy(&gateway, p, 4); 844 nd->nd_gwip = gateway; 845 printf("nfs_boot: gateway=%s\n", inet_ntoa(nd->nd_gwip));
|
/src/sbin/route/ |
route.c | 425 const char *cmd, *dest = "", *gateway = ""; local in function:newroute 602 gateway = *argv; 622 "assuming route via gateway"); 634 errx(EXIT_FAILURE, "missing gateway specification"); 652 if (af == AF_INET && *gateway && hp && hp->h_addr_list[1]) { 664 if (*gateway) { 665 (void)printf(": gateway %s", gateway); 1293 [RTM_CHANGE] = "RTM_CHANGE: Change Metrics, Flags or Gateway", 1578 (void)printf(" gateway: %s\n", name) [all...] |
/src/sbin/ping6/ |
ping6.c | 286 char *e, *target, *ifname = NULL, *gateway = NULL; local in function:main 399 gateway = optarg; 606 /* set the gateway (next hop) if specified */ 607 if (gateway) { 616 error = getaddrinfo(gateway, NULL, &hints, &gres); 618 errx(1, "getaddrinfo for the gateway %s: %s", 619 gateway, gai_strerror(error)); 622 warnx("gateway resolves to multiple addresses"); 2526 "\t[-c count] [-g gateway] [-h hoplimit] [-I interface]\n"
|
/src/sys/net/ |
route.c | 822 * destination to go through the given gateway. 829 rtredirect(const struct sockaddr *dst, const struct sockaddr *gateway, 840 /* verify the gateway is directly reachable */ 841 if ((ifa = ifa_ifwithnet_psref(gateway, &psref)) == NULL) { 859 _ifa = ifa_ifwithaddr(gateway); 890 info.rti_info[RTAX_GATEWAY] = gateway; 903 * Smash the current notion of the gateway to 913 error = rt_setgate(rt, gateway); 947 info.rti_info[RTAX_GATEWAY] = gateway; 984 const struct sockaddr *gateway, struct psref *psref 1101 const struct sockaddr *gateway = info->rti_info[RTAX_GATEWAY]; local in function:rt_getifa 1150 const struct sockaddr *gateway = info->rti_info[RTAX_GATEWAY]; local in function:rtrequest1 1573 struct sockaddr *gateway = rt->rt_gateway; local in function:rt_newmsg_dynamic [all...] |