26 #ifndef NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP
27 #define NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP
33 class NetworkInterfaceInfo;
74 std::set<std::string> m_whitelist;
75 std::set<std::string> m_blacklist;
80 #endif // NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP
void parseWhitelist(const boost::property_tree::ptree &list)
contains information about a network interface
bool operator==(const NetworkInterfacePredicate &other) const
bool operator()(const NetworkInterfaceInfo &netif) const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
void parseBlacklist(const boost::property_tree::ptree &list)
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