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