summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-09-06 14:51:09 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-09-06 14:51:59 +0200
commitf0e354befd6f787c1ed8ebc1ea514e9195f54433 (patch)
tree818dd223f8ba619995efb254eb04dbd59606c039 /src/odhcpd.h
parent1a313f9052e315571f42e9888d7bc8e443c5bb56 (diff)
treewide: replace RELAYD prefix naming in macros
Remove the unfortunate RELAYD naming in the different macros Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index b0801a4..a240aa1 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -40,8 +40,6 @@
#define ND_OPT_RECURSIVE_DNS 25
#define ND_OPT_DNS_SEARCH 31
-#define RELAYD_BUFFER_SIZE 8192
-
#define INFINITE_VALID(x) ((x) == 0)
#define _unused __attribute__((unused))
@@ -87,10 +85,10 @@ struct odhcpd_ipaddr {
};
enum odhcpd_mode {
- RELAYD_DISABLED,
- RELAYD_SERVER,
- RELAYD_RELAY,
- RELAYD_HYBRID
+ MODE_DISABLED,
+ MODE_SERVER,
+ MODE_RELAY,
+ MODE_HYBRID
};