Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
"autoreply" flag: autogenerate standard xxx_reply_t messages
[vpp.git]
/
src
/
vnet
/
dhcp
/
dhcp.api
diff --git
a/src/vnet/dhcp/dhcp.api
b/src/vnet/dhcp/dhcp.api
index
2db85a7
..
eb0b070
100644
(file)
--- 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>
*/
@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;
{
u32 client_index;
u32 context;
@@
-36,16
+36,6
@@
define dhcp_proxy_config
u8 dhcp_src_address[16];
};
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
/** \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
*/
@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;
{
u32 client_index;
u32 context;
@@
-66,16
+56,6
@@
define dhcp_proxy_set_vss
u8 is_add;
};
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
/** \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
*/
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;
{
u32 client_index;
u32 context;
@@
-97,16
+77,6
@@
define dhcp_client_config
u32 pid;
};
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
/** \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:
* Local Variables:
* eval: (c-set-style "gnu")
* End:
- */
\ No newline at end of file
+ */