crash.software
Projects
Pull Requests
Issues
Builds
tun2socks
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
tun2socks
Files
🤬
Sign In
cd6b118e
ROOT
/
core
/
device
/
iobased
/
endpoint.go
Search
History
154 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
defaultOutQueueLen
Endpoint
channel.Endpoint
rw
:
io.ReadWriter
mtu
:
uint32
offset
:
int
once
:
sync.Once
wg
:
sync.WaitGroup
New
(rw io.ReadWriter, mtu uint32, offset int)
:
(*Endpoint, error)
*Endpoint
Attach
(dispatcher stack.NetworkDispatcher)
Wait
()
dispatchLoop
(cancel context.CancelFunc)
outboundLoop
(ctx context.Context)
writePacket
(pkt stack.PacketBufferPtr)
:
tcpip.Error
All occurrences
Please wait...
Page is in error, reload to recover