<html>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style = 'font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif; line-height:1.6;'>
    <div ></div><div>
    <div>Hi, <span style="line-height: 22.4px;">Spyridon.</span></div><div><span style="line-height: 22.4px;"><br></span></div><div><span style="line-height: 22.4px;">Thanks for your patiently reply.  It is my mistake for confusion of a Router with a Route.</span></div><div><span style="line-height: 22.4px;"><br></span></div><div><span style="line-height: 22.4px;">What I want to do is to set different PIT entry expiration time for different routers. e.g., there are two routers(Ra and Rb), both of them have same PIT entry(Such as "/malicious/gang"), on Ra, I want to set the PIT entry expiration time at 1000ms, while on Rb, the PIT entry expiration time is 100ms.</span></div>
    <div>
        <span>
            <br>
        </span>
    </div><div><span>It seems like setting PIT entry expiration time for a Interest packet does not work for me. Do you have any ideals?</span></div><div><span><br></span></div>
    <div id="ntes-pcmac-signature" style="font-family:'微软雅黑'">
     
    <div style="font-size:14px; padding: 0;  margin:0;line-height:14px;">
        <div style="padding-bottom:6px;margin-bottom:10px;border-bottom:1px solid #e6e6e6;display:inline-block;">
                    <a href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=gangliu&uid=gangliu%40bjtu.edu.cn&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22gangliu%40bjtu.edu.cn%22%5D&logoUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyeicon%2Fac1ca696788d4420bfd06967ba461a89.png" style="display:block;background:#fff; max-width: 400px; _width: 400px;padding:15px 0 10px 0;text-decoration: none; outline:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
            <table cellpadding="0" style="width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse;color: #9b9ea1;font-size: 14px;line-height:1.3;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
                <tbody style="font-family: 'PingFang SC', 'Hiragino Sans GB','WenQuanYi Micro Hei', 'Microsoft Yahei', '微软雅黑', verdana !important; word-wrap:break-word; word-break:break-all;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
                    <tr class="firstRow">
                            <td width="38" style="padding: 0px; box-sizing: border-box; width: 38px; word-break: break-all;">
                                <img width="38" height="38" style="vertical-align:middle; width: 38px; height: 38px; border-radius:50%;" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png">
                            </td>
                            <td style="padding: 0 30px 0 10px; color: #31353b;">
                                <div style="font-size: 16px;font-weight:bold; width:100%; white-space: nowrap; overflow:hidden;text-overflow: ellipsis;">gangliu</div>
                            </td>
                            <td width="72" style="text-align:right; width: 72px;">
                                <img width="72" height="20" style="width: 72px; height: 20px;" src="https://mail-online.nosdn.127.net/qiyelogo/ac1ca696788d4420bfd06967ba461a89.png">
                            </td>
                    </tr>
                        <tr width="100%" style="font-size: 14px !important; width: 100%;">
                            <td colspan="3" style="padding:10px 0 0 0; font-size:14px !important; width: 100%;">
                                    <div style="width: 100%;font-size: 14px !important;word-wrap:break-word;word-break:break-all;">gangliu@bjtu.edu.cn</div>
                            </td>
                        </tr>
                </tbody>
            </table>
        </a>
        </div>
    </div>
    <div style="font-size:12px;color:#b5b9bd;line-height:18px;">
        <span>签名由</span>
        <a style="text-decoration: none;color:#4196ff;padding:0 5px;" href="https://mail.163.com/dashi/dlpro.html?from=mail81">网易邮箱大师</a>
        <span>定制</span>
    </div>
 </div>
</div><div class="J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:'微软雅黑';">
    <div style="font-size:12px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">On <span class="mail-date">1/2/2019 20:54</span>,<a class="mail-to" style="text-decoration:none;color:#2a83f2;" href="mailto:mastorakis@cs.ucla.edu">Spyridon (Spyros) Mastorakis<mastorakis@cs.ucla.edu></a> wrote: </div>
