summaryrefslogtreecommitdiff
path: root/net/bootp.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/bootp.h')
-rw-r--r--net/bootp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/bootp.h b/net/bootp.h
index 3b95a0a2de..4efee0a9de 100644
--- a/net/bootp.h
+++ b/net/bootp.h
@@ -38,7 +38,7 @@ struct Bootp_t {
uchar bp_hlen; /* Hardware address length */
# define HWL_ETHER 6
uchar bp_hops; /* Hop count (gateway thing) */
- ulong bp_id; /* Transaction ID */
+ u32 bp_id; /* Transaction ID */
ushort bp_secs; /* Seconds since boot */
ushort bp_spare1; /* Alignment */
IPaddr_t bp_ciaddr; /* Client IP address */
@@ -59,11 +59,10 @@ struct Bootp_t {
*/
/* bootp.c */
-extern ulong BootpID; /* ID of cur BOOTP request */
+extern u32 BootpID; /* ID of cur BOOTP request */
extern char BootFile[128]; /* Boot file name */
extern int BootpTry;
-
/* Send a BOOTP request */
extern void BootpReset(void);
extern void BootpRequest(void);