Adding more statistics collection (number of transmitted/received bytes
per "pit entry" and per face)
diff --git a/model/ccnx-face.cc b/model/ccnx-face.cc
index 3c18af0..a1dec50 100644
--- a/model/ccnx-face.cc
+++ b/model/ccnx-face.cc
@@ -185,9 +185,17 @@
// packet->AddPacketTag (tag);
// }
- m_ccnxTxTrace (packet);
- SendImpl (packet);
- return true;
+ bool ok = SendImpl (packet);
+ if (ok)
+ {
+ m_ccnxTxTrace (packet);
+ return true;
+ }
+ else
+ {
+ m_ccnxDropTrace (packet);
+ return false;
+ }
}
bool