Documentation
¶
Index ¶
- func CopyConn(ctx context.Context, source net.Conn, destination net.Conn) error
- func ListenPacketSerial(ctx context.Context, dialer dialer.Dialer, destination []netip.Addr, ...) (net.PacketConn, error)
- func PutPacket(p UDPPacket)
- type BidNatPacketConn
- type BindPacketWriter
- type PacketWriter
- type UDPPacket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenPacketSerial ¶
Types ¶
type BidNatPacketConn ¶
type BidNatPacketConn struct {
net.PacketConn
// contains filtered or unexported fields
}
func NewBidirectionalNatConn ¶
func NewBidirectionalNatConn(conn net.PacketConn, destination addrs.Socksaddr, source addrs.Socksaddr) *BidNatPacketConn
type BindPacketWriter ¶ added in v0.0.4
type BindPacketWriter struct {
PacketWriter
Destination net.Addr
}
type PacketWriter ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.