aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp/dhcp.api
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-07-06 01:39:05 -0700
committerNeale Ranns <nranns@cisco.com>2017-07-06 20:52:58 +0000
commit4729b1ec83855268adcea3e00a3462c06a631075 (patch)
tree2cb8445756b09df3e16b7de303f8ef6914ea9ae2 /src/vnet/dhcp/dhcp.api
parent1d7d2ab7187189509a65abaed934fedde3482936 (diff)
DHCP complete event sends mask length
Change-Id: I4a529dfab5d0ce6b0bbc0ccbbd89c6b109dbf917 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/dhcp/dhcp.api')
-rw-r--r--src/vnet/dhcp/dhcp.api2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/dhcp/dhcp.api b/src/vnet/dhcp/dhcp.api
index eb0b070d22c..a2803728dd9 100644
--- a/src/vnet/dhcp/dhcp.api
+++ b/src/vnet/dhcp/dhcp.api
@@ -81,6 +81,7 @@ autoreply define dhcp_client_config
@param client_index - opaque cookie to identify the sender
@param pid - client pid registered to receive notification
@param is_ipv6 - if non-zero the address is ipv6, else ipv4
+ @param mask_width - The length of the subnet mask assigned
@param host_address - Host IP address
@param router_address - Router IP address
@param host_mac - Host MAC address
@@ -91,6 +92,7 @@ define dhcp_compl_event
u32 pid;
u8 hostname[64];
u8 is_ipv6;
+ u8 mask_width;
u8 host_address[16];
u8 router_address[16];
u8 host_mac[6];