network-predicate.cpp File Reference
#include "network-predicate.hpp"
#include "config-file.hpp"
#include "network.hpp"
#include <fnmatch.h>
+ Include dependency graph for network-predicate.cpp:

Go to the source code of this file.

Namespaces

 nfd
 Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
 

Functions

static bool nfd::doesAddressMatchRule (const boost::asio::ip::address &address, const std::string &rule)
 
static bool nfd::doesMatchPattern (const std::string &ifname, const std::string &pattern)
 
static bool nfd::doesNetifMatchRule (const ndn::net::NetworkInterface &netif, const std::string &rule)