summaryrefslogtreecommitdiffstats
path: root/test/test_map.py
AgeCommit message (Expand)AuthorFilesLines
2021-05-13tests: move test source to vpp/testDave Wallace1-0/+964
2019-08-22tests: move plugin tests to src/plugins/*/testDave Wallace1-437/+0
2019-06-18fib: fib api updatesNeale Ranns1-13/+7
2019-05-29map: Use vl_api_string macros.Paul Vinciguerra1-4/+44
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+8
2019-03-28Typos. A bunch of typos I've been collecting.Paul Vinciguerra1-1/+1
2019-03-11VPP-1508: Use scapy.compat to manage packet level library differences.Paul Vinciguerra1-3/+5
2019-03-04test framework: add factory function and default parametersOle Troan1-7/+15
2019-03-01Tests: Remove all wildcard imports.Paul Vinciguerra1-3/+1
2018-12-21MAP: Convert from DPO to input feature.Jon Loeliger1-7/+91
2018-12-12PAPI: Allow ipaddress object as argument and return values from API callsOle Troan1-8/+8
2018-11-22MAP: Use explicit address/prefix types in APIOle Troan1-22/+13
2018-09-28MAP: Add check for well known ports.Ole Troan1-2/+147
2018-09-11GBP Endpoint UpdatesNeale Ranns1-1/+2
2018-01-09test: consolidate the multiple versions of send_and_*Neale Ranns1-7/+0
2017-08-08L2 over MPLSNeale Ranns1-10/+9
2017-03-10Fix MAP-E UT. Add functionality in MAP code to delete the pre-resolved next-h...Neale Ranns1-9/+11
2017-03-09make test: temporary disable MAP-E testDamjan Marion1-0/+1
2017-03-09MAP pre-resolve - use FIB to track pre-resolved next-hopNeale Ranns1-0/+171
="cm"> * See the License for the specific language governing permissions and * limitations under the License. */ /** * @file * @brief Common utility functions for IPv4, IPv6 and L2 LISP-GPE tunnels. * */ #ifndef LISP_GPE_TUNNEL_H__ #define LISP_GPE_TUNNEL_H__ #include <vnet/lisp-gpe/lisp_gpe.h> #include <vnet/lisp-gpe/lisp_gpe_packet.h> /** * Forward declaration */ struct lisp_gpe_adjacency_t_; /** * A Key for a tunnel */ typedef struct lisp_gpe_tunnel_key_t_ { ip_address_t rmt; ip_address_t lcl; u32 fib_index; } lisp_gpe_tunnel_key_t; /** * @brief A LISP GPE Tunnel. * * A tunnel represents an associatation between a local and remote RLOC. * As such it represents a unique LISP rewrite. */ typedef struct lisp_gpe_tunnel_t_ { /** * RLOC pair and rloc fib_index. This is the tunnel's key. */ lisp_gpe_tunnel_key_t *key; /** * number of reference counting locks */ u32 locks; /** * the FIB entry through which the remote rloc is reachable s */ fib_node_index_t fib_entry_index; } lisp_gpe_tunnel_t; extern index_t lisp_gpe_tunnel_find_or_create_and_lock (const locator_pair_t * pair, u32 rloc_fib_index); extern void lisp_gpe_tunnel_unlock (index_t lgti); extern const lisp_gpe_tunnel_t *lisp_gpe_tunnel_get (index_t lgti); extern u8 *lisp_gpe_tunnel_build_rewrite (const lisp_gpe_tunnel_t * lgt, const struct lisp_gpe_adjacency_t_ *ladj, lisp_gpe_next_protocol_e payload_proto); extern u8 *format_lisp_gpe_tunnel (u8 * s, va_list * args); #endif /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */