<div dir="ltr"><div dir="ltr">Hi Prajjwal<div><br></div><div>Congestion control algorithm accesses TX queue length via Transport::getSendQueueLength function.</div><div>The implementation relevant to ns-3 is here:</div><div><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/model/ndn-net-device-transport.cpp#L85-L96">https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/model/ndn-net-device-transport.cpp#L85-L96</a><br></div><div><br></div><div>You cannot introduce delays in a queue.</div><div>Instead:</div><div>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.</div><div>If you want to create a delay between transmitting a packetĀ and its receipt, set a link delay on PointToPointChannel/Delay attribute.</div><div><br></div><div>Yours, Junxiao</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 11, 2021 at 12:47 PM Prajjwal Singh <<a href="mailto:csb17053@tezu.ac.in">csb17053@tezu.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr"><div>Hello everybody,</div><div>I have read in the NFD's developers guide, under the Congestion Control section, that each NFD face monitors its outgoing queue for congestion.</div><div><br></div><div>Please refer me to the code implementation of these outgoing Queues.</div><div>Also, how can one introduce delays for outgoing interest packets from these queues.</div><div><br></div><div>Thanking you in advance</div><div>Prajjwal Singh<br></div></div><br>
</blockquote></div></div>