Apache Mesos
Namespaces | Functions
internal.hpp File Reference
#include <stdint.h>
#include <netlink/cache.h>
#include <netlink/errno.h>
#include <netlink/object.h>
#include <netlink/socket.h>
#include <netlink/route/classifier.h>
#include <netlink/route/link.h>
#include <netlink/route/tc.h>
#include <netlink/route/act/mirred.h>
#include <netlink/route/cls/basic.h>
#include <netlink/route/cls/u32.h>
#include <string>
#include <vector>
#include <process/shared.hpp>
#include <stout/error.hpp>
#include <stout/foreach.hpp>
#include <stout/hashmap.hpp>
#include <stout/hashset.hpp>
#include <stout/none.hpp>
#include <stout/nothing.hpp>
#include <stout/option.hpp>
#include <stout/result.hpp>
#include <stout/try.hpp>
#include "linux/routing/handle.hpp"
#include "linux/routing/internal.hpp"
#include "linux/routing/filter/action.hpp"
#include "linux/routing/filter/filter.hpp"
#include "linux/routing/filter/handle.hpp"
#include "linux/routing/filter/priority.hpp"
#include "linux/routing/link/internal.hpp"

Go to the source code of this file.

Namespaces

 routing
 
 routing::filter
 
 routing::filter::internal
 

Functions

template<>
void routing::cleanup (struct rtnl_cls *cls)
 
template<>
void routing::cleanup (struct rtnl_act *act)
 
template<typename Classifier >
Try< Nothingrouting::filter::internal::encode (const Netlink< struct rtnl_cls > &cls, const Classifier &classifier)
 
template<typename Classifier >
Result< Classifier > routing::filter::internal::decode (const Netlink< struct rtnl_cls > &cls)
 
Try< Nothingrouting::filter::internal::attach (const Netlink< struct rtnl_cls > &cls, const action::Redirect &redirect)
 
Try< Nothingrouting::filter::internal::attach (const Netlink< struct rtnl_cls > &cls, const action::Mirror &mirror)
 
Try< Nothingrouting::filter::internal::attach (const Netlink< struct rtnl_cls > &cls, const action::Terminal &terminal)
 
Try< Nothingrouting::filter::internal::attach (const Netlink< struct rtnl_cls > &cls, const process::Shared< action::Action > &action)
 
template<typename Classifier >
Result< U32Handle > routing::filter::internal::generateU32Handle (const Netlink< struct rtnl_link > &link, const Filter< Classifier > &filter)
 
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 >
Result< Filter< Classifier > > routing::filter::internal::decodeFilter (const Netlink< struct rtnl_cls > &cls)
 
Try< std::vector< Netlink< struct rtnl_cls > > > routing::filter::internal::getClses (const Netlink< struct rtnl_link > &link, const Handle &parent)
 
template<typename Classifier >
Result< Netlink< struct rtnl_cls > > routing::filter::internal::getCls (const Netlink< struct rtnl_link > &link, const Handle &parent, const Classifier &classifier)
 
template<typename Classifier >
Try< bool > routing::filter::internal::exists (const std::string &_link, const Handle &parent, const Classifier &classifier)
 
template<typename Classifier >
Try< bool > routing::filter::internal::create (const std::string &_link, const Filter< Classifier > &filter)
 
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)
 
template<typename Classifier >
Result< std::vector< Filter< Classifier > > > routing::filter::internal::filters (const std::string &_link, const Handle &parent)
 
template<typename Classifier >
Result< std::vector< Classifier > > routing::filter::internal::classifiers (const std::string &link, const Handle &parent)