vnet/devices/netmap/netmap.api.json \
vnet/devices/virtio/vhost_user.api.h \
vnet/devices/virtio/vhost_user.api.json \
+ vnet/gre/gre.api.h \
+ vnet/gre/gre.api.json \
vnet/interface.api.h \
vnet/interface.api.json \
vnet/ip/ip.api.h \
vnet/ip/ip.api.json \
vnet/l2/l2.api.h \
vnet/l2/l2.api.json \
+ vnet/l2tp/l2tp.api.h \
+ vnet/l2tp/l2tp.api.json \
vnet/map/map.api.h \
vnet/map/map.api.json \
vnet/span/span.api.h \
vnet/vxlan/vxlan.api.h \
vnet/vxlan/vxlan.api.json \
vnet/vxlan-gpe/vxlan_gpe.api.h \
- vnet/vxlan-gpe/vxlan_gpe.api.json
+ vnet/vxlan-gpe/vxlan_gpe.api.json \
+ vnet/bfd/bfd.api.h \
+ vnet/bfd/bfd.api.json \
+ vnet/ipsec/ipsec.api.h \
+ vnet/ipsec/ipsec.api.json \
+ vnet/ipsec-gre/ipsec_gre.api.h \
+ vnet/ipsec-gre/ipsec_gre.api.json \
+ vnet/lisp-cp/lisp.api.h \
+ vnet/lisp-cp/lisp.api.json \
+ vnet/lisp-gpe/lisp_gpe.api.h \
+ vnet/lisp-gpe/lisp_gpe.api.json
libvnet_la_SOURCES =
libvnetplugin_la_SOURCES =
vnet/bfd/bfd_protocol.h \
vnet/bfd/bfd_main.h \
vnet/bfd/bfd_api.h \
- vnet/bfd/bfd_udp.h
+ vnet/bfd/bfd_udp.h \
+ vnet/bfd/bfd.api.h
libvnet_la_SOURCES += \
vnet/bfd/bfd_api.h \
vnet/bfd/bfd_udp.c \
vnet/bfd/bfd_main.c \
- vnet/bfd/bfd_protocol.c
+ vnet/bfd/bfd_protocol.c \
+ vnet/bfd/bfd_api.c
########################################
# Layer 3 protocol: IPSec
vnet/ipsec/ikev2_crypto.c \
vnet/ipsec/ikev2_cli.c \
vnet/ipsec/ikev2_payload.c \
- vnet/ipsec/ikev2_format.c
+ vnet/ipsec/ikev2_format.c \
+ vnet/ipsec/ipsec_api.c
if WITH_DPDK_CRYPTO
libvnet_la_SOURCES += \
vnet/devices/dpdk/ipsec/esp_encrypt.c \
vnet/ipsec/ipsec.h \
vnet/ipsec/esp.h \
vnet/ipsec/ikev2.h \
- vnet/ipsec/ikev2_priv.h
+ vnet/ipsec/ikev2_priv.h \
+ vnet/ipsec/ipsec.api.h
if WITH_DPDK_CRYPTO
nobase_include_HEADERS += \
vnet/devices/dpdk/ipsec/ipsec.h \
vnet/gre/gre.c \
vnet/gre/node.c \
vnet/gre/interface.c \
- vnet/gre/pg.c
+ vnet/gre/pg.c \
+ vnet/gre/gre_api.c
nobase_include_HEADERS += \
vnet/gre/gre.h \
vnet/gre/packet.h \
- vnet/gre/error.def
+ vnet/gre/error.def \
+ vnet/gre/gre.api.h
########################################
# Tunnel protocol: l2tpv3
vnet/l2tp/l2tp.c \
vnet/l2tp/encap.c \
vnet/l2tp/decap.c \
- vnet/l2tp/pg.c
+ vnet/l2tp/pg.c \
+ vnet/l2tp/l2tp_api.c
nobase_include_HEADERS += \
vnet/l2tp/l2tp.h \
- vnet/l2tp/packet.h
+ vnet/l2tp/packet.h \
+ vnet/l2tp/l2tp.api.h
########################################
# Tunnel protocol: gre+mpls
libvnet_la_SOURCES += \
vnet/ipsec-gre/ipsec_gre.c \
vnet/ipsec-gre/node.c \
- vnet/ipsec-gre/interface.c
+ vnet/ipsec-gre/interface.c \
+ vnet/ipsec-gre/ipsec_gre_api.c
nobase_include_HEADERS += \
vnet/ipsec-gre/ipsec_gre.h \
- vnet/ipsec-gre/error.def
+ vnet/ipsec-gre/error.def \
+ vnet/ipsec-gre/ipsec_gre.api.h
########################################
# LISP control plane: lisp-cp
vnet/lisp-cp/control.c \
vnet/lisp-cp/gid_dictionary.c \
vnet/lisp-cp/lisp_msg_serdes.c \
- vnet/lisp-cp/packets.c
+ vnet/lisp-cp/packets.c \
+ vnet/lisp-cp/lisp_api.c
nobase_include_HEADERS += \
vnet/lisp-cp/lisp_types.h \
vnet/lisp-cp/gid_dictionary.h \
vnet/lisp-cp/lisp_cp_messages.h \
vnet/lisp-cp/lisp_msg_serdes.h \
- vnet/lisp-cp/control.h
-
+ vnet/lisp-cp/control.h \
+ vnet/lisp-cp/lisp.api.h
if ENABLE_TESTS
LDS = -lvppinfra -l:libvlib.a $(dpdk_libs) -l:libvlibmemory.a \
vnet/lisp-gpe/lisp_gpe_fwd_entry.c \
vnet/lisp-gpe/lisp_gpe_tenant.c \
vnet/lisp-gpe/interface.c \
- vnet/lisp-gpe/decap.c
+ vnet/lisp-gpe/decap.c \
+ vnet/lisp-gpe/lisp_gpe_api.c
nobase_include_HEADERS += \
vnet/lisp-gpe/lisp_gpe.h \
vnet/lisp-gpe/lisp_gpe_fwd_entry.h \
vnet/lisp-gpe/lisp_gpe_tenant.h \
vnet/lisp-gpe/lisp_gpe_packet.h \
- vnet/lisp-gpe/lisp_gpe_error.def
+ vnet/lisp-gpe/lisp_gpe_error.def \
+ vnet/lisp-gpe/lisp_gpe.api.h
if ENABLE_TESTS
TESTS += test_test
vnet/devices/af_packet/af_packet.api.json \
vnet/devices/netmap/netmap.api.json \
vnet/devices/virtio/vhost_user.api.json \
+ vnet/gre/gre.api.json \
vnet/interface.api.json \
vnet/ip/ip.api.json \
vnet/l2/l2.api.json \
+ vnet/l2tp/l2tp.api.json \
vnet/map/map.api.json \
vnet/span/span.api.json \
vnet/unix/tap.api.json \
vnet/vxlan/vxlan.api.json \
- vnet/vxlan-gpe/vxlan_gpe.api.json
-
+ vnet/vxlan-gpe/vxlan_gpe.api.json \
+ vnet/bfd/bfd.api.json \
+ vnet/ipsec/ipsec.api.json \
+ vnet/ipsec-gre/ipsec_gre.api.json \
+ vnet/lisp-cp/lisp.api.json \
+ vnet/lisp-gpe/lisp_gpe.api.json
+
# The actual %.api.h rule is in .../build-data/packages/suffix-rules.mk
# and requires a symbolic link at the top of the vnet source tree