X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fipip%2Fipip.api;h=4fbfa1d584eaa4d4a62733efd52b9daa79e88d82;hb=14053c9dbd75182f5302f7388d17508f3930f7ce;hp=8a6e726eba4f83a084bdba73133d2b880fba1825;hpb=288e093624515e31a8bc0f0f870e5a9c7fa2dbaa;p=vpp.git diff --git a/src/vnet/ipip/ipip.api b/src/vnet/ipip/ipip.api index 8a6e726eba4..4fbfa1d584e 100644 --- a/src/vnet/ipip/ipip.api +++ b/src/vnet/ipip/ipip.api @@ -1,3 +1,4 @@ +/* Hey Emacs use -*- mode: C -*- */ /* * Copyright (c) 2018 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -48,9 +49,11 @@ * */ -option version = "1.2.0"; +option version = "2.0.1"; + import "vnet/interface_types.api"; import "vnet/ip/ip_types.api"; +import "vnet/tunnel/tunnel_types.api"; /** * An IP{v4,v6} over IP{v4,v6} tunnel. @@ -63,8 +66,10 @@ typedef ipip_tunnel vl_api_interface_index_t sw_if_index; /* ignored on create, set in details/dump */ u32 table_id; - u8 tc_tos; /* If ~0, the TOS/TC value is copied from - inner packet, otherwise set to value */ + vl_api_tunnel_encap_decap_flags_t flags; + vl_api_tunnel_mode_t mode; + vl_api_ip_dscp_t dscp; /* DSCP value for the tunnel encap, + ignored if ECNAP_COPY_DSCP flag is set */ }; /**