crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
60d3ba3b
ROOT
/
experimental
/
trackerconn
/
packet_conn.go
Search
History
78 lines
|
ISO-8859-1
|
1 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
NewPacket
(conn N.PacketConn, readCounter []*atomic.Int64, writeCounter []*atomic.Int64)
:
*PacketConn
NewHookPacket
(conn N.PacketConn, readCounter func(n int64), writeCounter func(n int64))
:
*HookPacketConn
PacketConn
N.PacketConn
readCounter
:
[]*atomic.Int64
writeCounter
:
[]*atomic.Int64
HookPacketConn
N.PacketConn
readCounter
:
func(n int64)
writeCounter
:
func(n int64)
*PacketConn
ReadPacket
(buffer *buf.Buffer)
:
(destination M.Socksaddr, err error)
WritePacket
(buffer *buf.Buffer, destination M.Socksaddr)
:
error
Upstream
()
:
any
*HookPacketConn
ReadPacket
(buffer *buf.Buffer)
:
(destination M.Socksaddr, err error)
WritePacket
(buffer *buf.Buffer, destination M.Socksaddr)
:
error
Upstream
()
:
any
All occurrences
Please wait...
Page is in error, reload to recover