<div dir="ltr">Hi Leandro,<div><br></div><div>When you use ndn::StackHelper, it sets up the entire NDN stack on the node. Including GenericLinkService and NetDeviceTransport.<br><br>See the StackHelper::DefaultNetDeviceCallback and StackHelper::PointToPointNetDeviceCallback methods.<br></div><div><br></div><div>So if you use ndn::StackHelper, you do not need to configure NetDeviceTransport.<br></div><div><br></div><div>Regards,</div><div>Ygor Amaral</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 8, 2021 at 8:03 PM Leandro Alves via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</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 lang="EN-US">
<div>
<p class="MsoNormal">Hi Junxiao,</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m new to ndnSIM, so, maybe this is a dumb question, but how and when call ns3::ndn::NetDeviceTransport constructor. And I need to call the constructor for every node that my scenario has?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:shijunxiao@email.arizona.edu" target="_blank">Junxiao Shi</a><br>
<b>Sent: </b>Thursday, April 8, 2021 11:34 PM<br>
<b>To: </b><a href="mailto:leandrinos54@hotmail.com" target="_blank">LEANDRO ALVES</a><br>
<b>Cc: </b><a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a><br>
<b>Subject: </b>Re: [EXT][ndnSIM] [ndnSim] How to change the default values from NFD configuration fil</p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi Leandro<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">NFD's UDP transport is not compiled into ndnSIM:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/wscript#L136" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/wscript#L136</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Consequently, the <span style="font-family:"Courier New"">face_system.udp</span> section is unrecognized.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">You can set the link type when calling ns3::ndn::NetDeviceTransport constructor.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/model/ndn-net-device-transport.hpp#L50" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/model/ndn-net-device-transport.hpp#L50</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Yours, Junxiao<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Thu, Apr 8, 2021 at 5:36 PM LEANDRO ALVES via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<p align="center" style="text-align:center"><strong><span style="font-family:Calibri,sans-serif;color:red">External Email</span></strong></p>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">
Hello all,</p>
<p class="MsoNormal" style="margin-left:4.8pt">
 </p>
<p class="MsoNormal" style="margin-left:4.8pt">
I’m currently trying to make a custom forwarding strategy for vehicular adhoc network and I started to using multicast strategy but all link types are point-to-point by default. So I change the current configuration at
<a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/ndn-l3-protocol.cpp#L117" target="_blank">
ndn-l3-protocol.cpp</a> in section <i>face_system </i>to support multicast adhoc.. However, when I compile my scenario I get the following error: unrecognized option
<i>face_system.udp</i>.</p>
<p class="MsoNormal" style="margin-left:4.8pt">
 </p>
<p class="MsoNormal" style="margin-left:4.8pt">
So, my configuration looks like this:</p>
<p class="MsoNormal" style="margin-left:4.8pt">
/*rest of the code*/</p>
<p class="MsoNormal" style="margin-left:4.8pt">
"\n"</p>
<p class="MsoNormal" style="margin-left:4.8pt">
"face_system\n"</p>
<p class="MsoNormal" style="margin-left:4.8pt">
"{\n"</p>
<p class="MsoNormal" style="margin-left:4.8pt">
"  udp\n"</p>
<p class="MsoNormal" style="margin-left:4.8pt">
"  {\n"</p>
<p class="MsoNormal" style="margin-left:4.8pt">
"    mcast_ad_hoc yes\n"</p>
<p class="MsoNormal" style="margin-left:4.8pt">
"  }\n"</p>
<p class="MsoNormal" style="margin-left:4.8pt">
"}\n"</p>
<p class="MsoNormal" style="margin-left:4.8pt">
"\n"</p>
<p class="MsoNormal" style="margin-left:4.8pt">
/*rest of the code*/</p>
<p class="MsoNormal" style="margin-left:4.8pt">
 </p>
<p class="MsoNormal" style="margin-left:4.8pt">
I’m doing something wrong or I’m missing some important step?</p>
<p class="MsoNormal" style="margin-left:4.8pt">
 </p>
<p class="MsoNormal" style="margin-left:4.8pt">
Thanks in advance,</p>
<p class="MsoNormal" style="margin-left:4.8pt">
Leandro Alves</p>
<p class="MsoNormal" style="margin-left:4.8pt">
 </p>
<p class="MsoNormal" style="margin-left:4.8pt">
 </p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:4.8pt">_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>