diff options
author | Damjan Marion <damarion@cisco.com> | 2018-03-16 01:25:27 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-05-10 15:45:03 +0000 |
commit | a35cc14d37466f0737fa928d25697fbfe6e7d657 (patch) | |
tree | 7242bb0bc9feebc35a2b1ab56986bc2a7ddb0ceb /src/vnet/ip/ip4_packet.h | |
parent | cd330c878dfdb9f52b372007a5086138b12d89f7 (diff) |
vnet: device flow offload infra
Change-Id: Ibea4a96bdec5e368301a03d8b11a0712fa0265e0
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip4_packet.h')
-rw-r--r-- | src/vnet/ip/ip4_packet.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/ip/ip4_packet.h b/src/vnet/ip/ip4_packet.h index 1ff9fbdba13..2f0c75e4924 100644 --- a/src/vnet/ip/ip4_packet.h +++ b/src/vnet/ip/ip4_packet.h @@ -77,6 +77,11 @@ typedef struct ip4_address_t src, dst; } ip4_address_pair_t; +typedef struct +{ + ip4_address_t addr, mask; +} ip4_address_and_mask_t; + /* If address is a valid netmask, return length of mask. */ always_inline uword ip4_address_netmask_length (ip4_address_t * a) |