<div dir="ltr"><div>Dear all,  <br></div><div><br></div><div>I want to implement wifi relay forwarding in ndnSIM, the following code is my forwarding strategy implementation. Although relay forwarding is implemented at present, when I configure consumerHelper.SetAttribute("Frequency", StringValue("10")); and configure multiple consumers, I find that the received data packet is far smaller than the sent interest packet. may I ask if this is normal?<br></div><div><br></div>void RelayStrategyBase::afterReceiveInterest(const Face& inFace, const Interest& interest,<br>const shared_ptr<pit::Entry>& pitEntry)<br>{<br>/*if (hasPendingOutRecords(*pitEntry)) {<br>// not a new Interest, don't forward<br>return;<br>}*/<br>const fib::Entry& fibEntry = this->lookupFib(*pitEntry);<br>const fib::NextHopList& nexthops = fibEntry.getNextHops();<br>for (fib::NextHopList::const_iterator it = nexthops.begin(); it != nexthops.end(); ++it) {<br>Face& outFace = it->getFace();<br>if (!wouldViolateScope(inFace, interest, outFace)<br>// &&canForwardToLegacy(*pitEntry, outFace)<br>) {<br>this->sendInterest(pitEntry, outFace, interest);<br>return;<br>}<br>}<br>//this->rejectPendingInterest(pitEntry);<br>}<br><div><br></div><div>Your help is really appreciated<br><br>Regards,<br>Hu  </div></div>