Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
API: Change ip4_address and ip6_address to use type alias.
[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
ad24d6e
..
29bd8ad
100644
(file)
--- a/
src/vnet/ip/ip_types.api
+++ b/
src/vnet/ip/ip_types.api
@@
-14,13
+14,8
@@
* limitations under the License.
*/
-typedef ip4_address {
- u8 address[4];
-};
-
-typedef ip6_address {
- u8 address[16];
-};
+typedef u8 ip4_address[4];
+typedef u8 ip6_address[16];
enum address_family {
ADDRESS_IP4 = 0,