summaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp/dhcp.api
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-04-24 10:46:54 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-04-25 16:18:42 +0000
commit11b8dbf78af49d270a0e72abe7dea73eec30d85f (patch)
tree5c9c513483f5c468efcb64b82c03c32733dc3a77 /src/vnet/dhcp/dhcp.api
parent45d3496f3d86ee1a930ce0ffd6ca3d1730355eb8 (diff)
"autoreply" flag: autogenerate standard xxx_reply_t messages
Change-Id: I72298aaae7d172082ece3a8edea4217c11b28d79 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/dhcp/dhcp.api')
-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 2db85a797e9..eb0b070d22c 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
+ */