diff options
author | Christian Hesse <mail@eworm.de> | 2015-06-04 22:01:53 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-06-04 22:01:53 +0200 |
commit | d85accad1322e19f85bda707c27c94d5ce24cddb (patch) | |
tree | 1490378f2e563297e44b50670c883bdfcf6c9581 /dyndhcpd.h | |
parent | 6c8bcf52d208cb85d8494b928ef0eba02cbfbe91 (diff) | |
download | dyndhcpd-d85accad1322e19f85bda707c27c94d5ce24cddb.tar.gz dyndhcpd-d85accad1322e19f85bda707c27c94d5ce24cddb.tar.zst |
divide network into smaller chunks and provide pools
Diffstat (limited to 'dyndhcpd.h')
-rw-r--r-- | dyndhcpd.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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); |