chorus

package
v0.0.0-...-96e3f98 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateUDPRequestPacket

func GenerateUDPRequestPacket(srcVIPv4, dstVIPv4 net.IP, chorusPort golayers.UDPPort) ([]byte, error)

GenerateUDPRequestPacket generates udp request packet.

func GetChorusNetworkInfo

func GetChorusNetworkInfo() (net.IP, int)

GetChorusNetworkInfo returns the Peer's TUN interface information.

func HandlePacket

func HandlePacket(localVIP, remoteVIP net.IP, appPort int)

HandlePacket handles chorus packets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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