X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip_types.api;h=29bd8ad37f5f176c6e80e3bfdd7fb80f9edc44d6;hp=ad24d6e65ce47cf441947f8a3183be10d566217f;hb=8c8acc0;hpb=1f0dd7a0664bc217b7d69773574ac7eae3813bd7 diff --git a/src/vnet/ip/ip_types.api b/src/vnet/ip/ip_types.api index ad24d6e65ce..29bd8ad37f5 100644 --- 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,