From 298c69510ff4b64a262d465eb8877c4e7f4e60e0 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Thu, 8 Mar 2018 12:30:43 +0100 Subject: IPIP: Add IP{v4,v6} over IP{v4,v6} configured tunnel support. Change-Id: I166301c9e2388bae5f70ec0179d663a2703e27f5 Signed-off-by: Ole Troan --- src/vnet/ip/ip6_packet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/ip/ip6_packet.h') diff --git a/src/vnet/ip/ip6_packet.h b/src/vnet/ip/ip6_packet.h index a02f8b2ea8e..9916f3000cb 100644 --- a/src/vnet/ip/ip6_packet.h +++ b/src/vnet/ip/ip6_packet.h @@ -81,6 +81,7 @@ typedef CLIB_PACKED (union { #define ip46_address_is_zero(ip46) (((ip46)->as_u64[0] == 0) && ((ip46)->as_u64[1] == 0)) #define ip46_address_is_equal(a1, a2) (((a1)->as_u64[0] == (a2)->as_u64[0]) \ && ((a1)->as_u64[1] == (a2)->as_u64[1])) +#define ip46_address_initializer {{{ 0 }}} always_inline ip46_address_t to_ip46 (u32 is_ipv6, u8 * buf) -- cgit 1.2.3-korg