summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index ab24674..759fb04 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -146,6 +146,8 @@ struct interface {
int ra_maxinterval;
// DHCPv4
+ struct in_addr dhcpv4_addr;
+ struct in_addr dhcpv4_mask;
struct in_addr dhcpv4_start;
struct in_addr dhcpv4_end;
struct in_addr *dhcpv4_router;
@@ -211,6 +213,8 @@ 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);
+const char* ubus_get_address4(const char *name);
+int ubus_get_mask4(const char *name);
#endif