Code Review
/
samplevnf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f0b9e18
)
Fix cgnapt status output
21/44321/1
author
Deepak S
<deepak.s@linux.intel.com>
Thu, 28 Sep 2017 02:45:57 +0000
(08:15 +0530)
committer
Deepak S
<deepak.s@linux.intel.com>
Wed, 4 Oct 2017 21:31:50 +0000
(14:31 -0700)
Change-Id: I37ef70ae324e258da16b7bd67baf0e939d88b3ec
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c
patch
|
blob
|
history
diff --git
a/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c
b/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c
index
aaf558e
..
7758c5b
100644
(file)
--- a/
VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c
+++ b/
VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c
@@
-10502,6
+10502,7
@@
void all_cgnapt_stats(char *buf)
len += sprintf(buf + len, "egress %" PRIu64 "\n", p_nat->enaptedPktCount);
len += sprintf(buf + len, "arpicmp pkts %" PRIu64 "\n", p_nat->arpicmpPktCount);
+ printf("\nCG-NAPT Packet Stats:\n");
printf("pipeline %d stats:\n", p_nat->pipeline_num);
printf("Received %" PRIu64 ",", p_nat->receivedPktCount);
printf("Missed %" PRIu64 ",", p_nat->missedPktCount);