Helper for NDN IP-based face creation. More...
#include <ndn-ip-faces-helper.h>
Static Public Member Functions | |
static void | Install (Ptr< Node > node) |
Install IpFaceStack interface on a node. More... | |
static void | Install (const NodeContainer &nodes) |
Install IpFaceStack interface on nodes. More... | |
static void | InstallAll () |
Install IpFaceStack interface on all nodes. | |
static void | CreateTcpFace (const Time &when, Ptr< Node > node, Ipv4Address address, const std::string &prefix, int16_t metric=1) |
Create TCP face. More... | |
static void | CreateUdpFace (const Time &when, Ptr< Node > node, Ipv4Address address, const std::string &prefix, int16_t metric=1) |
Create TCP face. | |
Helper for NDN IP-based face creation.
Definition at line 41 of file ndn-ip-faces-helper.h.
|
static |
Create TCP face.
when | Time when to create face (use `Seconds (0)' if face should be created right away) |
node | Node to add TCP face (will initiate connection) |
address | IP address to connect (using standard 9695 port) |
prefix | Prefix to associate with the face |
metric | Metric that will be assigned to the face |
This call schedules connection initiation and after successful connection it will add new face to NDN stack and add the requested route
If face has been already created before (same IP address), then this call will simply update FIB with requested prefix
Definition at line 103 of file ndn-ip-faces-helper.cc.
|
static |
Install IpFaceStack interface on a node.
node | Node to install IpFaceStack interface |
Definition at line 40 of file ndn-ip-faces-helper.cc.
|
static |
Install IpFaceStack interface on nodes.
nodes | NodeContainer to install IpFaceStack interface |
Definition at line 47 of file ndn-ip-faces-helper.cc.