crash.software
Projects
Pull Requests
Issues
Builds
dnstt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dnstt
Files
🤬
Sign In
d743218b
ROOT
/
turbotunnel
/
queuepacketconn.go
Search
History
163 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
taggedPacket
P
:
[]byte
Addr
:
net.Addr
QueuePacketConn
remotes
:
*RemoteMap
localAddr
:
net.Addr
recvQueue
:
chan taggedPacket
closeOnce
:
sync.Once
closed
:
chan struct{}
err
:
atomic.Value
NewQueuePacketConn
(localAddr net.Addr, timeout time.Duration)
:
*QueuePacketConn
*QueuePacketConn
QueueIncoming
(p []byte, addr net.Addr)
OutgoingQueue
(addr net.Addr)
:
<-chan []byte
Stash
(p []byte, addr net.Addr)
:
bool
Unstash
(addr net.Addr)
:
<-chan []byte
ReadFrom
(p []byte)
:
(int, net.Addr, error)
WriteTo
(p []byte, addr net.Addr)
:
(int, error)
closeWithError
(err error)
:
error
Close
()
:
error
LocalAddr
()
:
net.Addr
SetDeadline
(t time.Time)
:
error
SetReadDeadline
(t time.Time)
:
error
SetWriteDeadline
(t time.Time)
:
error
All occurrences
Please wait...
Page is in error, reload to recover