26 #ifndef NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP 27 #define NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP 30 #include <ndn-cxx/net/network-interface.hpp> 61 operator()(
const ndn::net::NetworkInterface& netif)
const;
73 std::set<std::string> m_whitelist;
74 std::set<std::string> m_blacklist;
79 #endif // NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP void parseWhitelist(const boost::property_tree::ptree &list)
bool operator==(const NetworkInterfacePredicate &other) const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
void parseBlacklist(const boost::property_tree::ptree &list)
bool operator()(const ndn::net::NetworkInterface &netif) const
NetworkInterfacePredicate()
void clear()
Set the whitelist to "*" and clear the blacklist.
Represents a predicate to accept or reject a NetworkInterfaceInfo.
bool operator!=(const NetworkInterfacePredicate &other) const