2018-07-30 12:45:07 +02:00
|
|
|
# Copyright (c) 2018 Cisco and/or its affiliates.
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
# You may obtain a copy of the License at:
|
|
|
|
|
#
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
#
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
2019-12-19 11:55:54 +01:00
|
|
|
set(CMAKE_VERBOSE_MAKEFILE ON)
|
|
|
|
|
|
|
|
|
|
add_vpp_library(nat
|
|
|
|
|
SOURCES
|
2020-09-29 16:53:20 +02:00
|
|
|
lib/ipfix_logging.c
|
2020-01-16 14:58:47 +01:00
|
|
|
lib/alloc.c
|
|
|
|
|
|
2019-12-19 11:55:54 +01:00
|
|
|
INSTALL_HEADERS
|
2020-09-29 16:53:20 +02:00
|
|
|
lib/ipfix_logging.h
|
2020-01-16 14:58:47 +01:00
|
|
|
lib/alloc.h
|
|
|
|
|
)
|
|
|
|
|
|
2018-08-25 11:33:29 +02:00
|
|
|
add_vpp_plugin(nat
|
|
|
|
|
SOURCES
|
2018-07-30 12:45:07 +02:00
|
|
|
nat.c
|
|
|
|
|
nat_api.c
|
|
|
|
|
in2out.c
|
2018-09-20 23:18:41 -07:00
|
|
|
in2out_ed.c
|
2018-07-30 12:45:07 +02:00
|
|
|
out2in.c
|
2018-09-20 23:18:41 -07:00
|
|
|
out2in_ed.c
|
2018-07-30 12:45:07 +02:00
|
|
|
nat_dpo.c
|
|
|
|
|
nat44_cli.c
|
2018-09-20 23:18:41 -07:00
|
|
|
nat44_handoff.c
|
|
|
|
|
nat44_hairpinning.c
|
|
|
|
|
nat44_classify.c
|
2018-09-03 05:02:23 -07:00
|
|
|
nat_affinity.c
|
2018-09-20 23:18:41 -07:00
|
|
|
nat_format.c
|
2018-11-28 21:26:34 -08:00
|
|
|
nat_syslog.c
|
2019-02-26 09:05:23 -08:00
|
|
|
nat_ha.c
|
2018-08-25 11:33:29 +02:00
|
|
|
|
2019-02-13 01:42:59 -08:00
|
|
|
MULTIARCH_SOURCES
|
|
|
|
|
in2out.c
|
|
|
|
|
in2out_ed.c
|
|
|
|
|
nat44_classify.c
|
|
|
|
|
nat44_hairpinning.c
|
|
|
|
|
nat44_handoff.c
|
|
|
|
|
out2in.c
|
|
|
|
|
out2in_ed.c
|
|
|
|
|
|
2018-08-25 11:33:29 +02:00
|
|
|
API_FILES
|
|
|
|
|
nat.api
|
2020-07-01 13:16:16 +02:00
|
|
|
nat_types.api
|
2018-08-27 11:48:28 +02:00
|
|
|
|
|
|
|
|
API_TEST_SOURCES
|
|
|
|
|
nat_test.c
|
2018-08-27 16:11:59 +02:00
|
|
|
|
|
|
|
|
INSTALL_HEADERS
|
|
|
|
|
nat_all_api_h.h
|
|
|
|
|
nat_msg_enum.h
|
2020-09-29 16:53:20 +02:00
|
|
|
|
|
|
|
|
LINK_LIBRARIES nat
|
2018-07-30 12:45:07 +02:00
|
|
|
)
|
2019-12-19 11:55:54 +01:00
|
|
|
|
|
|
|
|
add_vpp_plugin(dslite
|
|
|
|
|
SOURCES
|
|
|
|
|
nat_syslog.c
|
|
|
|
|
dslite/dslite_api.c
|
|
|
|
|
dslite/dslite_dpo.c
|
|
|
|
|
dslite/dslite.c
|
|
|
|
|
dslite/dslite_in2out.c
|
|
|
|
|
dslite/dslite_out2in.c
|
|
|
|
|
dslite/dslite_cli.c
|
|
|
|
|
dslite/dslite_ce_encap.c
|
|
|
|
|
dslite/dslite_ce_decap.c
|
|
|
|
|
|
|
|
|
|
MULTIARCH_SOURCES
|
|
|
|
|
dslite/dslite_ce_decap.c
|
|
|
|
|
dslite/dslite_ce_encap.c
|
|
|
|
|
dslite/dslite_in2out.c
|
|
|
|
|
dslite/dslite_out2in.c
|
|
|
|
|
|
|
|
|
|
API_FILES
|
|
|
|
|
dslite/dslite.api
|
|
|
|
|
|
|
|
|
|
LINK_LIBRARIES nat
|
|
|
|
|
)
|
2020-07-01 13:16:16 +02:00
|
|
|
|
|
|
|
|
add_vpp_plugin(nat66
|
|
|
|
|
SOURCES
|
|
|
|
|
nat_syslog.c
|
|
|
|
|
nat66/nat66.c
|
|
|
|
|
nat66/nat66_cli.c
|
|
|
|
|
nat66/nat66_api.c
|
|
|
|
|
nat66/nat66_in2out.c
|
|
|
|
|
nat66/nat66_out2in.c
|
|
|
|
|
|
|
|
|
|
MULTIARCH_SOURCES
|
|
|
|
|
nat66/nat66_in2out.c
|
|
|
|
|
nat66/nat66_out2in.c
|
|
|
|
|
|
|
|
|
|
API_FILES
|
|
|
|
|
nat66/nat66.api
|
|
|
|
|
nat_types.api
|
|
|
|
|
|
|
|
|
|
LINK_LIBRARIES nat
|
|
|
|
|
)
|
2020-07-21 10:27:39 +02:00
|
|
|
|
|
|
|
|
add_vpp_plugin(det44
|
|
|
|
|
SOURCES
|
|
|
|
|
det44/det44.c
|
|
|
|
|
det44/det44_cli.c
|
|
|
|
|
det44/det44_api.c
|
|
|
|
|
det44/det44_in2out.c
|
|
|
|
|
det44/det44_out2in.c
|
|
|
|
|
|
|
|
|
|
MULTIARCH_SOURCES
|
|
|
|
|
det44/det44_in2out.c
|
|
|
|
|
det44/det44_out2in.c
|
|
|
|
|
|
|
|
|
|
API_FILES
|
|
|
|
|
det44/det44.api
|
|
|
|
|
nat_types.api
|
|
|
|
|
|
|
|
|
|
LINK_LIBRARIES nat
|
|
|
|
|
)
|
2020-09-14 11:20:16 +02:00
|
|
|
|
|
|
|
|
add_vpp_plugin(nat64
|
|
|
|
|
SOURCES
|
|
|
|
|
nat_syslog.c
|
|
|
|
|
nat64/nat64.c
|
|
|
|
|
nat64/nat64_db.c
|
|
|
|
|
nat64/nat64_cli.c
|
|
|
|
|
nat64/nat64_api.c
|
|
|
|
|
nat64/nat64_in2out.c
|
|
|
|
|
nat64/nat64_out2in.c
|
|
|
|
|
|
|
|
|
|
MULTIARCH_SOURCES
|
|
|
|
|
nat64/nat64_in2out.c
|
|
|
|
|
nat64/nat64_out2in.c
|
|
|
|
|
|
|
|
|
|
API_FILES
|
|
|
|
|
nat64/nat64.api
|
|
|
|
|
nat_types.api
|
|
|
|
|
|
|
|
|
|
LINK_LIBRARIES nat
|
|
|
|
|
)
|