1 /*	$NetBSD: globals.c,v 1.11 2014/03/29 14:30:16 jakllsch 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 <net/if_ether.h>		/* for ETHER_ADDR_LEN */
12 #include <netinet/in.h>
13 #include <netinet/in_systm.h>
14 
15 #include "stand.h"
16 #include "net.h"
17 
18 u_char	bcea[ETHER_ADDR_LEN] = BA;	/* broadcast ethernet address */
19 
20 char	rootpath[FNAME_SIZE];		/* root mount path */
21 char	bootfile[FNAME_SIZE];		/* bootp says to boot this */
22 char	hostname[FNAME_SIZE];		/* our hostname */
23 const char	*fsmod = NULL;		/* file system module name to load */
24 struct	in_addr myip;			/* my ip address */
25 struct	in_addr rootip;			/* root ip address */
26 struct	in_addr gateip;			/* swap ip address */
27 n_long	netmask = 0xffffff00;		/* subnet or net mask */
28