Apache Mesos
Namespaces | Functions
internal.hpp File Reference
#include <netlink/cache.h>
#include <netlink/errno.h>
#include <netlink/object.h>
#include <netlink/socket.h>
#include <netlink/route/link.h>
#include <netlink/route/qdisc.h>
#include <netlink/route/tc.h>
#include <string>
#include <vector>
#include <stout/error.hpp>
#include <stout/foreach.hpp>
#include <stout/none.hpp>
#include <stout/nothing.hpp>
#include <stout/result.hpp>
#include <stout/try.hpp>
#include "linux/routing/handle.hpp"
#include "linux/routing/internal.hpp"
#include "linux/routing/link/internal.hpp"
#include "linux/routing/queueing/discipline.hpp"
#include "linux/routing/queueing/statistics.hpp"

Go to the source code of this file.

Namespaces

 routing
 
 routing::queueing
 
 routing::queueing::internal
 

Functions

template<>
void routing::cleanup (struct rtnl_qdisc *qdisc)
 
template<typename Config >
Try< Nothingrouting::queueing::internal::encode (const Netlink< struct rtnl_qdisc > &qdisc, const Config &config)
 
template<typename Config >
Result< Config > routing::queueing::internal::decode (const Netlink< struct rtnl_qdisc > &qdisc)
 
template<typename Config >
Try< Netlink< struct rtnl_qdisc > > routing::queueing::internal::encodeDiscipline (const Netlink< struct rtnl_link > &link, const Discipline< Config > &discipline)
 
Try< std::vector< Netlink< struct rtnl_qdisc > > > routing::queueing::internal::getQdiscs (const Netlink< struct rtnl_link > &link)
 
Result< Netlink< struct rtnl_qdisc > > routing::queueing::internal::getQdisc (const Netlink< struct rtnl_link > &link, const Handle &parent, const std::string &kind)
 
Try< bool > routing::queueing::internal::exists (const std::string &_link, const Handle &parent, const std::string &kind)
 
template<typename Config >
Try< bool > routing::queueing::internal::create (const std::string &_link, const Discipline< Config > &discipline)
 
Try< bool > routing::queueing::internal::remove (const std::string &_link, const Handle &parent, const std::string &kind)
 
Result< hashmap< std::string, uint64_t > > routing::queueing::internal::statistics (const std::string &_link, const Handle &parent, const std::string &kind)