Documentation ¶
Overview ¶
Package nordlynx provides nordlynx vpn technology.
Index ¶
- Constants
- func SetMTU(iface net.Interface) error
- type KernelSpace
- func (k *KernelSpace) GetConnectionParameters() (vpn.ServerData, bool)
- func (k *KernelSpace) IsActive() bool
- func (k *KernelSpace) NetworkChanged() error
- func (k *KernelSpace) Start(_ context.Context, creds vpn.Credentials, serverData vpn.ServerData) (err error)
- func (k *KernelSpace) State() vpn.State
- func (k *KernelSpace) Stop() error
- func (k *KernelSpace) Tun() tunnel.T
- type UserSpace
Constants ¶
View Source
const (
// InterfaceName for various NordLynx implementations
InterfaceName = "nordlynx"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KernelSpace ¶
func NewKernelSpace ¶
func NewKernelSpace(fwmark uint32, eventsPublisher *vpn.Events) *KernelSpace
func (*KernelSpace) GetConnectionParameters ¶
func (k *KernelSpace) GetConnectionParameters() (vpn.ServerData, bool)
func (*KernelSpace) IsActive ¶
func (k *KernelSpace) IsActive() bool
func (*KernelSpace) NetworkChanged ¶
func (k *KernelSpace) NetworkChanged() error
func (*KernelSpace) Start ¶
func (k *KernelSpace) Start( _ context.Context, creds vpn.Credentials, serverData vpn.ServerData, ) (err error)
func (*KernelSpace) State ¶
func (k *KernelSpace) State() vpn.State
func (*KernelSpace) Tun ¶
func (k *KernelSpace) Tun() tunnel.T
type UserSpace ¶
func NewUserSpace ¶
func (*UserSpace) Start ¶
func (u *UserSpace) Start( _ context.Context, creds vpn.Credentials, serverData vpn.ServerData, ) error
Click to show internal directories.
Click to hide internal directories.