udpconn2tun

package
v0.0.0-...-632c06c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UDPConn2Tun

type UDPConn2Tun struct {
	LocalTxToTun   chan interfaces.UDPPacket
	LocalRxFromTun chan interfaces.UDPPacket
	// contains filtered or unexported fields
}

func NewUDPConn2Tun

func NewUDPConn2Tun(LocalTxToTun chan interfaces.UDPPacket, LocalRxFromTun chan interfaces.UDPPacket) *UDPConn2Tun

func (*UDPConn2Tun) DialUDP

func (u *UDPConn2Tun) DialUDP(ouraddr net.UDPAddr) net.PacketConn

func (*UDPConn2Tun) RxLoop

func (u *UDPConn2Tun) RxLoop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL