1994-10-26 09:39:02 +03:00
|
|
|
/* $NetBSD: globals.c,v 1.3 1994/10/26 06:43:10 cgd Exp $ */
|
|
|
|
|
1993-10-13 19:33:55 +03: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 "netboot.h"
|
|
|
|
|
|
|
|
u_char bcea[6] = BA; /* broadcast ethernet address */
|
|
|
|
char rootpath[FNAME_SIZE]; /* root mount path */
|
|
|
|
char swappath[FNAME_SIZE]; /* swap mount path */
|
|
|
|
char ifname[IFNAME_SIZE]; /* name of interface (e.g. "le0") */
|
|
|
|
n_long rootip; /* root ip address */
|
|
|
|
n_long swapip; /* swap ip address */
|
|
|
|
n_long gateip; /* swap ip address */
|
|
|
|
n_long smask; /* subnet mask */
|
|
|
|
n_long nmask; /* net mask */
|
|
|
|
n_long mask; /* subnet or net mask */
|
|
|
|
time_t bot; /* beginning of time in seconds */
|