projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Limit lifetime of non-static leases in case of release and decline
[project/odhcpd.git]
/
src
/
odhcpd.h
diff --git
a/src/odhcpd.h
b/src/odhcpd.h
index
3e8fc3e
..
0e5868c
100644
(file)
--- a/
src/odhcpd.h
+++ b/
src/odhcpd.h
@@
-44,6
+44,8
@@
#define RELAYD_BUFFER_SIZE 8192
#define RELAYD_MAX_PREFIXES 8
#define RELAYD_BUFFER_SIZE 8192
#define RELAYD_MAX_PREFIXES 8
+#define INFINITE_VALID(x) ((x) == 0)
+
#define _unused __attribute__((unused))
#define _packed __attribute__((packed))
#define _unused __attribute__((unused))
#define _packed __attribute__((packed))
@@
-82,6
+84,11
@@
enum odhcpd_mode {
};
};
+enum odhcpd_assignment_flags {
+ OAF_BOUND = (1 << 0),
+ OAF_STATIC = (1 << 1),
+};
+
struct config {
bool legacy;
char *dhcp_cb;
struct config {
bool legacy;
char *dhcp_cb;