</div>
<blockquote id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 14px; font-family: '微软雅黑';">
Hi,<div class=""><br class=""></div><div class="">I am not sure I fully understand what your goal is… You want to know the expiration time of a “route”? A naive reason could be that you do not include the necessary header files..</div><div class=""><br class=""></div><div class="">Moreover, ndnSIM by default uses a routing helper to install routes directly to the FIB of each node through the FibHelper:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-global-routing-helper.cpp#L273-L274" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-global-routing-helper.cpp#L273-L274</a></div><div class=""><br class=""></div><div class="">You can use the git tag command to see the version of ndnSIM that you have downloaded.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""> <br class=""><div 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 class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Jan 2, 2019, at 4:41 AM, gangliu <<a href="mailto:gangliu@bjtu.edu.cn" class="">gangliu@bjtu.edu.cn</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: 微软雅黑, Verdana, "Microsoft Yahei", SimSun, sans-serif; line-height: 1.6;" class=""><div class=""></div><div class=""><div class="">Hi, NDN friends. </div><div class="">  Recently, I have tried to get the expiration period of a router in ndnSIM 2.3, but I got some errors as the following lines show.</div><div class=""><br class=""></div><div class="">```</div><div class="">../src/ndnSIM/examples/ndn-kai.cpp: In member function ‘void ns3::print_pit::printStats()’:</div><div class="">../src/ndnSIM/examples/ndn-kai.cpp:60:60: error: ‘Route’ is not a member of ‘ndn::nfd’</div><div class="">   auto expired_time = Names::Find<Node>("CR-0")->GetObject<::ndn::nfd::Route>()->getExpirationPeriod();</div><div class=""> ```</div><div class=""><br class=""></div><div class="">I have checked the API docs at the ndnSIM 2.3 home page (<span style="line-height: 22.4px;" class=""><a href="http://ndnsim.net/2.3/doxygen/classndn_1_1nfd_1_1Route.html#a1032a5317eaa87513bf00d58d5e7cbb4" class="">http://ndnsim.net/2.3/doxygen/classndn_1_1nfd_1_1Route.html#a1032a5317eaa87513bf00d58d5e7cbb4</a></span><span style="line-height: 1.6;" class="">). It seems like that `Route` is a member of `ndn::nfd`. But why these errors happened? Anyone has some ideals or advises?  Thanks!!! </span></div><div class=""><br class=""></div><div class="">BTW, I have installed ndnSIM 2.3 a few months ago, but I checked the VERSION file and got a "2.0.0" string. Is there any other ways to check the ndnSIM version?</div><div class=""><br class=""></div><div class=""><span class=""><br class=""></span></div><div style="font-family: 微软雅黑;" class=""><div style="font-size: 14px; padding: 0px; margin: 0px; line-height: 14px;" class=""><div style="padding-bottom: 6px; margin-bottom: 10px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(230, 230, 230); display: inline-block;" class=""><a href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=gangliu&uid=gangliu%40bjtu.edu.cn&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22gangliu%40bjtu.edu.cn%22%5D&logoUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyeicon%2Fac1ca696788d4420bfd06967ba461a89.png" style="display: block; background-color: rgb(255, 255, 255); max-width: 400px; padding: 15px 0px 10px; text-decoration: none; outline: none; background-position: initial initial; background-repeat: initial initial;" class=""><table cellpadding="0" style="width: 400px; max-width: 100%; table-layout: fixed; border-collapse: collapse; color: rgb(155, 158, 161); font-size: 14px; line-height: 1.3;" class=""><tbody style="word-wrap: break-word; word-break: break-all; font-family: "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", 微软雅黑, verdana !important;" class=""><tr class="firstRow"><td width="38" style="padding: 0px; box-sizing: border-box; width: 38px; word-break: break-all;"><img width="38" height="38" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png" style="vertical-align: middle; width: 38px; height: 38px; border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%;" class=""></td><td style="padding: 0px 30px 0px 10px; color: rgb(49, 53, 59); word-break: break-all;"><div style="font-size: 16px; font-weight: bold; width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" class="">gangliu</div></td><td width="72" style="text-align: right; width: 72px; word-break: break-all;"><img width="72" height="20" src="https://mail-online.nosdn.127.net/qiyelogo/ac1ca696788d4420bfd06967ba461a89.png" style="width: 72px; height: 20px;" class=""></td></tr><tr width="100%" style="width: 400px; font-size: 14px !important;" class=""><td colspan="3" style="padding: 10px 0px 0px; width: 400px; word-break: break-all; font-size: 14px !important;"><div style="width: 400px; word-wrap: break-word; word-break: break-all; font-size: 14px !important;" class="">gangliu@bjtu.edu.cn</div></td></tr></tbody></table></a></div></div><div style="font-size: 12px; color: rgb(181, 185, 189); line-height: 18px;" class=""><span class="">签名由</span><span class="Apple-converted-space"> </span><a href="https://mail.163.com/dashi/dlpro.html?from=mail81" style="text-decoration: none; color: rgb(65, 150, 255); padding: 0px 5px;" class="">网易邮箱大师</a><span class="Apple-converted-space"> </span><span class="">定制</span></div></div></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Ndn-interest mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">Ndn-interest@lists.cs.ucla.edu</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a></div></blockquote></div><br class=""></div></div>
</blockquote><!--😀-->
</div>
</body>
</html>