Android-cuttlefish cvd tool
Namespaces | Functions
alloc_iproute2.cpp File Reference
#include <string>
#include <string_view>
#include "absl/strings/str_cat.h"
#include "allocd/alloc_driver.h"
#include "cuttlefish/process/execute.h"
#include "cuttlefish/result/result.h"
Include dependency graph for alloc_iproute2.cpp:

Namespaces

namespace  cuttlefish
 

Functions

Result< void > cuttlefish::AddTapIface (std::string_view name)
 
Result< void > cuttlefish::ShutdownIface (std::string_view name)
 
Result< void > cuttlefish::BringUpIface (std::string_view name)
 
Result< void > cuttlefish::AddGateway (std::string_view name, std::string_view gateway, std::string_view netmask)
 
Result< void > cuttlefish::DestroyGateway (std::string_view name, std::string_view gateway, std::string_view netmask)
 
Result< void > cuttlefish::LinkTapToBridge (std::string_view tap_name, std::string_view bridge_name)
 
Result< void > cuttlefish::DeleteIface (std::string_view name)
 
Result< bool > cuttlefish::BridgeExists (std::string_view name)
 
Result< bool > cuttlefish::BridgeInUse (std::string_view name)
 
Result< void > cuttlefish::CreateBridge (std::string_view name)
 
Result< void > cuttlefish::IptableConfig (std::string_view iptables_path, std::string_view network, bool add)