]> git.proxmox.com Git - qemu.git/blobdiff - slirp/bootp.h
vnc: Make ledstate comparison before modifiers updated
[qemu.git] / slirp / bootp.h
index 3d80515c9842866a07043dd8ad870038b8a5a67d..ec3b68704c30ed1a7a8bde9ff343a7d9cb7dbb06 100644 (file)
@@ -1,4 +1,6 @@
 /* bootp/dhcp defines */
+#ifndef SLIRP_BOOTP_H
+#define SLIRP_BOOTP_H 1
 
 #define BOOTP_SERVER   67
 #define BOOTP_CLIENT   68
@@ -112,4 +114,13 @@ 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);
+
+#endif