/* $NetBSD: globals.c,v 1.3 1995/09/18 21:19:27 pk Exp $ */12/*3* globals.c:4*5* global variables should be separate, so nothing else6* must be included extraneously.7*/89#include <sys/param.h>10#include <netinet/in.h>11#include <netinet/in_systm.h>1213#include "stand.h"14#include "net.h"1516u_char bcea[6] = BA; /* broadcast ethernet address */1718char rootpath[FNAME_SIZE] = "/"; /* root mount path */19int rootport; /* port for rootpath server */20char bootfile[FNAME_SIZE]; /* bootp says to boot this */21char hostname[FNAME_SIZE]; /* our hostname */22int hostnamelen;23char domainname[FNAME_SIZE]; /* our DNS domain */24int domainnamelen;25int netproto = NET_NONE; /* Network prototol */26char ifname[IFNAME_SIZE]; /* name of interface (e.g. "le0") */27struct in_addr myip; /* my ip address */28struct in_addr nameip; /* DNS server ip address */29struct in_addr rootip; /* root ip address */30struct in_addr swapip; /* swap ip address */31struct in_addr gateip; /* gateway ip address */32n_long netmask = 0xffffff00; /* subnet or net mask */33u_int intf_mtu; /* interface mtu from bootp/dhcp */34int errno; /* our old friend */35363738