[ndnSIM] [EXT] Help with outgoing queues of nodes.

Prajjwal Singh csb17053 at tezu.ac.in
Mon Jun 14 07:39:50 PDT 2021

Thank you very much. Junxio.
I am actually looking for ways to delay the sending of some interests (as
per some custom field).
How can I achieve this?

On Mon, 14 Jun 2021, 19:09 Junxiao Shi, <shijunxiao at email.arizona.edu>

> Hi Prajjwal
> Congestion control algorithm accesses TX queue length via
> Transport::getSendQueueLength function.
> The implementation relevant to ns-3 is here:
> https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/model/ndn-net-device-transport.cpp#L85-L96
> You cannot introduce delays in a queue.
> Instead:
> If you want to create an interval between transmitting two packets, set
> the PointToPointNetDevice/DataRate attribute. This enforces a packet
> sending speed, such that the NetDevice would not dequeue faster than that.
> If you want to create a delay between transmitting a packet and its
> receipt, set a link delay on PointToPointChannel/Delay attribute.
> Yours, Junxiao
> On Fri, Jun 11, 2021 at 12:47 PM Prajjwal Singh <csb17053 at tezu.ac.in>
> wrote:
>> *External Email*
>> Hello everybody,
>> I have read in the NFD's developers guide, under the Congestion Control
>> section, that each NFD face monitors its outgoing queue for congestion.
>> Please refer me to the code implementation of these outgoing Queues.
>> Also, how can one introduce delays for outgoing interest packets from
>> these queues.
>> Thanking you in advance
>> Prajjwal Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210614/5fc0739d/attachment.html>

More information about the ndnSIM mailing list