summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip4_packet.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-12-31 05:13:14 +0000
committerDamjan Marion <dmarion@me.com>2020-01-30 20:12:19 +0000
commite5b94dded0dfd7258d5fd0f4ef897d9ccb48715b (patch)
tree819c62a17acf0b234a76c8eef2f00e944e1da8b3 /src/vnet/ip/ip4_packet.h
parent9ace36d0f9b04e2d4db410607ee33a8e72ef00c5 (diff)
gre: Tunnel encap/decap flags
Type: feature common funcitons across IP-in-IP and GRE tunnels for encap/decap functions Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I325b66824878d843af167adfe5a7a96b0ab90566
Diffstat (limited to 'src/vnet/ip/ip4_packet.h')
-rw-r--r--src/vnet/ip/ip4_packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip4_packet.h b/src/vnet/ip/ip4_packet.h
index 1d3607ea34c..3872ccdd465 100644
--- a/src/vnet/ip/ip4_packet.h
+++ b/src/vnet/ip/ip4_packet.h
@@ -322,7 +322,7 @@ ip4_header_clear_df (ip4_header_t * ip4)
}
always_inline u8
-ip4_header_get_df (ip4_header_t * ip4)
+ip4_header_get_df (const ip4_header_t * ip4)
{
return (! !(ip4->flags_and_fragment_offset &
clib_host_to_net_u16 (IP4_HEADER_FLAG_DONT_FRAGMENT)));