[ndnSIM] How to find the Interfaces to which an Interest has been forwarded

Junxiao Shi shijunxiao at email.arizona.EDU
Mon Mar 6 12:17:40 PST 2017


Hi Shahid

You may inspect PIT out-records.
https://github.com/named-data/NFD/blob/a274292b93d62c78a58246be5cbc2bd4dad6acf5/daemon/table/pit-entry.hpp#L158-L159

Yours, Junxiao

On Mon, Mar 6, 2017 at 4:11 AM, Shahid Md. Asif Iqbal <asifcsep at gmail.com>
wrote:

> Dear All,
> Let me explain my problem pictorially. Say, node A has three five
> interfaces as shown:
>                                                 i-1     i-2
>                                                   \      /
>                                                    \    /
>                                                     \  /
>                                                      A
>                                                    /  |  \
>                                                   /   |   \
>                                                  /    |    \
>                                              o-1   o-2  o-3
> An Interest I has been received on interface i-1 (and some moments later
> on interface i-2) and forwarded to all the outgoing faces i.e. o-1, o-2,
> and o-3. Suppose, the corresponding  Data packet has been reached on
> interface o-1. Now, how can I find the name of the other two interfaces
> where the interest I has been forwarded. I mean, which function in which
> file is appropirate to find the interfaces o-2 and o-3. I want to send a
> packet to those interfaces.
>
> Thanks in advance
> Asif
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170306/7eb394a2/attachment.html>


More information about the ndnSIM mailing list