X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdhcp%2Fdhcp.api;h=6db9033a7f477c8554a11c5988ff41f9e7026ca7;hb=038e1dfbd;hp=ac1e68509e7f837dac6fa5f73b5660f31a14ee9f;hpb=dd3b8f7ab9f120b92c5fdf26016db47bbe18cb39;p=vpp.git diff --git a/src/vnet/dhcp/dhcp.api b/src/vnet/dhcp/dhcp.api index ac1e68509e7..6db9033a7f4 100644 --- a/src/vnet/dhcp/dhcp.api +++ b/src/vnet/dhcp/dhcp.api @@ -15,6 +15,8 @@ option version = "2.0.1"; +import "vnet/ip/ip_types.api"; + /** \brief DHCP Proxy config add / del request @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @@ -70,6 +72,7 @@ autoreply define dhcp_proxy_set_vss via dhcp_compl_event API message if non-zero @param set_broadcast_flag - in the DHCP Discover to control how the resulting OFFER is addressed. + @param dscp - DSCP value set in IP packets sent by the client @param pid - sender's pid */ typeonly define dhcp_client @@ -79,6 +82,7 @@ typeonly define dhcp_client u8 id[64]; u8 want_dhcp_event; u8 set_broadcast_flag; + vl_api_ip_dscp_t dscp; u32 pid; }; @@ -96,6 +100,14 @@ autoreply define dhcp_client_config vl_api_dhcp_client_t client; }; +/** \brief Struct representing domain server + @param address - IP address +*/ +typeonly manual_print manual_endian define domain_server +{ + u8 address[16]; +}; + /** \brief Data learned by the client during the DHCP process @param sw_if_index - the interface on which the client is configured @param state - the state of the lease (see dhcp_client_state_t) @@ -115,6 +127,8 @@ typeonly define dhcp_lease u8 host_address[16]; u8 router_address[16]; u8 host_mac[6]; + u8 count; + vl_api_domain_server_t domain_server[count]; }; /** \brief Tell client about a DHCP completion event