summaryrefslogtreecommitdiffstats
path: root/private/inc/sockets/arpa/bootp.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/inc/sockets/arpa/bootp.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/inc/sockets/arpa/bootp.h')
-rw-r--r--private/inc/sockets/arpa/bootp.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/private/inc/sockets/arpa/bootp.h b/private/inc/sockets/arpa/bootp.h
new file mode 100644
index 000000000..484be4227
--- /dev/null
+++ b/private/inc/sockets/arpa/bootp.h
@@ -0,0 +1,74 @@
+/*++
+
+Copyright (c) 1991 Microsoft Corporation
+
+Module Name:
+
+ bootp.h
+
+Abstract:
+
+ Include file for the bootp daemon.
+
+Author:
+
+ Sam Patton (sampa) July 26, 1991
+
+Revision History:
+
+ when who what
+ ---- --- ----
+ 7-26-91 sampa initial version
+
+--*/
+
+/******************************************************************
+ *
+ * SpiderTCP Include Files
+ *
+ * Copyright 1989 Spider Systems Limited
+ *
+ * BOOTP.H
+ *
+ * Include file for the booting daemon,
+ * which uses BOOTP (bootstrap protocol).
+ * See [SRI-NIC]<RFC>RFC951.TXT for a description of the protocol.
+ *
+ ******************************************************************/
+
+/*
+ * /usr/projects/spare/PBRAIN/SCCS/pbrainG/dev/src/include/arpa/0/s.bootp.h
+ * @(#)bootp.h 1.1
+ *
+ * Last delta created 16:45:42 6/14/89
+ * This file extracted 08:53:49 7/10/91
+ *
+ * Modifications:
+ *
+ * GSS 23 May 89 New File
+ */
+
+#ifndef BOOTP_INCLUDED
+#define BOOTP_INCLUDED
+
+struct bootp {
+ unchar bp_op; /* packet opcode type */
+#define BOOTREQUEST 1
+#define BOOTREPLY 2
+ unchar bp_htype; /* hardware addr type */
+ unchar bp_hlen; /* hardware addr length */
+ unchar bp_hops; /* gateway hops */
+ ulong bp_xid; /* transaction ID */
+ ushort bp_secs; /* seconds since boot began */
+ ushort bp_unused;
+ iaddr_t bp_ciaddr; /* client IP address */
+ iaddr_t bp_yiaddr; /* 'your' IP address */
+ iaddr_t bp_siaddr; /* server IP address */
+ iaddr_t bp_giaddr; /* gateway IP address */
+ unchar bp_chaddr[16]; /* client hardware address */
+ unchar bp_sname[64]; /* server host name */
+ unchar bp_file[128]; /* boot file name */
+ unchar bp_vend[64]; /* vendor-specific area */
+};
+
+#endif //BOOTP_INCLUDED