mfi(4): Use MSI if it is supported by the device.
[dragonfly.git] / lib / libstand / globals.c
blob711a028871b1a9f214e06255ab3f59ff707309d9
1 /* $NetBSD: globals.c,v 1.3 1995/09/18 21:19:27 pk Exp $ */
3 /*
4 * globals.c:
6 * global variables should be separate, so nothing else
7 * must be included extraneously.
8 */
10 #include <sys/param.h>
11 #include <netinet/in.h>
12 #include <netinet/in_systm.h>
14 #include "stand.h"
15 #include "net.h"
17 u_char bcea[6] = BA; /* broadcast ethernet address */
19 char rootpath[FNAME_SIZE] = "/"; /* root mount path */
20 char bootfile[FNAME_SIZE]; /* bootp says to boot this */
21 char hostname[FNAME_SIZE]; /* our hostname */
22 int hostnamelen;
23 char domainname[FNAME_SIZE]; /* our DNS domain */
24 int domainnamelen;
25 char ifname[IFNAME_SIZE]; /* name of interface (e.g. "lnc0") */
26 struct in_addr myip; /* my ip address */
27 struct in_addr nameip; /* DNS server ip address */
28 struct in_addr rootip; /* root ip address */
29 struct in_addr swapip; /* swap ip address */
30 struct in_addr gateip; /* swap ip address */
31 n_long netmask = 0xffffff00; /* subnet or net mask */
32 int errno; /* our old friend */