diff options
author | Neale Ranns <nranns@cisco.com> | 2018-08-08 01:06:40 -0700 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-08-10 08:26:00 +0000 |
commit | d0df49f26eabf2f534b567f3370e50c4e804aeea (patch) | |
tree | eea014e723f00b4e00e57937fc5f6e043e2162f9 /src/vnet/ip/ip6_packet.h | |
parent | 404d88edce63a635b58ba54d21d91735ff933584 (diff) |
Use IP address types on UDP encap API
Change-Id: I3c714c519b6d0009329b50947ce250c18ee2a85a
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip6_packet.h')
-rw-r--r-- | src/vnet/ip/ip6_packet.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vnet/ip/ip6_packet.h b/src/vnet/ip/ip6_packet.h index b8f8d6e8657..ceaa7ec7acc 100644 --- a/src/vnet/ip/ip6_packet.h +++ b/src/vnet/ip/ip6_packet.h @@ -67,6 +67,13 @@ typedef CLIB_PACKED (struct { }) ip6_address_fib_t; /* *INDENT-ON* */ +typedef enum +{ + IP46_TYPE_ANY, + IP46_TYPE_IP4, + IP46_TYPE_IP6 +} ip46_type_t; + /* *INDENT-OFF* */ typedef CLIB_PACKED (union { struct { |