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

Spyridon Mastorakis smastorakis at unomaha.edu
Mon Jun 14 07:41:27 PDT 2021

Use the scheduleEvent method of the ns-3 scheduler:



Spyridon (Spyros) Mastorakis, Ph.D.
Assistant Professor
Computer Science Department
University of Nebraska, Omaha
Peter Kiewit Institute Room 175A
Associate Editor, IEEE Internet of Things Journal
Website: https://sites.google.com/site/spyridonmastorakis

On Jun 14, 2021, at 5:39 PM, Prajjwal Singh <csb17053 at tezu.ac.in> wrote:

Non-NU Email

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<mailto:shijunxiao at email.arizona.edu>> wrote:
Hi Prajjwal

Congestion control algorithm accesses TX queue length via Transport::getSendQueueLength function.
The implementation relevant to ns-3 is here:

You cannot introduce delays in a queue.
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<mailto: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

ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210614/50f4401b/attachment.html>

More information about the ndnSIM mailing list