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
/
mpls
/
mpls.api
diff --git
a/src/vnet/mpls/mpls.api
b/src/vnet/mpls/mpls.api
index
a1e1270
..
c8a3ffb
100644
(file)
--- a/
src/vnet/mpls/mpls.api
+++ b/
src/vnet/mpls/mpls.api
@@
-26,7
+26,7
@@
@param mb_address_length - Length of IP prefix
@param mb_address[16] - IP prefix/
*/
@param mb_address_length - Length of IP prefix
@param mb_address[16] - IP prefix/
*/
-define mpls_ip_bind_unbind
+
autoreply
define mpls_ip_bind_unbind
{
u32 client_index;
u32 context;
{
u32 client_index;
u32 context;
@@
-40,16
+40,6
@@
define mpls_ip_bind_unbind
u8 mb_address[16];
};
u8 mb_address[16];
};
-/** \brief Reply for MPLS IP bind/unbind request
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define mpls_ip_bind_unbind_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief MPLS tunnel Add / del route
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
/** \brief MPLS tunnel Add / del route
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@
-172,7
+162,7
@@
manual_endian manual_print define mpls_tunnel_details
@param mr_next_hop_out_label_stack - the next-hop output label stack, outer most first
@param next_hop_via_label - The next-hop is a resolved via a local label
*/
@param mr_next_hop_out_label_stack - the next-hop output label stack, outer most first
@param next_hop_via_label - The next-hop is a resolved via a local label
*/
-define mpls_route_add_del
+
autoreply
define mpls_route_add_del
{
u32 client_index;
u32 context;
{
u32 client_index;
u32 context;
@@
-199,16
+189,6
@@
define mpls_route_add_del
u32 mr_next_hop_out_label_stack[mr_next_hop_n_out_labels];
};
u32 mr_next_hop_out_label_stack[mr_next_hop_n_out_labels];
};
-/** \brief Reply for MPLS route add / del request
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define mpls_route_add_del_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief Dump MPLS fib table
@param client_index - opaque cookie to identify the sender
*/
/** \brief Dump MPLS fib table
@param client_index - opaque cookie to identify the sender
*/
@@
-240,4
+220,4
@@
manual_endian manual_print define mpls_fib_details
* eval: (c-set-style "gnu")
* End:
*/
* eval: (c-set-style "gnu")
* End:
*/
-
\ No newline at end of file
+