<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Igor,<div class=""><br class=""></div><div class="">one way you could do that is to create a separate application (and install it on every node), which will get the info that you are interested in from NFD and advertise it to the other nodes. This app will also receive advertisements from others and send the required info to the modules that you want.</div><div class=""><br class=""></div><div class="">Hope that this helps,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 26, 2016, at 10:26 AM, Igor Carvalho <<a href="mailto:igfuca@gmail.com" class="">igfuca@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hi, there. <br class=""><br class=""></div>I'd like to create a forwarding strategy based on the content replacement rate of nodes content store. Basically, the I'd use the number of replacements of the available policies (LRU, LFU, priority FIFO) to be used for forwarding interests. My intention is to create a new field in Interest packet set to 0 in the consumer node. the forwarding strategy would choose the next hop based on the number of content replacements of the adjacency nodes. So, it would be necessary to get this 'information  from next hop nodes  and store these values  in the faces attached  to them, so that the node handling the interest compare the current value in interest packet to the values of the faces. The strategy would send the packet to the face with the highest value. <br class=""><br class=""></div>I have made some changes in the tlv.hpp, added the extra variable which will store and update the replacement value at every hop. My problem is regarded to which part of nfd I can make nodes advertise their replacement rates to their nodes, like the control messages of RIB manager do. I thought about using the variable <b class="">cost </b>used by the available strategies just to receive the replacement value and use as a cost. <br class=""><br class=""></div>I would really appreciate any help.<br class=""><br class=""></div>Regards,<br class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><span style="background-color:rgb(255,255,255)" class=""><font color="#999999" class=""><b class=""><font class=""><font face="verdana, sans-serif" class="">Igor Carvalho</font><font class=""><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px" class=""><i class="">   </i></span></font></font> 
</b></font></span><div class=""><i style="background-color:rgb(255,255,255)" class=""><font color="#999999" class=""><b class="">Master on Computer Science - UFPA</b></font></i><div class="">
<div class=""></div></div></div><div class=""><i style="background-color:rgb(255,255,255)" class=""><font color="#999999" class=""><b class="">GERCOM Researcher. </b></font></i></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>