Searched refs:gateip (Results 1 - 19 of 19) sorted by relevance

/netbsd-current/sys/lib/libsa/
H A Dglobals.c25 struct in_addr gateip; /* swap ip address */ variable in typeref:struct:in_addr
H A Ddev_net.c250 gateip.s_addr = 0;
251 if (bp_getfile(sock, "gateway", &gateip, buf)) {
266 if (gateip.s_addr)
267 printf("net gateway: %s\n", inet_ntoa(gateip));
H A Dbootp.c253 if (!SAMENET(myip, gateip, netmask)) {
256 printf("gateway ip (%s) bad\n", inet_ntoa(gateip));
258 gateip.s_addr = 0;
266 if (gateip.s_addr != 0)
267 printf("net gateway: %s\n", inet_ntoa(gateip));
386 if (tag == TAG_GATEWAY && size >= sizeof(gateip.s_addr)) {
387 (void)memcpy(&gateip.s_addr, cp, sizeof(gateip.s_addr));
441 gateip = vp->v_dgate;
H A Dnet.h101 extern struct in_addr gateip;
H A Dip.c73 ea = arpwhohas(d, gateip);
H A Dbootparam.c218 if (xdr_inaddr_decode(&recv_head, &gateip)) {
/netbsd-current/sys/arch/sparc/stand/ofwboot/
H A Dnet.c128 gateip.s_addr = 0;
175 if (gateip.s_addr)
176 printf(" gateway=%s\n", inet_ntoa(gateip));
/netbsd-current/sys/arch/i386/stand/efiboot/
H A Ddev_net.c222 gateip.s_addr = 0;
223 if (bp_getfile(sock, "gateway", &gateip, buf)) {
238 if (gateip.s_addr)
239 printf("net gateway: %s\n", inet_ntoa(gateip));
/netbsd-current/sys/arch/ofppc/stand/ofwboot/
H A Dnet.c146 if (gateip.s_addr)
147 printf(", gateip: %s", inet_ntoa(gateip));
/netbsd-current/sys/arch/macppc/stand/ofwboot/
H A Dnet.c145 if (gateip.s_addr)
146 printf(", gateip: %s", inet_ntoa(gateip));
/netbsd-current/sys/arch/newsmips/stand/boot/
H A Dnet.c146 if (gateip.s_addr)
147 printf(", gateip: %s", inet_ntoa(gateip));
/netbsd-current/sys/arch/shark/stand/ofwboot/
H A Dnet.c142 if (gateip.s_addr)
143 printf(", gateip: %s", inet_ntoa(gateip));
/netbsd-current/sys/arch/ia64/stand/common/
H A Ddev_net.c243 gateip.s_addr = 0;
244 if (bp_getfile(sock, "gateway", &gateip, buf) == 0) {
253 if (gateip.s_addr)
255 printf("net_open: net gateway: %s\n", inet_ntoa(gateip));
304 setenv("boot.netif.gateway", inet_ntoa(gateip), 1);
/netbsd-current/sys/arch/sparc/stand/common/
H A Dnet.c146 if (gateip.s_addr)
147 printf(", gateway: %s", inet_ntoa(gateip));
/netbsd-current/sys/arch/alpha/stand/netboot/
H A Ddev_net.c217 if (gateip.s_addr) {
219 printf("boot: net gateway: %s\n", inet_ntoa(gateip));
/netbsd-current/sys/arch/evbmips/stand/sbmips/netboot/
H A Ddev_net.c217 if (gateip.s_addr) {
219 printf("boot: net gateway: %s\n", inet_ntoa(gateip));
/netbsd-current/sys/arch/hpcmips/stand/lcboot/
H A Ddev_net.c80 gateip = bootopts.b_gate_ip;
/netbsd-current/sys/arch/hp300/stand/common/
H A Dnetio.c188 if ((gateip.s_addr = inet_addr(input_line)) ==
/netbsd-current/sys/arch/i386/stand/pxeboot/
H A Dpxe.c129 uw->gw = gateip.s_addr;

Completed in 248 milliseconds