#define RELAYD_BUFFER_SIZE 8192
#define RELAYD_MAX_PREFIXES 8
+#define INFINITE_VALID(x) ((x) == 0)
+
#define _unused __attribute__((unused))
#define _packed __attribute__((packed))
};
+enum odhcpd_assignment_flags {
+ OAF_BOUND = (1 << 0),
+ OAF_STATIC = (1 << 1),
+};
+
struct config {
bool legacy;
char *dhcp_cb;
struct ether_addr mac;
uint16_t duid_len;
uint8_t *duid;
+ uint32_t dhcpv4_leasetime;
char hostname[];
};