NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
network-predicate.cpp File Reference
#include "network-predicate.hpp"
#include "common/config-file.hpp"
#include "core/network.hpp"
#include <fnmatch.h>
Include dependency graph for network-predicate.cpp:

Go to the source code of this file.

Namespaces

 nfd
 Copyright (c) 2011-2015 Regents of the University of California.
 
 nfd::face
 

Functions

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