[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:
https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/wscript#L136
Consequently, the face_system.udp section is unrecognized.
You can set the link type when calling ns3::ndn::NetDeviceTransport constructor.
https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/model/ndn-net-device-transport.hpp#L50
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*/
"\n"
"face_system\n"
"{\n"
" udp\n"
" {\n"
" mcast_ad_hoc yes\n"
" }\n"
"}\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>
http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- 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