1
0
mirror of https://github.com/netbirdio/netbird.git synced 2025-03-07 11:21:21 +01:00
netbird/client/firewall/iface.go
Zoltan Papp fd67892cb4
[client] Refactor/iface pkg ()
Refactor the flat code structure
2024-10-02 18:24:22 +02:00

14 lines
290 B
Go

package firewall
import (
"github.com/netbirdio/netbird/client/iface/device"
)
// IFaceMapper defines subset methods of interface required for manager
type IFaceMapper interface {
Name() string
Address() device.WGAddress
IsUserspaceBind() bool
SetFilter(device.PacketFilter) error
}