summaryrefslogtreecommitdiff
path: root/slirp/bootp.h
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/bootp.h')
-rw-r--r--slirp/bootp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/slirp/bootp.h b/slirp/bootp.h
index 3d80515c98..30c30ab863 100644
--- a/slirp/bootp.h
+++ b/slirp/bootp.h
@@ -112,4 +112,11 @@ struct bootp_t {
uint8_t bp_vend[DHCP_OPT_LEN];
};
+typedef struct {
+ uint16_t allocated;
+ uint8_t macaddr[6];
+} BOOTPClient;
+
+#define NB_BOOTP_CLIENTS 16
+
void bootp_input(struct mbuf *m);