|
|
1.1 root 1: /*
2: * this file used by (at least) snoopy, tboot and bootp
3: */
4: enum
5: {
6: Bootrequest = 1,
7: Bootreply = 2,
8: };
9:
10: typedef struct Bootp Bootp;
11: struct Bootp
12: {
13: uchar op; /* opcode */
14: uchar htype; /* hardware type */
15: uchar hlen; /* hardware address len */
16: uchar hops; /* hops */
17: uchar xid[4]; /* a random number */
18: uchar secs[2]; /* elapsed snce client started booting */
19: uchar pad[2];
20: uchar ciaddr[4]; /* client IP address (client tells server) */
21: uchar yiaddr[4]; /* client IP address (server tells client) */
22: uchar siaddr[4]; /* server IP address */
23: uchar giaddr[4]; /* gateway IP address */
24: uchar chaddr[16]; /* client hardware address */
25: char sname[64]; /* server host name (optional) */
26: char file[128]; /* boot file name */
27: char vend[128]; /* vendor-specific goo */
28: };
29:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.