wireguard: add local variable in handshake process
[vpp.git] / src / plugins / lb / lb_types.api
index 818e514..3378a5f 100644 (file)
@@ -13,7 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- import "vnet/ip/ip_types.api";
+option version = "1.0.0";
+import "vnet/ip/ip_types.api";
 
 enum lb_srv_type
 {
@@ -65,9 +66,9 @@ enum lb_nat_protocol
     @param protocol - tcp or udp.
     @param port - destination port.
 */
-typeonly define lb_vip
+typedef lb_vip
 {
-  vl_api_prefix_t pfx;
+  vl_api_address_with_prefix_t pfx;
   vl_api_ip_proto_t protocol;
   u16 port;
 };