1
2
3
4
5
6
7
8
9
10
11 #include <sys/param.h>
12 #include <sys/socket.h>
13 #include <net/if.h>
14 #include <netinet/in.h>
15 #include <netinet/in_systm.h>
16
17 #include "stand.h"
18 #include "net.h"
19
20 u_char bcea[6] = BA;
21
22 char rootpath[FNAME_SIZE] = "/";
23 char bootfile[FNAME_SIZE];
24 char hostname[FNAME_SIZE];
25 int hostnamelen;
26 char domainname[FNAME_SIZE];
27 int domainnamelen;
28 char ifname[IFNAME_SIZE];
29 struct in_addr myip;
30 struct in_addr nameip;
31 struct in_addr rootip;
32 struct in_addr swapip;
33 struct in_addr gateip;
34 n_long netmask = 0xffffff00;