xref: /netbsd-src/sys/lib/libsa/globals.c (revision ba65fde2d7fefa7d39838fa5fa855e62bd606b5e)
1 /*	$NetBSD: globals.c,v 1.9 2012/05/21 21:34:16 dsl Exp $	*/
2 
3 /*
4  *	globals.c:
5  *
6  *	global variables should be separate, so nothing else
7  *	must be included extraneously.
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	*fsmod = NULL;			/*  file system module name to load */
23 struct	in_addr myip;			/* my ip address */
24 struct	in_addr rootip;			/* root ip address */
25 struct	in_addr gateip;			/* swap ip address */
26 n_long	netmask = 0xffffff00;		/* subnet or net mask */
27