1/*	$NetBSD: globals.c,v 1.12 2022/04/24 06:52:59 mlelstv 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
18u_char	bcea[ETHER_ADDR_LEN] = BA;	/* broadcast ethernet address */
19
20char	rootpath[FNAME_SIZE];		/* root mount path */
21char	bootfile[FNAME_SIZE];		/* bootp says to boot this */
22char	hostname[FNAME_SIZE];		/* our hostname */
23struct	in_addr myip;			/* my ip address */
24struct	in_addr rootip;			/* root ip address */
25struct	in_addr gateip;			/* swap ip address */
26n_long	netmask = 0xffffff00;		/* subnet or net mask */
27