NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
i
k
l
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
network-interface-predicate.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP
27
#define NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP
28
29
#include "
common.hpp
"
30
31
namespace
nfd
{
32
33
class
NetworkInterfaceInfo
;
34
45
class
NetworkInterfacePredicate
46
{
47
public
:
48
NetworkInterfacePredicate
();
49
53
void
54
clear
();
55
56
void
57
parseWhitelist
(
const
boost::property_tree::ptree& list);
58
59
void
60
parseBlacklist
(
const
boost::property_tree::ptree& list);
61
62
bool
63
operator()
(
const
NetworkInterfaceInfo
& nic)
const
;
64
65
private
:
66
std::set<std::string> m_whitelist;
67
std::set<std::string> m_blacklist;
68
};
69
70
}
// namespace nfd
71
72
#endif // NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP
nfd::NetworkInterfaceInfo
contains information about a network interface
Definition:
network-interface.hpp:41
nfd::NetworkInterfacePredicate::NetworkInterfacePredicate
NetworkInterfacePredicate()
Definition:
network-interface-predicate.cpp:34
nfd::NetworkInterfacePredicate::parseWhitelist
void parseWhitelist(const boost::property_tree::ptree &list)
Definition:
network-interface-predicate.cpp:86
common.hpp
nfd::NetworkInterfacePredicate
Represents a predicate to accept or reject a NetworkInterfaceInfo.
Definition:
network-interface-predicate.hpp:45
nfd::NetworkInterfacePredicate::clear
void clear()
Set the whitelist to "*" and clear the blacklist.
Definition:
network-interface-predicate.cpp:40
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::NetworkInterfacePredicate::operator()
bool operator()(const NetworkInterfaceInfo &nic) const
Definition:
network-interface-predicate.cpp:116
nfd::NetworkInterfacePredicate::parseBlacklist
void parseBlacklist(const boost::property_tree::ptree &list)
Definition:
network-interface-predicate.cpp:92
NetworkInterfaceInfo
NetworkInterfaceInfo
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition:
network-interface.cpp:51
ndnSIM
NFD
core
network-interface-predicate.hpp
Generated on Wed Jan 11 2017 18:17:15 for ndnSIM by
1.8.13