File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed
Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,14 @@ ipfixprobe_storage_src=\
7070 storage/fragmentationCache/fragmentationCache.cpp \
7171 storage/cache.cpp \
7272 storage/cache.hpp \
73+ storage/cacheOptParser.hpp \
74+ storage/cacheOptParser.cpp \
75+ storage/flowRecord.hpp \
76+ storage/flowRecord.cpp \
77+ storage/cttController.hpp \
78+ storage/cttController.cpp \
79+ storage/cacheRowSpan.hpp \
80+ storage/cacheRowSpan.cpp \
7381 storage/xxhash.c \
7482 storage/xxhash.h
7583
@@ -208,7 +216,8 @@ ipfixprobe_headers_src=\
208216 include/ipfixprobe/ipfix-elements.hpp \
209217 include/ipfixprobe/rtp.hpp \
210218 include/ipfixprobe/telemetry-utils.hpp \
211- include/ipfixprobe/parser-stats.hpp
219+ include/ipfixprobe/parser-stats.hpp \
220+ include/ipfixprobe/cttmeta.hpp
212221
213222ipfixprobe_src =\
214223 $(ipfixprobe_input_src ) \
Original file line number Diff line number Diff line change @@ -226,6 +226,32 @@ if [[ -z "$WITH_NDP_TRUE" ]]; then
226226 RPM_BUILDREQ+=" netcope-common-devel"
227227fi
228228
229+ AC_ARG_WITH ( [ ctt] ,
230+ AC_HELP_STRING ( [ --with-ctt] ,[ Compile ipfixprobe with ctt plugin for using Connection Tracking Table] ) ,
231+ [
232+ if test "$withval" = "yes"; then
233+ withctt="yes"
234+ else
235+ withctt="no"
236+ fi
237+ ] , [ withctt="no"]
238+ )
239+
240+ if test x${withctt} = xyes; then
241+ AC_LANG_PUSH ( [ C++] )
242+ CXXFLAGS="$CXXFLAGS -std=c++17"
243+ AC_CHECK_HEADERS ( [ ctt.hpp] , [ libctt=yes] , AC_MSG_ERROR ( [ ctt.hpp not found. Try installing libctt-devel] ) )
244+ AC_LANG_POP ( [ C++] )
245+ fi
246+
247+ AM_CONDITIONAL(WITH_CTT, test x${libctt} = xyes && test x${withctt} = xyes)
248+ if [ [ -z "$WITH_CTT_TRUE" ] ] ; then
249+ AC_DEFINE ( [ WITH_CTT] , [ 1] , [ Define to 1 if the ctt is available] )
250+ LIBS="-lctt $LIBS"
251+ RPM_REQUIRES+=" libctt"
252+ RPM_BUILDREQ+=" libctt-devel"
253+ fi
254+
229255AC_ARG_WITH ( [ pcap] ,
230256 AC_HELP_STRING ( [ --with-pcap] ,[ Compile ipfixprobe with pcap plugin for capturing using libpcap library] ) ,
231257 [
You can’t perform that action at this time.
0 commit comments