TOP = $(RTE_SDK)/../civetweb
CFLAGS += -I$(TOP)/include $(COPT) -DUSE_WEBSOCKET -DUSE_IPV6 -DUSE_SSL_DH=1
CFLAGS += -DREST_API_SUPPORT
-LDFLAGS += -ljson -lcrypto -lssl
+LDFLAGS += -ljson-c -lcrypto -lssl
LDFLAGS += -L$(RTE_SDK)/../civetweb/ -lcivetweb
# all source are stored in SRCS-y
#include "pipeline.h"
#include "pipeline_acl_be.h"
#include <civetweb.h>
-#include <json/json.h>
+#include <json-c/json.h>
/* ACL IPV4 and IPV6 enable flags for debugging (Default both on) */
extern int acl_ipv4_enabled;
TOP = $(RTE_SDK)/../civetweb
CFLAGS += -I$(TOP)/include $(COPT) -DUSE_WEBSOCKET -DUSE_IPV6 -DUSE_SSL_DH=1
CFLAGS += -DREST_API_SUPPORT
-LDFLAGS += -ljson -lcrypto -lssl
+LDFLAGS += -ljson-c -lcrypto -lssl
LDFLAGS += -L$(RTE_SDK)/../civetweb/ -lcivetweb
# all source are stored in SRCS-y
#include "pipeline.h"
#include "pipeline_cgnapt_common.h"
#include <civetweb.h>
-#include <json/json.h>
+#include <json-c/json.h>
/**
* Add NAPT rule to the NAPT rule table.
TOP = $(RTE_SDK)/../civetweb
CFLAGS += -I$(TOP)/include $(COPT) -DUSE_WEBSOCKET -DUSE_IPV6 -DUSE_SSL_DH=1 -DREST_API_SUPPORT=1
-LDFLAGS += -ljson -lcrypto -lssl
+LDFLAGS += -ljson-c -lcrypto -lssl
LDFLAGS += -L$(RTE_SDK)/../civetweb/ -lcivetweb
# all source are stored in SRCS-y
#include "pipeline_vfw_be.h"
#include <civetweb.h>
-#include <json/json.h>
+#include <json-c/json.h>
/* VFW IPV4 and IPV6 enable flags for debugging (Default both on) */
extern int vfw_ipv4_enabled;
#include "pipeline_arpicmp.h"
#include <civetweb.h>
-#include <json/json.h>
+#include <json-c/json.h>
#include "app.h"
#include "lib_arp.h"
#include "interface.h"
sudo apt-get update
sudo apt-get -y install build-essential linux-headers-$(uname -r) git unzip libpcap0.8-dev gcc \
make libc6 libc6-dev g++-multilib libzmq3-dev libcurl4-openssl-dev net-tools wget gcc unzip \
- libpcap-dev libncurses-dev libedit-dev pciutils liblua5.2-dev libncursesw5-dev libjson0 \
- libjson0-dev libssl-dev
+ libpcap-dev libncurses-dev libedit-dev pciutils liblua5.2-dev libncursesw5-dev libjson-c-dev libssl-dev
touch .download
}