diff options
author | Shawn Routhier <sar@isc.org> | 2015-07-13 12:06:50 -0700 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2015-07-13 12:06:50 -0700 |
commit | 45c332f037bf54134df5335ba9c888aea0c24d4d (patch) | |
tree | 6e71fbf81a321dd3be279d233b33f5f7fd9a2095 /includes/dhcpd.h | |
parent | 3496e9bc0e899e6120b8d4a2a7258fb30b4cf1f1 (diff) | |
download | isc-dhcp-45c332f037bf54134df5335ba9c888aea0c24d4d.tar.gz |
[master] Add code to parse a vendor option as directed by the user.
Add code to parse a vendor option. It is structured as an action
in the config language. When the statement is executed it attempts
to find a vendor option in the packet and a vendor option space
specified by the admin for use with that packet. It then calls
the proper parse routine to do the parsing.
Diffstat (limited to 'includes/dhcpd.h')
-rw-r--r-- | includes/dhcpd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 378459b9..916e18eb 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -2016,6 +2016,13 @@ int add_option(struct option_state *options, void *data, unsigned int data_len); +void parse_vendor_option(struct packet *packet, + struct lease *lease, + struct client_state *client_state, + struct option_state *in_options, + struct option_state *out_options, + struct binding_scope **scope); + /* dhcpd.c */ extern struct timeval cur_tv; #define cur_time cur_tv.tv_sec |