summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip')
-rw-r--r--src/vnet/ip/ip_types.api12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_types.api b/src/vnet/ip/ip_types.api
index 72bd39e254c..8ea77334081 100644
--- a/src/vnet/ip/ip_types.api
+++ b/src/vnet/ip/ip_types.api
@@ -92,6 +92,18 @@ manual_print typedef prefix {
u8 len;
};
+typedef ip4_address_and_mask
+{
+ vl_api_ip4_address_t addr;
+ vl_api_ip4_address_t mask;
+};
+
+typedef ip6_address_and_mask
+{
+ vl_api_ip6_address_t addr;
+ vl_api_ip6_address_t mask;
+};
+
typedef mprefix {
vl_api_address_family_t af;
u16 grp_address_length;