mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
12 lines
291 B
Go
12 lines
291 B
Go
package manager
|
|
|
|
import "net/netip"
|
|
|
|
// Manager is used to load multiple eBPF programs. E.g., current DNS programs and WireGuard proxy
|
|
type Manager interface {
|
|
LoadDNSFwd(ip netip.Addr, dnsPort int) error
|
|
FreeDNSFwd() error
|
|
LoadWgProxy(proxyPort, wgPort int) error
|
|
FreeWGProxy() error
|
|
}
|