Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use IP address types on UDP encap API
[vpp.git]
/
src
/
vnet
/
ip
/
ip_types.api
diff --git
a/src/vnet/ip/ip_types.api
b/src/vnet/ip/ip_types.api
index
ec6b9d0
..
e418ed3
100644
(file)
--- 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");
/*
* Copyright (c) 2018 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-35,3
+36,15
@@
typedef address {
vl_api_address_family_t af;
vl_api_address_union_t un;
};
vl_api_address_family_t af;
vl_api_address_union_t un;
};
+
+typedef prefix {
+ vl_api_address_t address;
+ u8 address_length;
+};
+
+typedef mprefix {
+ vl_api_address_family_t af;
+ u16 grp_address_length;
+ vl_api_address_union_t grp_address;
+ vl_api_address_union_t src_address;
+};