aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/ip/ip_types.api10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_types.api b/src/vnet/ip/ip_types.api
index e418ed3a1c6..ad24d6e65ce 100644
--- a/src/vnet/ip/ip_types.api
+++ b/src/vnet/ip/ip_types.api
@@ -48,3 +48,13 @@ typedef mprefix {
vl_api_address_union_t grp_address;
vl_api_address_union_t src_address;
};
+
+typedef ip6_prefix {
+ vl_api_ip6_address_t prefix;
+ u8 len;
+};
+
+typedef ip4_prefix {
+ vl_api_ip4_address_t prefix;
+ u8 len;
+};