Apache Mesos
Functions
routing::filter::internal Namespace Reference

Functions

template<typename Classifier >
Try< Nothingencode (const Netlink< struct rtnl_cls > &cls, const Classifier &classifier)
 
template<typename Classifier >
Result< Classifier > decode (const Netlink< struct rtnl_cls > &cls)
 
Try< Nothingattach (const Netlink< struct rtnl_cls > &cls, const action::Redirect &redirect)
 
Try< Nothingattach (const Netlink< struct rtnl_cls > &cls, const action::Mirror &mirror)
 
Try< Nothingattach (const Netlink< struct rtnl_cls > &cls, const action::Terminal &terminal)
 
Try< Nothingattach (const Netlink< struct rtnl_cls > &cls, const process::Shared< action::Action > &action)
 
template<typename Classifier >
Result< U32HandlegenerateU32Handle (const Netlink< struct rtnl_link > &link, const Filter< Classifier > &filter)
 
template<typename Classifier >
Try< Netlink< struct rtnl_cls > > encodeFilter (const Netlink< struct rtnl_link > &link, const Filter< Classifier > &filter)
 
template<typename Classifier >
Result< Filter< Classifier > > decodeFilter (const Netlink< struct rtnl_cls > &cls)
 
Try< std::vector< Netlink
< struct rtnl_cls > > > 
getClses (const Netlink< struct rtnl_link > &link, const Handle &parent)
 
template<typename Classifier >
Result< Netlink< struct
rtnl_cls > > 
getCls (const Netlink< struct rtnl_link > &link, const Handle &parent, const Classifier &classifier)
 
template<typename Classifier >
Try< bool > exists (const std::string &_link, const Handle &parent, const Classifier &classifier)
 
template<typename Classifier >
Try< bool > create (const std::string &_link, const Filter< Classifier > &filter)
 
template<typename Classifier >
Try< bool > remove (const std::string &_link, const Handle &parent, const Classifier &classifier)
 
template<typename Classifier >
Try< bool > update (const std::string &_link, const Filter< Classifier > &filter)
 
template<typename Classifier >
Result< std::vector< Filter
< Classifier > > > 
filters (const std::string &_link, const Handle &parent)
 
template<typename Classifier >
Result< std::vector< Classifier > > classifiers (const std::string &link, const Handle &parent)
 

Function Documentation

Try<Nothing> routing::filter::internal::attach ( const Netlink< struct rtnl_cls > &  cls,
const action::Redirect &  redirect 
)
inline
Try<Nothing> routing::filter::internal::attach ( const Netlink< struct rtnl_cls > &  cls,
const action::Mirror &  mirror 
)
inline
Try<Nothing> routing::filter::internal::attach ( const Netlink< struct rtnl_cls > &  cls,
const action::Terminal &  terminal 
)
inline
Try<Nothing> routing::filter::internal::attach ( const Netlink< struct rtnl_cls > &  cls,
const process::Shared< action::Action > &  action 
)
inline
template<typename Classifier >
Result<std::vector<Classifier> > routing::filter::internal::classifiers ( const std::string &  link,
const Handle &  parent 
)
template<typename Classifier >
Try<bool> routing::filter::internal::create ( const std::string &  _link,
const Filter< Classifier > &  filter 
)
template<typename Classifier >
Result<Classifier> routing::filter::internal::decode ( const Netlink< struct rtnl_cls > &  cls)
template<typename Classifier >
Result<Filter<Classifier> > routing::filter::internal::decodeFilter ( const Netlink< struct rtnl_cls > &  cls)
template<typename Classifier >
Try<Nothing> routing::filter::internal::encode ( const Netlink< struct rtnl_cls > &  cls,
const Classifier &  classifier 
)
template<typename Classifier >
Try<Netlink<struct rtnl_cls> > routing::filter::internal::encodeFilter ( const Netlink< struct rtnl_link > &  link,
const Filter< Classifier > &  filter 
)
template<typename Classifier >
Try<bool> routing::filter::internal::exists ( const std::string &  _link,
const Handle &  parent,
const Classifier &  classifier 
)
template<typename Classifier >
Result<std::vector<Filter<Classifier> > > routing::filter::internal::filters ( const std::string &  _link,
const Handle &  parent 
)
template<typename Classifier >
Result<U32Handle> routing::filter::internal::generateU32Handle ( const Netlink< struct rtnl_link > &  link,
const Filter< Classifier > &  filter 
)
template<typename Classifier >
Result<Netlink<struct rtnl_cls> > routing::filter::internal::getCls ( const Netlink< struct rtnl_link > &  link,
const Handle &  parent,
const Classifier &  classifier 
)
Try<std::vector<Netlink<struct rtnl_cls> > > routing::filter::internal::getClses ( const Netlink< struct rtnl_link > &  link,
const Handle &  parent 
)
inline
template<typename Classifier >
Try<bool> routing::filter::internal::remove ( const std::string &  _link,
const Handle &  parent,
const Classifier &  classifier 
)
template<typename Classifier >
Try<bool> routing::filter::internal::update ( const std::string &  _link,
const Filter< Classifier > &  filter 
)