fw: Nack in pipelines and best-route strategy
* in PIT out-record, add last incoming Nack field
* create incoming Nack pipeline
* create outgoing Nack pipeline
* modify Interest loop pipeline to send Nack upon duplicate Nonce
* in strategy API, add after receive Nack trigger and send Nack action
* in best-route strategy, send Nack-NoRoute before rejecting pending Interest
* in best-route strategy, process incoming Nack
Other changes include:
* Pit::find
* StrategyTester saved arguments structs
* TopologyTester transmit at Transport level
refs #3156
Change-Id: I7868561c0838231083d471261200aeb280cc6e9d
diff --git a/daemon/table/pit-entry.hpp b/daemon/table/pit-entry.hpp
index 6d59ce8..3f15598 100644
--- a/daemon/table/pit-entry.hpp
+++ b/daemon/table/pit-entry.hpp
@@ -132,6 +132,10 @@
InRecordCollection::const_iterator
getInRecord(const Face& face) const;
+ /// deletes one InRecord for face if exists
+ void
+ deleteInRecord(const Face& face);
+
/// deletes all InRecords
void
deleteInRecords();
@@ -151,8 +155,8 @@
/** \brief get the OutRecord for face
* \return an iterator to the OutRecord, or .end if it does not exist
*/
- OutRecordCollection::const_iterator
- getOutRecord(const Face& face) const;
+ OutRecordCollection::iterator
+ getOutRecord(const Face& face);
/// deletes one OutRecord for face if exists
void