aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/fib/fib_types.h')
-rw-r--r--src/vnet/fib/fib_types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_types.h b/src/vnet/fib/fib_types.h
index 7eadbb9bb70..ec7f1b374dd 100644
--- a/src/vnet/fib/fib_types.h
+++ b/src/vnet/fib/fib_types.h
@@ -307,6 +307,10 @@ typedef enum fib_route_path_flags_t_
* A deag path using the packet's source not destination address.
*/
FIB_ROUTE_PATH_SOURCE_LOOKUP = (1 << 8),
+ /**
+ * A path via a UDP encap object.
+ */
+ FIB_ROUTE_PATH_UDP_ENCAP = (1 << 9),
} fib_route_path_flags_t;
/**
@@ -375,6 +379,10 @@ typedef struct fib_route_path_t_ {
* The RPF-ID
*/
fib_rpf_id_t frp_rpf_id;
+ /**
+ * UDP encap ID
+ */
+ u32 frp_udp_encap_id;
};
/**
* The FIB index to lookup the nexthop