diff options
Diffstat (limited to 'src/vnet/ip/ip.api')
-rw-r--r-- | src/vnet/ip/ip.api | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/vnet/ip/ip.api b/src/vnet/ip/ip.api index fc7d7582dec..be151bdf4f4 100644 --- a/src/vnet/ip/ip.api +++ b/src/vnet/ip/ip.api @@ -446,6 +446,20 @@ autoreply define sw_interface_ip6_enable_disable bool enable; /* set to true if enable */ }; +/** \brief IPv4 interface enable / disable request + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param sw_if_index - interface used to reach neighbor + @param enable - if non-zero enable ip4 on interface, else disable +*/ +autoendian autoreply define sw_interface_ip4_enable_disable +{ + u32 client_index; + u32 context; + vl_api_interface_index_t sw_if_index; + bool enable; /* set to true if enable */ +}; + /** \brief Dump IP multicast fib table @param client_index - opaque cookie to identify the sender */ |