aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip_types.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip/ip_types.api')
-rw-r--r--src/vnet/ip/ip_types.api6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_types.api b/src/vnet/ip/ip_types.api
index ec6b9d0024c..72eadaf92df 100644
--- a/src/vnet/ip/ip_types.api
+++ b/src/vnet/ip/ip_types.api
@@ -1,3 +1,4 @@
+/* Hey Emacs use -*- mode: C -*- */
/*
* Copyright (c) 2018 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -35,3 +36,8 @@ typedef address {
vl_api_address_family_t af;
vl_api_address_union_t un;
};
+
+typedef prefix {
+ vl_api_address_t address;
+ u8 address_length;
+};