summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/interface.api
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/interface.api')
-rw-r--r--vnet/vnet/interface.api24
1 files changed, 24 insertions, 0 deletions
diff --git a/vnet/vnet/interface.api b/vnet/vnet/interface.api
index acc52a81724..77f5cfe3e2a 100644
--- a/vnet/vnet/interface.api
+++ b/vnet/vnet/interface.api
@@ -29,3 +29,27 @@ define sw_interface_set_flags_reply
i32 retval;
};
+/** \brief Set interface MTU
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param sw_if_index - index of the interface to set MTU on
+ @param mtu - MTU
+*/
+define sw_interface_set_mtu
+{
+ u32 client_index;
+ u32 context;
+ u32 sw_if_index;
+ u16 mtu;
+};
+
+/** \brief Reply to sw_interface_set_mtu
+ @param context - sender context which was passed in the request
+ @param retval - return code of the set flags request
+*/
+define sw_interface_set_mtu_reply
+{
+ u32 context;
+ i32 retval;
+};
+