[ndnSIM] the face of a node

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Sat Jul 20 14:51:23 PDT 2019


Junxiao,

I do not think this is a proper response. We strive to help with each and every question.

@Bouchrit, there are typically multiple faces per node. Some of them are internal (for internal NFD use), some of them external.

You can get the forwarder instance of a node with something like that: *node->GetObject<ns3::ndn::L3Protocol>()->getForwarder()

Then, you can get the FaceTable by calling getFaceTable() on the forwarder object and then literate over the faces of a node.

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
Computer Science Department
UCLA

> On Jul 20, 2019, at 4:39 PM, Junxiao Shi <shijunxiao at email.arizona.edu> wrote:
> 
> Hi bouchrit
> 
> 
> Please can anyone guide me.
> 
> No there's no help for you.
> http://www.catb.org/~esr/faqs/smart-questions.html#prune
> 
> 
> how can i get the face of a specific node?
> 
> This may be related:
> http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
> 
> Yours, Junxiao
> 





More information about the ndnSIM mailing list