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

Go to the source code of this file.

Namespaces

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

Functions

static void nfd::parseList (std::set< std::string > &set, const boost::property_tree::ptree &list, const std::string &section)
 
static bool nfd::doesMatchPattern (const std::string &ifname, const std::string &pattern)
 
static bool nfd::doesMatchRule (const ndn::net::NetworkInterface &netif, const std::string &rule)