<div dir="auto">Hi Zakaria and Sai, <div dir="auto"><br></div><div dir="auto">There are 6 consumer and each of them generates 10 interest / s for 50 second. So each consumer will generate 500 interest  approximately. Consumer 0 , 3 , 4 will generate interest with prefix interest 1 with a set of 50 contents and the other consumers will generate interest with prefix interest 2 with a set of 50 content. </div><div dir="auto"><br></div><div dir="auto"><span class="gmail_chip gmail_plusreply" dir="auto"><a href="mailto:zakaria.sabir@uit.ac.ma" style="color:#15c;text-decoration:underline">@Zakaria SABIR</a></span><span>  are you getting these in log file ? </span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 11, 2021, 01:21 sai gautams <<a href="mailto:saigautam96@gmail.com" target="_blank" rel="noreferrer">saigautam96@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Zakaria and Sangita,<div><br></div><div>I want to pop in and answer your question here. I have gone through the entire thread, and it seems like a total of 500 interests will be generated in your case, requesting 50 different types of content. Correct me, Sangita, if I am wrong, as I am new to this area and still learning. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 10, 2021 at 9:08 PM Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma" rel="noreferrer noreferrer" target="_blank">zakaria.sabir@uit.ac.ma</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"><div dir="ltr">Yes, the script is the same I shared before:<div><br></div><div>  ndn::AppHelper consumerHelper("ns3::ndn::ConsumerZipfMandelbrot");<br>  consumerHelper.SetAttribute("Frequency", DoubleValue(10.0));<br>  consumerHelper.SetAttribute("NumberOfContents", StringValue("50"));<span style="color:rgb(80,0,80)"><br>  consumerHelper.SetPrefix("/Interest1");<br>  consumerHelper.Install(nodes.Get(0));<br>  consumerHelper.Install(nodes.Get(3));<br>  consumerHelper.Install(nodes.Get(4));<br> <br></span>  ndn::AppHelper consumerHelper2("ns3::ndn::ConsumerZipfMandelbrot");<br>  consumerHelper2.SetAttribute("Frequency", DoubleValue(10.0));<br>  consumerHelper2.SetAttribute("NumberOfContents", StringValue("50"));<span style="color:rgb(80,0,80)"><br>  consumerHelper2.SetPrefix("/Interest2");<br>  consumerHelper2.Install(nodes.Get(6));<br>  consumerHelper2.Install(nodes.Get(8));<br>  consumerHelper2.Install(nodes.Get(5));</span><br></div><div><span style="color:rgb(80,0,80)"><br></span></div><div><span style="color:rgb(80,0,80)">and I have also 4 producers:</span></div><div><span style="color:rgb(80,0,80)"><br></span></div><div><span style="color:rgb(80,0,80)">  ndn::AppHelper producerHelper("ns3::ndn::Producer");<br>  producerHelper.SetPrefix("/");<br>  producerHelper.SetAttribute("PayloadSize", StringValue("1200"));<br>  producerHelper.Install(nodes.Get(1));<br>  producerHelper.Install(nodes.Get(2));<br>  producerHelper.Install(nodes.Get(7));<br>  producerHelper.Install(nodes.Get(9));<br></span></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=24c323f3-1b4c-457d-8c7b-9747a99ff6bb"><font color="#ffffff" size="1">ᐧ</font></div><img src="https://my-email-signature.link/signature.gif?u=128007&e=183951828&v=f345f55accb234e074ed2bd09107231f17fc2834de61e02225348ec6d92cadd6" alt="" width="0" height="0" style="width:2px;max-height:0px;overflow:hidden"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 10, 2021 at 10:52 AM sangita...... <<a href="mailto:sangita.engg@gmail.com" rel="noreferrer noreferrer" target="_blank">sangita.engg@gmail.com</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"><div dir="auto">Are all the  6 nodes are configured with consumer application ? Can you share the script ? </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 10, 2021, 10:10 Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma" rel="noreferrer noreferrer" target="_blank">zakaria.sabir@uit.ac.ma</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"><div dir="ltr">Hi Sangita,<div><br></div><div>Thank you for the clarification, I understand now. But, is this depending on the number of nodes and the number of consumer applications? For example, in my case, I specified the number of contents to 50. I have the frequency set to 10 Interests / s and the simulation is running for 50 s. I have 2 consumer applications and 6 nodes. What is the total number of Interests that will be generated in this case?</div><div><br></div><div>My best regards,</div><div>Zakaria</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=e7586e80-62f8-4843-ae03-17f7082ed9b9"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 9, 2021 at 8:33 PM sangita...... <<a href="mailto:sangita.engg@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">sangita.engg@gmail.com</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"><div dir="auto">Hi Zakaria, <div dir="auto"><br></div><div dir="auto">No I think you are missing a point that numberofcontent signifies type of content. Now for example:  for type 1-content 10 interests can be generated,..for type 2-content 4 interests ..for type 3-content 7 interests ...likewise. </div><div dir="auto"><br></div><div dir="auto">Now the total no of interests that would generated depends on frequency. </div><div dir="auto"><br></div><div dir="auto">Now if frequency is high let's say 100 per sec and your simulation is running for 10 second then 1000 interests will  be generated.  But all these interests will only request for 100 contents. Now which content will be requested how many times depends on zipf distribution. </div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 9, 2021, 14:54 Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">zakaria.sabir@uit.ac.ma</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"><div dir="ltr">Yes, I found 88 Data responses for Interest1 and 48 Data responses for Interest2.<div>I thought that regardless of the frequency rate, if the number of generated Interests reached the specified number of contents, no more Interests will be generated. It's not the case?</div><div><br></div><div>My best regards,</div><div>Zakaria</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=ee67f8a9-3580-4409-b134-c3c87f8a0930"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 9, 2021 at 1:09 PM sangita...... <<a href="mailto:sangita.engg@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">sangita.engg@gmail.com</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"><div dir="auto">What do you mean by finding 88 content for interest1 and 48 for interest 2 ? <div dir="auto">88 interest packets are generated with prefix intereste1 and 48 with prefix interest2 ?  </div><div dir="auto"><br></div><div dir="auto">Why do you expect 100 content in log file ? How many interest would be generated it depends on frequency rate and interest for which content among 100 contents would be generated  that depends on  zipf distribution . </div><div dir="auto"><br></div><div dir="auto">With regards,</div><div dir="auto">Sangita</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 9, 2021, 12:03 Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">zakaria.sabir@uit.ac.ma</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"><div dir="ltr">I tried to limit the number of contents to 100 (50 for Interest1 and 50 for Interest2) like this:<br><br>  ndn::AppHelper consumerHelper("ns3::ndn::ConsumerZipfMandelbrot");<br>  consumerHelper.SetAttribute("Frequency", DoubleValue(10.0));<br>  consumerHelper.SetAttribute("NumberOfContents", StringValue("50"));<br>  consumerHelper.SetPrefix("/Interest1");<br>  consumerHelper.Install(nodes.Get(0));<br>  consumerHelper.Install(nodes.Get(3));<br>  consumerHelper.Install(nodes.Get(4));<br>  <br>  ndn::AppHelper consumerHelper2("ns3::ndn::ConsumerZipfMandelbrot");<br>  consumerHelper2.SetAttribute("Frequency", DoubleValue(10.0));<br>  consumerHelper2.SetAttribute("NumberOfContents", StringValue("50"));<br>  consumerHelper2.SetPrefix("/Interest2");<br>  consumerHelper2.Install(nodes.Get(6));<br>  consumerHelper2.Install(nodes.Get(8));<br>  consumerHelper2.Install(nodes.Get(5));<br><br>I expected to find exactly 100 content in the log file, but I found 88 for Interest1 and 48 for Interest2.<br>I wonder what the reason for this is??<br><br>My best regards,<br>Zakaria<br></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=2126431f-c71f-4468-b414-bc0dd1411fc9"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 9, 2021 at 9:20 AM Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">zakaria.sabir@uit.ac.ma</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"><div dir="ltr">Hi Sangita,<div><br></div><div>Yes, it makes sense. Thank you for the explanation. I will try it out.</div><div><br></div><div>My best regards,</div><div>Zakaria</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=4164a1fd-3a93-4e20-b2ed-14f50e2132e4"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 8, 2021 at 12:01 PM sangita...... <<a href="mailto:sangita.engg@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">sangita.engg@gmail.com</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"><div dir="auto">Hi zakira, <div dir="auto"><br></div><div dir="auto">As per the ndn architecture whenever your interest arrive to a producer , it generate a data packet with the same name of interest .  So when you mention NumberOfContents as 100 it means there are 100 content for which interest packets will be generated following the distribution. </div><div dir="auto">Let's say it will generate the interests like /interest1 / 1 , then interest1 / 5 , then interest1 / 16 and so on. And this interest/x  : x will vary between 1 - 100 when you mention the number of content 100. </div><div dir="auto">Again<font face="sans-serif"><span style="font-size:12.8px"> , </span></font>if you generate another app for interest2 , then it will generate another set of 100 content with the prefix interest2. </div><div dir="auto"><font face="sans-serif"><span style="font-size:12.8px"><br></span></font></div><div dir="auto">If you mention the <span style="font-family:sans-serif">NumberOfContents as 1000 , then it will vary till 1000. </span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Does that make sense?</span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Sangita</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 8, 2021, 11:50 Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">zakaria.sabir@uit.ac.ma</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"><div dir="ltr">Hi Sangita,<div><br></div><div>I see that there is another way to create different Interests. But I didn't quite understand about the number of contents. In my case, I want to define the maximum number of generated Interest packets in one step, and I want to define the maximum number of generated Data packets in another step. Does the line: <br>consumerHelper2.SetAttribute("NumberOfContents", StringValue("100"));<br>specifies the maximum number of Interest or Data packets?</div><div><br></div><div>My best regards,</div><div>Zakaria</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=921becbf-c2bc-4918-aaa8-4b3f30a7decb"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 8, 2021 at 11:17 AM sangita...... <<a href="mailto:sangita.engg@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">sangita.engg@gmail.com</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"><div dir="auto">Hi Zakaria, <div dir="auto"><br></div><div dir="auto">Yes no of content means  total no of content that follows zipf distribution. The frequency of generating content 1 is double than content 2 and so on.  </div><div dir="auto"><br></div><div dir="auto">Another thing is you can generate different interests without making multiple app. </div><div dir="auto"><br></div><div dir="auto">Like:</div><div dir="auto">In your <span style="font-family:sans-serif">ConsumerZipfMandelbrot</span> header file you can mention </div><div dir="auto">Static const Name prefix = Name ( "/service"); </div><div dir="auto"><br></div><div dir="auto">Then in <span style="font-family:sans-serif">ConsumerZipfMandelbrot .cc file you can set like this. </span></div><div dir="auto"><br></div><div dir="auto">Name name = Name (prefix) </div><div dir="auto">If ( some condition) </div><div dir="auto">name.append ("interest 1") </div><div dir="auto">Else </div><div dir="auto">Name.append ("interest 2") </div><div dir="auto"><br></div><div dir="auto">Interest.setName (name) </div><div dir="auto"><br></div><div dir="auto">Anyway, both thing works. It depends how you want your implementation. </div><div dir="auto"><br></div><div dir="auto">Thanks and Regards, </div><div dir="auto">Sangita</div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri, Oct 8, 2021, 10:45 Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">zakaria.sabir@uit.ac.ma</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"><div dir="ltr">Hi Sonia,<div><br></div><div>Yesterday, I found the error. To use two different Interests, I had to create another app like this:</div><div><br></div><div>  ndn::AppHelper <b>consumerHelper</b>("ns3::ndn::ConsumerCbr");<br>  consumerHelper.SetAttribute("Frequency", DoubleValue(10.0));<br>  consumerHelper.SetPrefix("<b>/Interest1</b>");<br>  consumerHelper.Install(nodes.Get(0));<br>  consumerHelper.Install(nodes.Get(3));<br>  consumerHelper.Install(nodes.Get(4));<br>  consumerHelper.Install(nodes.Get(5));<br>  <br>  ndn::AppHelper <b>consumerHelper2</b>("ns3::ndn::ConsumerCbr");<br>  consumerHelper2.SetAttribute("Frequency", DoubleValue(10.0));<br>  consumerHelper2.SetPrefix("<b>/Interest2</b>");<br>  consumerHelper2.Install(nodes.Get(6));<br>  consumerHelper2.Install(nodes.Get(8));<br>  consumerHelper2.Install(nodes.Get(5));<br></div><div><br></div><div>I did it that way and I used the command that you indicated before (NS_LOG=ndn.Producer:ndn.Consumer ./waf --run="scenario"). The "Interest2" appeared in the consumer log file as well. :)</div><div><br></div><div>Now I have another question: In the "ConsumerZipfMandelbrot" application, what is the difference between these two attributes: "NumberOfContents" and "Frequency"? I know that the frequency is the number of Interests per second, but what about the number of contents? Is it the maximum number of contents that producers can generate? or the maximum number of Interests that consumers can generate? </div><div><br></div><div>My best regards,</div><div>Zakaria</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=b7bb4ded-059f-4193-a92f-905b9811179b"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 8, 2021 at 3:39 AM sonia sabir <<a href="mailto:zohanoor67@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">zohanoor67@gmail.com</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"><div dir="ltr"><div dir="ltr">Hi Zakaria,<img src="https://mail.google.com/mail/?ui=2&ik=213a119619&attid=0.1&th=17c5f8aa21fa8922&view=fimg&rm=17c5f8aa21fa8922&sz=w1600-h1000&attbid=ANGjdJ_UZdT35zvXUj51xs0Hs5_avfiz_5MD5qxpbcXy_lmT-Uwan5YNaCt3gTGm3aOBvI_S1kXzinJUa28wLTcUZAThllZ1a4SNmUxCp1NtM7FbooJFLJTxHCISp18&disp=emb&realattid=ii_kuhrc23k1&zw" alt="image.gif" width="1" height="1"><div>It seems like Interest for /Interest2 has not been sent. Try this<div><br></div><div><table style="border-spacing:0px;border-collapse:collapse;color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box;background-color:transparent"><td id="m_-7928737696384391753m_7702518209551611704gmail-m_-3546474541358371676gmail-m_-9144832233427364405m_7670047988113906057gmail-m_848255637979221537m_-6074305052089019326m_-5813550257584655127gmail-m_-1482385246064578988m_-6608128733133712258gmail-m_7999370169710187396gmail-m_-5726772321267207985m_-8387307279440222759m_-1631764687639278975gmail-m_196626286766304671m_-6952228435692719894gmail-m_3057002324090874359gmail-LC260" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible">consumerHelper.SetPrefix("/interest1");<br>ApplicationContainer App1 = consumerHelper.Install(nodes.Get(6)); <br>App1.Start (Seconds (10.0)); <br>App1.Stop (Seconds (100.0));</td></tr></tbody></table><br>Do the same for "/Interest1".</div><div><br></div><div>Hope it works for you.<br><br><br></div></div></div><br><img width="0" height="0" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/d53bb6ef9bd33d0e9eae2c30d81662f5b735181a.png?u=5632877"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 6, 2021 at 11:52 PM Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">zakaria.sabir@uit.ac.ma</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"><div dir="ltr">Thank you Sangita and Sonia,<div><br></div><div>I'm using "ConsumerCbr", son do I have to change in the file "ndn-consumer-cbr.cpp"?<br><br>For the commander: NS_LOG=ndn.Producer:ndn.Consumer ./waf --run="scenario", it gives me just one type of Interest packet like this:</div><div><br></div><div>0s 5 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0<br>0s 5 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items<br>0s 6 ndn.Consumer:SendPacket()<br>0s 6 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0<br>0s 6 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items<br>0s 8 ndn.Consumer:SendPacket()<br>0s 8 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0<br>0s 8 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items<br>0.000127315s 9 ndn.Producer:OnInterest(0x19f49d0, 0x1a64910)<br>0.000127315s 9 ndn.Producer:OnInterest(): [INFO ] node(9) responding with Data: /<b>Interest1</b>/%FE%00<br>0.000324162s 1 ndn.Producer:OnInterest(0x19f3f10, 0x1a587b0)<br>0.000324162s 1 ndn.Producer:OnInterest(): [INFO ] node(1) responding with Data: /<b>Interest1</b>/%FE%00<br>0.000810172s 4 ndn.Consumer:OnData(0x19f1060, 0x1a4d0b0)<br>0.000810172s 4 ndn.Consumer:OnData(): [INFO ] < DATA for 0<br>0.000810172s 4 ndn.Consumer:OnData(): [DEBUG] Hop count: 1<br>0.00102885s 2 ndn.Producer:OnInterest(0x19f4270, 0x1a40620)<br>0.00102885s 2 ndn.Producer:OnInterest(): [INFO ] node(2) responding with Data: /<b>Interest1</b>/%FE%00<br>0.1s 0 ndn.Consumer:SendPacket()<br>0.1s 0 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1<br>0.1s 0 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 1 with +100000000.0ns. already 1 items<br>0.1s 3 ndn.Consumer:SendPacket()<br></div><div><br></div><div>I don't know if I have an error in specifying two names of Interest packets. Here is a part of my code:</div><div><br></div><div>  ndn::AppHelper consumerHelper("ns3::ndn::ConsumerCbr");<br> <br>  consumerHelper.SetPrefix("/Interest1"); <br>  consumerHelper.SetAttribute("Frequency", DoubleValue(10.0)); <br>  consumerHelper.Install(nodes.Get(0));<br>  consumerHelper.Install(nodes.Get(3));<br>  consumerHelper.Install(nodes.Get(4));<br>  consumerHelper.Install(nodes.Get(5))</div><div><br>  consumerHelper.SetPrefix("/Interest2");<br>  consumerHelper.Install(nodes.Get(6));<br>  consumerHelper.Install(nodes.Get(8));<br><br>  ndn::AppHelper producerHelper("ns3::ndn::Producer");<br>  producerHelper.SetPrefix("/");<br>  producerHelper.SetAttribute("PayloadSize", StringValue("1200"));<br>  producerHelper.Install(nodes.Get(1));<br>  producerHelper.Install(nodes.Get(2));<br>  producerHelper.Install(nodes.Get(7));<br>  producerHelper.Install(nodes.Get(9));<br></div><div><br></div><div>My best regards,</div><div>Zakaria</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=1eed64c2-f82c-481c-8742-774fd166dedb"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 6, 2021 at 2:40 AM sonia sabir <<a href="mailto:zohanoor67@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">zohanoor67@gmail.com</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"><div dir="ltr"><div dir="ltr"><img src="https://mail.google.com/mail/?ui=2&ik=213a119619&attid=0.2&th=17c5f8aa21fa8922&view=fimg&rm=17c5f8aa21fa8922&sz=w1600-h1000&attbid=ANGjdJ9RKmPWxP37N2DNxLzsIzUGgaDzGBiVfKnIJxFPe05Cp9W2oXaOgxQUMBw5AclHvjtop_NVXM_mYjBKvMf4oHpOXHJm6OlAnpTw1mrRplcKNW_id1afTQb9LYA&disp=emb&realattid=ii_kueue85e0&zw" alt="image.gif" width="1" height="1">You can see it in the consumer log file. <div><br></div><div>run your scenario with consumer and producer log enabled </div><br>NS_LOG=ndn.Producer:ndn.Consumer ./waf --run="scenario"<div><br>Regards</div><div><br></div><div>Sonia<br></div></div><br><img width="0" height="0" alt="" style="display:flex"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 5, 2021 at 7:29 PM Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">zakaria.sabir@uit.ac.ma</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"><div dir="ltr">Hi everyone, I hope you are well.<div><br></div><div>I have created two names of Interest packets in my scenario, and I want to know how many times each Interest packet has been forwarded. I tried to use the "L3RateTracer", but it just gives the number of all the Interest packets.</div><div><br></div><div>Could you help me, please?</div><div>My best regards.</div><div><br></div><div>Zakaria</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=8503044c-cb8c-46e0-aa97-1127ef83c852"><font color="#ffffff" size="1">ᐧ</font></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></a><br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" rel="noreferrer noreferrer" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><p><b>Sai Gautam Mandapati</b></p>

<p>Deakin University</p>

<p><br></p></div></div></div>
</blockquote></div>