Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HookMatches ¶ added in v0.68.2
HookMatches checks if a packet's destination matches the hook and invokes it.
Types ¶
type IFaceMapper ¶
type IFaceMapper interface {
SetFilter(device.PacketFilter) error
Address() wgaddr.Address
GetWGDevice() *wgdevice.Device
GetDevice() *device.FilteredDevice
}
IFaceMapper defines subset methods of interface required for manager
Click to show internal directories.
Click to hide internal directories.