From 1bd2c019eba5c893d634cc496bd6d54c00020d7e Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Sun, 12 Apr 2020 08:31:39 -0400 Subject: misc: refactor calc_checksums Merge two mildly incompatible static inlines, and rename the results vnet_calc_checksums_inline (...). The resulting inline has three additional parameters: int is_ip4, int is_ip6, and int with_gso. All calls manage to pass one or more as compile-time constants, which causes a certain amount of code to disappear in each instantiation. Type: refactor Signed-off-by: Dave Barach Change-Id: I1a2a0e353b9a7bca20bc81318e8c915617261e1a --- src/vnet/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/CMakeLists.txt') diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index f8948de5d5e..69e041b0d12 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -56,6 +56,7 @@ list(APPEND VNET_HEADERS handoff.h interface.h interface_funcs.h + interface_output.h ip/ip4_to_ip6.h ip/ip6_to_ip4.h ip/ip_types_api.h -- cgit 1.2.3-korg