Apache Mesos
Namespaces | Functions
internal.hpp File Reference
#include <errno.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <linux/if.h>
#include <netlink/cache.h>
#include <netlink/errno.h>
#include <netlink/socket.h>
#include <netlink/route/link.h>
#include <string>
#include <stout/error.hpp>
#include <stout/none.hpp>
#include <stout/os.hpp>
#include <stout/result.hpp>
#include <stout/try.hpp>
#include "linux/routing/internal.hpp"

Go to the source code of this file.

Namespaces

 routing
 
 
 

Functions

template<>
void routing::cleanup (struct rtnl_link *link)
 
Result< Netlink< struct rtnl_link > > routing::link::internal::get (const std::string &link)
 
Result< Netlink< struct rtnl_link > > routing::link::internal::get (int index)
 
Result< bool > routing::link::internal::test (const std::string &_link, unsigned int flags)
 
Try< bool > routing::link::internal::set (const std::string &_link, unsigned int flags)