2003-03-27 15:28:58 +03:00
|
|
|
/* $NetBSD: globals.c,v 1.7 2003/03/27 12:28:58 drochner Exp $ */
|
1994-10-26 08:44:32 +03:00
|
|
|
|
1994-05-08 20:11:14 +04:00
|
|
|
/*
|
|
|
|
* globals.c:
|
|
|
|
*
|
|
|
|
* global variables should be separate, so nothing else
|
|
|
|
* must be included extraneously.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
#include <netinet/in.h>
|
|
|
|
#include <netinet/in_systm.h>
|
|
|
|
|
|
|
|
#include "stand.h"
|
|
|
|
#include "net.h"
|
|
|
|
|
|
|
|
u_char bcea[6] = BA; /* broadcast ethernet address */
|
|
|
|
|
2003-03-27 15:28:58 +03:00
|
|
|
char rootpath[FNAME_SIZE]; /* root mount path */
|
1994-05-08 20:11:14 +04:00
|
|
|
char bootfile[FNAME_SIZE]; /* bootp says to boot this */
|
|
|
|
char hostname[FNAME_SIZE]; /* our hostname */
|
1995-09-19 01:19:18 +04:00
|
|
|
struct in_addr myip; /* my ip address */
|
|
|
|
struct in_addr rootip; /* root ip address */
|
|
|
|
struct in_addr gateip; /* swap ip address */
|
|
|
|
n_long netmask = 0xffffff00; /* subnet or net mask */
|