Apache Mesos
|
#include <stdint.h>
#include <string>
#include <process/future.hpp>
#include <stout/hashmap.hpp>
#include <stout/mac.hpp>
#include <stout/nothing.hpp>
#include <stout/option.hpp>
#include <stout/result.hpp>
#include <stout/try.hpp>
Go to the source code of this file.
Namespaces | |
routing | |
routing::link | |
Functions | |
Result< std::string > | routing::link::eth0 () |
Result< std::string > | routing::link::lo () |
Try< bool > | routing::link::exists (const std::string &link) |
Try< bool > | routing::link::remove (const std::string &link) |
process::Future< Nothing > | routing::link::removed (const std::string &link) |
Result< int > | routing::link::index (const std::string &link) |
Result< std::string > | routing::link::name (int index) |
Result< bool > | routing::link::isUp (const std::string &link) |
Try< bool > | routing::link::setUp (const std::string &link) |
Try< bool > | routing::link::setMAC (const std::string &link, const net::MAC &mac) |
Result< unsigned int > | routing::link::mtu (const std::string &link) |
Try< bool > | routing::link::setMTU (const std::string &link, unsigned int mtu) |
Result< hashmap< std::string, uint64_t > > | routing::link::statistics (const std::string &link) |