<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p>Hi Yumin</p><p><o:p> </o:p></p><p>The “gateway” between face system and forwarding is in the <span style='font-family:Consolas'>FaceTable</span> class.</p><p>After a face is created, management or channel will add it into the FaceTable. During this process, FaceTable would connect handlers onto the network layer receive signals on the face, so that received packets are delivered to forwarding.</p><p><o:p> </o:p></p><p>Yours, Junxiao</p><p><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p style='border:none;padding:0in'><br><b>From: </b><span lang=ZH-CN style='font-family:SimSun'>小民</span><br><b>Sent: </b>Tuesday, August 25, 2015 15:38<br><b>To: </b>Junxiao Shi<br><b>Subject: </b>Re: Forwarding Queue</p></div><p class=MsoNormal><span style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'>In the 'daemon/face/face.cpp' file, function '<a href="http://named-data.net/doc/NFD/current/doxygen/d8/da8/classnfd_1_1Face.html#af538b4501eeb74099183bfdc13a10c80"><span style='font-size:10.0pt;font-family:"Courier New";color:#4665A2;background:#FCFCFC;text-decoration:none'>decodeAndDispatchInput</span></a>' , in the last , it calls a  boost::signal type function, <a href="http://named-data.net/doc/NFD/current/doxygen/d8/da8/classnfd_1_1Face.html#a6989b109e5022c7a46234296a3e91ef8"><span style='font-size:10.0pt;font-family:"Courier New";color:#4665A2;background:#FCFCFC;text-decoration:none'>onReceiveData</span></a>/<a href="http://named-data.net/doc/NFD/current/doxygen/d8/da8/classnfd_1_1Face.html#a7f95900b9196ccf7066c08f95b7ed08f"><span style='font-size:10.0pt;font-family:"Courier New";color:#4665A2;background:#FCFCFC;text-decoration:none'>onReceiveInterest</span></a>. Where did face dispatch the packet to forwarder? In the construction function of Face(), I only found a binding of m_counters on  <a href="http://named-data.net/doc/NFD/current/doxygen/d8/da8/classnfd_1_1Face.html#a6989b109e5022c7a46234296a3e91ef8"><span style='font-size:10.0pt;font-family:"Courier New";color:#4665A2;background:#FCFCFC;text-decoration:none'>onReceiveData</span></a>/<a href="http://named-data.net/doc/NFD/current/doxygen/d8/da8/classnfd_1_1Face.html#a7f95900b9196ccf7066c08f95b7ed08f"><span style='font-size:10.0pt;font-family:"Courier New";color:#4665A2;background:#FCFCFC;text-decoration:none'>onReceiveInterest</span></a>, so where did the connection between face and forwarding pipeline happen?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'>Best,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'>Yumin<o:p></o:p></span></p></div></div></div></body></html>