libvnet_la_LIBADD = $(libvnet_la_DEPENDENCIES) -lm -lpthread -ldl -lrt $(DPDK_LD_ADD)
libvnet_la_LDFLAGS = $(DPDK_LD_FLAGS)
-if WITH_IPV6SR
+if WITH_LIBSSL
libvnet_la_LIBADD += -lcrypto
endif
vnet/classify/policer_classify.c \
vnet/classify/flow_classify.c \
vnet/classify/flow_classify_node.c \
- vnet/classify/vnet_classify.h
+ vnet/classify/vnet_classify.h \
+ vnet/classify/classify_api.c
nobase_include_HEADERS += \
vnet/classify/vnet_classify.h \
vnet/classify/input_acl.h \
vnet/classify/policer_classify.h \
- vnet/classify/flow_classify.h
+ vnet/classify/flow_classify.h \
+ vnet/classify/classify.api.h
+
+API_FILES += vnet/classify/classify.api
########################################
# Layer 3 protocols go here
########################################
# Layer 3 protocol: IPSec
########################################
-if WITH_IPSEC
+if WITH_LIBSSL
libvnet_la_SOURCES += \
vnet/ipsec/ipsec.c \
vnet/ipsec/ipsec_cli.c \
vnet/lisp-cp/gid_dictionary.c \
vnet/lisp-cp/lisp_msg_serdes.c \
vnet/lisp-cp/packets.c \
+ vnet/lisp-cp/lisp_cli.c \
vnet/lisp-cp/lisp_api.c
nobase_include_HEADERS += \
########################################
libvnet_la_SOURCES += \
vnet/dhcp/client.c \
- vnet/dhcp/client.h
+ vnet/dhcp/client.h \
+ vnet/dhcp/dhcp_api.c
nobase_include_HEADERS += \
- vnet/dhcp/client.h
+ vnet/dhcp/client.h \
+ vnet/dhcp/dhcp.api.h
+
+API_FILES += vnet/dhcp/dhcp.api
########################################
# DHCP proxy
# ipv6 segment routing
########################################
-if WITH_IPV6SR
+if WITH_LIBSSL
libvnet_la_SOURCES += \
vnet/sr/sr.c \
vnet/sr/sr_replicate.c \
# IPFIX / netflow v10
########################################
libvnet_la_SOURCES += \
- vnet/flow/flow_report.c
+ vnet/flow/flow_report.c \
+ vnet/flow/flow_api.c
nobase_include_HEADERS += \
vnet/flow/flow_report.h \
vnet/flow/ipfix_info_elements.h \
- vnet/flow/ipfix_packet.h
+ vnet/flow/ipfix_packet.h \
+ vnet/flow/flow.api.h
+
+API_FILES += vnet/flow/flow.api
########################################
# IPFIX classify code