summaryrefslogtreecommitdiffhomepage
path: root/src/dhcpv4.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-12-11 14:13:30 +0100
committerHans Dedecker <dedeckeh@gmail.com>2019-02-08 14:07:21 +0100
commit7847b27e6533824e41fbae239acfda328b9cdfa5 (patch)
tree6674993d128d1c2ed30eacf44e41203ae6f46afe /src/dhcpv4.h
parenta54cee0d033ada75724b18a9350103a02e0ba956 (diff)
treewide: unify dhcpv6 and dhcpv4 assignments
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/dhcpv4.h')
-rw-r--r--src/dhcpv4.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/dhcpv4.h b/src/dhcpv4.h
index f48c005..96bd068 100644
--- a/src/dhcpv4.h
+++ b/src/dhcpv4.h
@@ -86,27 +86,6 @@ struct dhcpv4_auth_forcerenew {
uint8_t key[16];
} _packed;
-struct odhcpd_ref_ip;
-
-struct dhcpv4_assignment {
- struct list_head head;
- struct interface *iface;
-
- struct uloop_timeout fr_timer;
- struct odhcpd_ref_ip *fr_ip;
- bool accept_fr_nonce;
- int fr_cnt;
- uint8_t key[16];
-
- unsigned int flags;
-
- uint32_t addr;
- time_t valid_until;
- uint8_t hwaddr[6];
- uint32_t leasetime;
- char *hostname;
-};
-
struct dhcpv4_option {
uint8_t type;
uint8_t len;