summaryrefslogtreecommitdiff
path: root/src/ipcpd/config.h.in
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2018-02-20 08:15:13 +0100
committerSander Vrijders <[email protected]>2018-02-20 08:49:56 +0100
commitcc4b333f5a6964120f2e40c33f67d0be7dd409fc (patch)
treed91399337554d3877c1f912f44f2b0c5a45c671b /src/ipcpd/config.h.in
parente72fcd924b25b2b3b8a45c85d9c3d09388885249 (diff)
downloadouroboros-cc4b333f5a6964120f2e40c33f67d0be7dd409fc.tar.gz
ouroboros-cc4b333f5a6964120f2e40c33f67d0be7dd409fc.zip
ipcpd: Export flow statistics to RIB
This adds flow statistics for the data transfer (DT) component to the RIB. The DT component will keep track of the traffic on each flow. This feature can be enabled or disabled by setting the IPCP_FLOW_STATS variable in the build system. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/config.h.in')
-rw-r--r--src/ipcpd/config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/config.h.in b/src/ipcpd/config.h.in
index 3fa74457..a4893f50 100644
--- a/src/ipcpd/config.h.in
+++ b/src/ipcpd/config.h.in
@@ -45,6 +45,8 @@
#define IPCP_SCHED_THR_MUL @IPCP_SCHED_THR_MUL@
#define PFT_SIZE @PFT_SIZE@
+#cmakedefine IPCP_FLOW_STATS
+
/* udp */
#cmakedefine HAVE_DDNS
#define NSUPDATE_EXEC "@NSUPDATE_EXECUTABLE@"