[Nfd-dev] Where did face dispatch the packet to forwarder

Junxiao Shi shijunxiao at email.arizona.edu
Wed Aug 26 16:58:31 PDT 2015


Hi Yumin

The “gateway” between face system and forwarding is in the FaceTable class.
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.

Yours, Junxiao


From: 小民
Sent: Tuesday, August 25, 2015 15:38
To: Junxiao Shi
Subject: Re: Forwarding Queue


In the 'daemon/face/face.cpp' file, function 'decodeAndDispatchInput' , in the last , it calls a  boost::signal type function, onReceiveData/onReceiveInterest. Where did face dispatch the packet to forwarder? In the construction function of Face(), I only found a binding of m_counters on  onReceiveData/onReceiveInterest, so where did the connection between face and forwarding pipeline happen?

Best,
Yumin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150826/80d140a7/attachment.html>


More information about the Nfd-dev mailing list