summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-03-29 14:37:13 +0200
committerSteven Barth <steven@midlink.org>2015-03-29 14:37:13 +0200
commit7103b67707aac1a44b64211b45eca9c5c54bef2d (patch)
treed1ebbca5e7afbf7b32044f770a9d711ba0cd2f63 /src/odhcpd.h
parent0a9d2fcf8e955b7e7a3247ef354a2d4e12a17f62 (diff)
Remove prefix coloring support, refine hybrid management mode
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index bc837d5..95dcb00 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -69,8 +69,6 @@ struct odhcpd_ipaddr {
struct in6_addr addr;
uint8_t prefix;
uint8_t dprefix;
- bool has_class;
- uint16_t class;
uint32_t preferred;
uint32_t valid;
};
@@ -206,14 +204,6 @@ void odhcpd_bmemcpy(void *av, const void *bv, size_t bits);
int config_parse_interface(void *data, size_t len, const char *iname, bool overwrite);
-#ifdef WITH_UBUS
-int init_ubus(void);
-const char* ubus_get_ifname(const char *name);
-void ubus_apply_network(void);
-bool ubus_has_prefix(const char *name, const char *ifname);
-bool ubus_get_class(const char *ifname, const struct in6_addr *addr, uint16_t *pclass);
-#endif
-
// Exported module initializers
int init_router(void);