diff options
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r-- | networking/udhcp/dhcpd.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index b8d94a763..b8f96b029 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h | |||
@@ -90,20 +90,6 @@ struct dyn_lease { | |||
90 | /* total size is a multiply of 4 */ | 90 | /* total size is a multiply of 4 */ |
91 | } PACKED; | 91 | } PACKED; |
92 | 92 | ||
93 | extern struct dyn_lease *g_leases; | ||
94 | |||
95 | struct dyn_lease *add_lease( | ||
96 | const uint8_t *chaddr, uint32_t yiaddr, | ||
97 | leasetime_t leasetime, | ||
98 | const char *hostname, int hostname_len | ||
99 | ) FAST_FUNC; | ||
100 | int is_expired_lease(struct dyn_lease *lease) FAST_FUNC; | ||
101 | struct dyn_lease *find_lease_by_mac(const uint8_t *mac) FAST_FUNC; | ||
102 | struct dyn_lease *find_lease_by_nip(uint32_t nip) FAST_FUNC; | ||
103 | uint32_t find_free_or_expired_nip(const uint8_t *safe_mac, unsigned arpping_ms) FAST_FUNC; | ||
104 | |||
105 | int is_nip_reserved(struct static_lease *st_lease, uint32_t nip) FAST_FUNC; | ||
106 | |||
107 | POP_SAVED_FUNCTION_VISIBILITY | 93 | POP_SAVED_FUNCTION_VISIBILITY |
108 | 94 | ||
109 | #endif | 95 | #endif |