From 720435d03531da68e18c2a0dc867aa99d2daced6 Mon Sep 17 00:00:00 2001 From: Filip Varga Date: Thu, 16 Jan 2020 14:58:47 +0100 Subject: nat: refactor of port/address allocation functions Change-Id: Ie2a3c0f44322dd8415603b7ce51bb72d72769c95 Ticket: VPP-1815 Type: refactor Signed-off-by: Filip Varga --- src/plugins/nat/CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/plugins/nat/CMakeLists.txt') diff --git a/src/plugins/nat/CMakeLists.txt b/src/plugins/nat/CMakeLists.txt index 372bbd61bb3..edba893cafe 100644 --- a/src/plugins/nat/CMakeLists.txt +++ b/src/plugins/nat/CMakeLists.txt @@ -11,6 +11,21 @@ # See the License for the specific language governing permissions and # limitations under the License. +set(NAT_SRCS + lib/alloc.c +) + +set(NAT_HEADERS + lib/alloc.h +) + +add_vpp_library(nat + SOURCES ${NAT_SRCS} + LINK_LIBRARIES m + INSTALL_HEADERS ${NAT_HEADERS} + COMPONENT libnat +) + add_vpp_plugin(nat SOURCES nat.c -- cgit 1.2.3-korg