[ndnSIM] [EXT] [ndnSim] How to change the default values from NFD configuration fil

Leandro Alves leandrinos54 at hotmail.com
Thu Apr 8 16:03:27 PDT 2021

Hi Junxiao,

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?

From: Junxiao Shi<mailto:shijunxiao at email.arizona.edu>
Sent: Thursday, April 8, 2021 11:34 PM
To: LEANDRO ALVES<mailto:leandrinos54 at hotmail.com>
Cc: ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>
Subject: Re: [EXT][ndnSIM] [ndnSim] How to change the default values from NFD configuration fil

Hi Leandro

NFD's UDP transport is not compiled into ndnSIM:
Consequently, the face_system.udp section is unrecognized.

You can set the link type when calling ns3::ndn::NetDeviceTransport constructor.

Yours, Junxiao

On Thu, Apr 8, 2021 at 5:36 PM LEANDRO ALVES via ndnSIM <ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>> wrote:

External Email
Hello all,

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 ndn-l3-protocol.cpp<https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/ndn-l3-protocol.cpp#L117> in section face_system to support multicast adhoc.. However, when I compile my scenario I get the following error: unrecognized option face_system.udp.

So, my configuration looks like this:
/*rest of the code*/
"  udp\n"
"  {\n"
"    mcast_ad_hoc yes\n"
"  }\n"
/*rest of the code*/

I’m doing something wrong or I’m missing some important step?

Thanks in advance,
Leandro Alves

ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu<mailto:ndnSIM at lists.cs.ucla.edu>

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

More information about the ndnSIM mailing list