<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi, Alex</div><div><br></div><div>I'm confused about how the packet is transmitted in ndnSIM. Take the forwarder as example. When sending the interest, the forwader calls the function [<span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">outFace->SendInterest (interest);] in forwardingstrategy.cc, which then calls the funtion [</span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">Send (Wire::FromInterest (interest));] in face.cc. However, </span><span style="background-color: window; font-family: ''; font-size: 10.5pt; line-height: 1.5;"> </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">[</span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">Send (Wire::FromInterest (interest));] seems only to re-construct the packet. I wonder how the packet is sent from the fowarder to another. I feel that there shoud be some functions which call m_fowardingStrategy->Oninterest so that the packet call be sent to the next forwarder, but I did not find it.</span></div><div>The same question also is for the counsumer and producers. <span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">Take the forwarder as example.</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">When sending the interest, the consumer calls the [</span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">m_face->ReceiveInterest (interest);] and then, how the interest is sent to the forwarder?</span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">Thanks in advance!</span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">  </span></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>Aaron</div></div></span></div>
</body></html>