aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dhcp')
-rw-r--r--src/vnet/dhcp/dhcp.api38
1 files changed, 4 insertions, 34 deletions
diff --git a/src/vnet/dhcp/dhcp.api b/src/vnet/dhcp/dhcp.api
index 2db85a79..eb0b070d 100644
--- a/src/vnet/dhcp/dhcp.api
+++ b/src/vnet/dhcp/dhcp.api
@@ -24,7 +24,7 @@
@param dhcp_server[] - server address
@param dhcp_src_address[] - <fix this, need details>
*/
-define dhcp_proxy_config
+autoreply define dhcp_proxy_config
{
u32 client_index;
u32 context;
@@ -36,16 +36,6 @@ define dhcp_proxy_config
u8 dhcp_src_address[16];
};
-/** \brief DHCP Proxy config response
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define dhcp_proxy_config_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief DHCP Proxy set / unset vss request
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -55,7 +45,7 @@ define dhcp_proxy_config_reply
@param is_ipv6 - ip6 if non-zero, else ip4
@param is_add - set vss if non-zero, else delete
*/
-define dhcp_proxy_set_vss
+autoreply define dhcp_proxy_set_vss
{
u32 client_index;
u32 context;
@@ -66,16 +56,6 @@ define dhcp_proxy_set_vss
u8 is_add;
};
-/** \brief DHCP proxy set / unset vss response
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define dhcp_proxy_set_vss_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief DHCP Client config add / del request
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -86,7 +66,7 @@ define dhcp_proxy_set_vss_reply
via dhcp_compl_event API message if non-zero
@param pid - sender's pid
*/
-define dhcp_client_config
+autoreply define dhcp_client_config
{
u32 client_index;
u32 context;
@@ -97,16 +77,6 @@ define dhcp_client_config
u32 pid;
};
-/** \brief DHCP Client config response
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define dhcp_client_config_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief Tell client about a DHCP completion event
@param client_index - opaque cookie to identify the sender
@param pid - client pid registered to receive notification
@@ -162,4 +132,4 @@ manual_endian manual_print define dhcp_proxy_details
* Local Variables:
* eval: (c-set-style "gnu")
* End:
- */ \ No newline at end of file
+ */