diff options
author | Neale Ranns <nranns@cisco.com> | 2020-02-24 13:32:30 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-03-17 14:04:02 +0000 |
commit | 3ec09e9243dceb78e7548725281b0da8eddf72b1 (patch) | |
tree | fb591d687ea796751b523bfd69cd96c127a9e75b /src/vnet/ip/ip6_packet.h | |
parent | 68449850783ed6a2570a864b2d12c79ff35c4072 (diff) |
ip: ip_address_t uses ip46_address_t
Type: improvement
type re-use.
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: Ic2a2e6babf9ae66a1e53aec53a6cd157e1893dc8
Diffstat (limited to 'src/vnet/ip/ip6_packet.h')
-rw-r--r-- | src/vnet/ip/ip6_packet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vnet/ip/ip6_packet.h b/src/vnet/ip/ip6_packet.h index e823214dac9..7bbdd197f2f 100644 --- a/src/vnet/ip/ip6_packet.h +++ b/src/vnet/ip/ip6_packet.h @@ -49,9 +49,12 @@ typedef union u16 as_u16[8]; u32 as_u32[4]; u64 as_u64[2]; + u64x2 as_u128; uword as_uword[16 / sizeof (uword)]; } -ip6_address_t; +__clib_packed ip6_address_t; + +STATIC_ASSERT_SIZEOF (ip6_address_t, 16); typedef struct { |