From d85accad1322e19f85bda707c27c94d5ce24cddb Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 4 Jun 2015 22:01:53 +0200 Subject: divide network into smaller chunks and provide pools --- dyndhcpd.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'dyndhcpd.h') diff --git a/dyndhcpd.h b/dyndhcpd.h index 96a7cf3..1f01abf 100644 --- a/dyndhcpd.h +++ b/dyndhcpd.h @@ -29,6 +29,15 @@ struct address { char c[INET_ADDRSTRLEN]; }; +struct network { + struct address address; + struct address netaddress; + struct address netmask; + struct address broadcast; + struct address minhost; + struct address maxhost; +}; + /*** replace ***/ int replace(char ** config, size_t *length, const char ** tmp, const char * template, const char * value); -- cgit v1.2.3-54-g00ecf