xref: /minix3/sys/lib/libsa/globals.c (revision d19d7d58aa5cd1165eefe1a0d807c8afe282db62)
1 /*	$NetBSD: globals.c,v 1.8 2008/11/19 12:36:41 ad 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 #ifdef __minix
23 char    *fsmod = NULL;
24 #else
25 char	*fsmod =  "ffs";		/* guessed file system module name */
26 #endif
27 char	*fsmod2;			/* a requisite module */
28 struct	in_addr myip;			/* my ip address */
29 struct	in_addr rootip;			/* root ip address */
30 struct	in_addr gateip;			/* swap ip address */
31 n_long	netmask = 0xffffff00;		/* subnet or net mask */
32