2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

[master] Add support for relayed client-linklayer-address option (RFC 6939)

Merges in rt40334.
This commit is contained in:
Thomas Markwalder
2016-01-28 16:30:01 -05:00
parent cab61f4377
commit 62a9eb918c
5 changed files with 236 additions and 133 deletions

View File

@@ -3429,6 +3429,7 @@ int find_hosts_by_option(struct host_decl **, struct packet *,
struct option_state *, const char *, int);
int find_host_for_network (struct subnet **, struct host_decl **,
struct iaddr *, struct shared_network *);
void new_address_range (struct parse *, struct iaddr, struct iaddr,
struct subnet *, struct pool *,
struct lease **);
@@ -3750,6 +3751,11 @@ void mark_phosts_unavailable(void);
void mark_interfaces_unavailable(void);
void report_jumbo_ranges();
#if defined(DHCPv6)
int find_hosts6(struct host_decl** host, struct packet* packet,
const struct data_string* client_id, char* file, int line);
#endif
#if defined (BINARY_LEASES)
/* leasechain.c */
int lc_not_empty(struct leasechain *lc);