<div dir="ltr">Hi Teng. Thanks for the advice. I'll try to use face manager to create face inside my forwarding strategy.<div>Can you share your current design of <span style="font-size:12.8px"> </span><a href="https://redmine.named-data.net/issues/4283" target="_blank" style="font-size:12.8px">#4283</a>? Honestly i understand the concept but i have no idea how to implement it.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 29, 2017 at 2:01 AM, Teng Liang <span dir="ltr"><<a href="mailto:philoliang@email.arizona.edu" target="_blank">philoliang@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Mahyuddin,<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Sat, Nov 25, 2017 at 10:25 PM, Mahyuddin Husairi <span dir="ltr"><<a href="mailto:mahyuddin@gmail.com" target="_blank">mahyuddin@gmail.com</a>></span> wrote:<br><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">Hello everybody.<div><br></div><div><div style="font-size:12.8px">I need your opinion about enabling forwarding strategy to create face. At least unicast face (raw ethernet or udp) for dynamic unicast face features in my NDN based MANET solution.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">1. What is the possible dirty hack way to enable it? AFAIK, to create face, it is part of NFD management protocol API. Is that possible to access that API just like face-module.cpp in NFD tools?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">2. Or is there any better way to implement it?</div></div></div></blockquote><div><br></div></span><div>There should be two possible ways to create a face in a forwarding strategy: utilizing face manager or directly manipulating face system. To use face manager for face creation, you can take a look on tests/daemon/mgmt/face-<wbr>manager-create-face.t.cpp. The face manager is designed to allow a different party to alter NFD forwarder states. However, a forwarding strategy is part of a forwarder, I see no reason why it cannot manipulate the face system directly. Thus, you could take a look on how face manager uses face system on face creation, and do similar stuff.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Teng</div><div> </div></font></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><div dir="ltr"><div><span class="m_-1044734216850393854gmail-HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-1044734216850393854gmail-m_6401624846646053315gmail_signature">Human knowledge Belongs to The World</div>
</font></span></div></div>
<br></span><span class="">______________________________<wbr>_________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/m<wbr>ailman/listinfo/nfd-dev</a><br>
<br></span></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Human knowledge Belongs to The World</div>
</div>