28 std::string_view netmask);
30 std::string_view netmask);
32 std::string_view bridge_name);
39 std::string_view network,
bool add);
char * name
Definition: libf2fs.c:1403
Definition: alloc_driver.h:20
Result< void > ShutdownIface(std::string_view name)
Definition: alloc_iproute2.cpp:34
Result< void > AddGateway(std::string_view name, std::string_view gateway, std::string_view netmask)
Definition: alloc_iproute2.cpp:47
Result< void > LinkTapToBridge(std::string_view tap_name, std::string_view bridge_name)
Definition: alloc_iproute2.cpp:65
Result< bool > BridgeInUse(std::string_view name)
Definition: alloc_iproute2.cpp:83
Result< void > DestroyGateway(std::string_view name, std::string_view gateway, std::string_view netmask)
Definition: alloc_iproute2.cpp:56
Result< void > CreateBridge(std::string_view name)
Definition: alloc_iproute2.cpp:89
constexpr char kCvdNetworkGroupName[]
Definition: alloc_driver.h:22
Result< void > DeleteIface(std::string_view name)
Definition: alloc_iproute2.cpp:73
Result< bool > BridgeExists(std::string_view name)
Definition: alloc_iproute2.cpp:79
Result< void > BringUpIface(std::string_view name)
Definition: alloc_iproute2.cpp:41
Result< void > AddTapIface(std::string_view name)
Definition: alloc_iproute2.cpp:27
tl::expected< T, StackTraceError > Result
Definition: result_type.h:30
Result< void > IptableConfig(std::string_view iptables_path, std::string_view network, bool add)
Definition: alloc_iproute2.cpp:96
BinOp< T1, T2, Numeric, Add > add
Definition: utils.h:264