xref: /netbsd-src/sys/lib/libsa/globals.c (revision d9158b13b5dfe46201430699a3f7a235ecf28df3)
1 /*
2  *	globals.c:
3  *
4  *	global variables should be separate, so nothing else
5  *	must be included extraneously.
6  *
7  *	$Id: globals.c,v 1.1 1994/05/08 16:11:23 brezak Exp $
8  */
9 
10 #include <sys/param.h>
11 #include <netinet/in.h>
12 #include <netinet/in_systm.h>
13 
14 #include "stand.h"
15 #include "net.h"
16 
17 u_char	bcea[6] = BA;			/* broadcast ethernet address */
18 
19 char	rootpath[FNAME_SIZE] = "/";	/* root mount path */
20 char	bootfile[FNAME_SIZE];		/* bootp says to boot this */
21 char	hostname[FNAME_SIZE];		/* our hostname */
22 char	domainname[FNAME_SIZE];		/* our DNS domain */
23 char	ifname[IFNAME_SIZE];		/* name of interface (e.g. "le0") */
24 n_long	nameip;				/* DNS server ip address */
25 n_long	rootip;				/* root ip address */
26 n_long	swapip;				/* swap ip address */
27 n_long	gateip;				/* swap ip address */
28 n_long	mask = 0xffffff00;		/* subnet or net mask */
29