138451Smsmith/*	$NetBSD: globals.c,v 1.3 1995/09/18 21:19:27 pk Exp $	*/
238451Smsmith
338451Smsmith/*
438451Smsmith *	globals.c:
538451Smsmith *
638451Smsmith *	global variables should be separate, so nothing else
738451Smsmith *	must be included extraneously.
838451Smsmith */
938451Smsmith
1084221Sdillon#include <sys/cdefs.h>
1184221Sdillon__FBSDID("$FreeBSD$");
1284221Sdillon
1338451Smsmith#include <sys/param.h>
1438451Smsmith#include <netinet/in.h>
1538451Smsmith#include <netinet/in_systm.h>
1638451Smsmith
1738451Smsmith#include "stand.h"
1838451Smsmith#include "net.h"
1938451Smsmith
2038451Smsmithu_char	bcea[6] = BA;			/* broadcast ethernet address */
2138451Smsmith
2238451Smsmithchar	rootpath[FNAME_SIZE] = "/";	/* root mount path */
2338451Smsmithchar	bootfile[FNAME_SIZE];		/* bootp says to boot this */
2438451Smsmithchar	hostname[FNAME_SIZE];		/* our hostname */
2538451Smsmithint	hostnamelen;
2638451Smsmithchar	domainname[FNAME_SIZE];		/* our DNS domain */
2738451Smsmithint	domainnamelen;
2838451Smsmithchar	ifname[IFNAME_SIZE];		/* name of interface (e.g. "le0") */
2938451Smsmithstruct	in_addr myip;			/* my ip address */
3038451Smsmithstruct	in_addr nameip;			/* DNS server ip address */
3138451Smsmithstruct	in_addr rootip;			/* root ip address */
3238451Smsmithstruct	in_addr swapip;			/* swap ip address */
3338451Smsmithstruct	in_addr gateip;			/* swap ip address */
3438451Smsmithn_long	netmask = 0xffffff00;		/* subnet or net mask */
35301056Sianu_int	intf_mtu;			/* interface mtu from bootp/dhcp */
3638451Smsmithint	errno;				/* our old friend */
3738451Smsmith
38