<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
<div></div>
<div>My name is José Rodrigo. Nowadays, I am trying to set the ad-hoc link type without success on ndnSIM.</div>
<div></div>
<div><br>
</div>
<div>So far, I have tried unsuccessfully to do the following suggestions in <a href="https://www.lists.cs.ucla.edu/pipermail/ndnsim/2018-September/004961.html" id="LPlnk555864">https://www.lists.cs.ucla.edu/pipermail/ndnsim/2018-September/004961.html</a> and
 modify the file nfd.conf.sample.in (mcast_ad_hoc yes) in <a href="https://www.lists.cs.ucla.edu/pipermail/ndnsim/2019-April/005303.html">
https://www.lists.cs.ucla.edu/pipermail/ndnsim/2019-April/005303.html</a>. After these failed attempts, </div>
<div><br>
</div>
<div>I tried to implement the example available in nfd.conf.sample.in on file ndn-l3-protocol.cpp, at the class L3Protocol::Impl (face_system). My code is highlighted below:</div>
<div><br>
</div>
<div>      "face_system\n"</div>
<div>      "{\n"</div>
<div>      "  general\n"</div>
<div>      "  {\n"</div>
<div>      "    enable_congestion_marking yes\n"</div>
<div>      "  }\n"</div>
<div>      "  tcp\n"</div>
<div>      "  {\n"</div>
<div>      "    listen yes\n"</div>
<div>      "    port 6363\n"</div>
<div>      "    enable_v4 yes\n"</div>
<div>      "    enable_v6 yes\n"</div>
<div>      "    local\n"</div>
<div>      "    {\n"</div>
<div>      "      whitelist\n"</div>
<div>      "      {\n"</div>
<div>      "        subnet 127.0.0.0/8\n"</div>
<div>      "        subnet ::1/128\n"</div>
<div>      "      }\n"</div>
<div>      "      blacklist\n"</div>
<div>      "      {\n"</div>
<div>      "      }\n"</div>
<div>      "    }\n"</div>
<div>      "  }\n"</div>
<div>      "  udp\n"</div>
<div>      "  {\n"</div>
<div>      "    mcast_ad_hoc yes\n"</div>
<div>      "  }\n"</div>
<div>      "  ether\n"</div>
<div>      "  {\n"</div>
<div>      "    mcast yes\n"</div>
<div>      "    mcast_group 01:00:5E:00:17:AA\n"</div>
<div>      "    mcast_ad_hoc yes\n"</div>
<div>      "  }\n"</div>
<div>      "}\n"</div>
<div>      "\n"</div>
<div>   </div>
How can I enable the link type ad hoc in the ndnSIM?<br>
</div>
</body>
</html>