Make MTU configurable for Netlink (#204)

Here we add the implementation to make MTU value configurable instead of
hardcoding in `linkSet`.
This commit is contained in:
Raj
2025-07-08 15:54:57 -07:00
committed by GitHub
parent d16893d7b9
commit ad219fecf1
8 changed files with 231 additions and 111 deletions
@@ -53,7 +53,7 @@ public protocol VirtualMachineAgent: Sendable {
func deleteProcess(id: String, containerID: String?) async throws
// Networking
func up(name: String) async throws
func up(name: String, mtu: UInt32?) async throws
func down(name: String) async throws
func addressAdd(name: String, address: String) async throws
func routeAddDefault(name: String, gateway: String) async throws