summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip_packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip/ip_packet.h')
-rw-r--r--src/vnet/ip/ip_packet.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vnet/ip/ip_packet.h b/src/vnet/ip/ip_packet.h
index 97b3c96b2ce..63a59f87668 100644
--- a/src/vnet/ip/ip_packet.h
+++ b/src/vnet/ip/ip_packet.h
@@ -288,6 +288,7 @@ ip_csum_fold (ip_csum_t c)
extern ip_csum_t (*vnet_incremental_checksum_fp) (ip_csum_t, void *, uword);
+/* Checksum routine. */
always_inline ip_csum_t
ip_incremental_checksum (ip_csum_t sum, void *_data, uword n_bytes)
{
@@ -300,9 +301,6 @@ ip_csum_and_memcpy_fold (ip_csum_t sum, void *dst)
return ip_csum_fold (sum);
}
-/* Checksum routine. */
-ip_csum_t ip_incremental_checksum (ip_csum_t sum, void *data, uword n_bytes);
-
#endif /* included_ip_packet_h */
/*