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
c69c188f
ROOT
/
common
/
dialer
/
resolve_conn.go
Search
History
85 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
NewResolvePacketConn
(ctx context.Context, router adapter.Router, strategy dns.DomainStrategy, conn net.PacketConn)
:
N.NetPacketConn
ResolveUDPConn
net.UDPConn
ctx
:
context.Context
router
:
adapter.Router
strategy
:
dns.DomainStrategy
ResolvePacketConn
net.PacketConn
ctx
:
context.Context
router
:
adapter.Router
strategy
:
dns.DomainStrategy
*ResolveUDPConn
ReadPacket
(buffer *buf.Buffer)
:
(M.Socksaddr, error)
WritePacket
(buffer *buf.Buffer, destination M.Socksaddr)
:
error
Upstream
()
:
any
*ResolvePacketConn
ReadPacket
(buffer *buf.Buffer)
:
(M.Socksaddr, error)
WritePacket
(buffer *buf.Buffer, destination M.Socksaddr)
:
error
Upstream
()
:
any
All occurrences
Please wait...
Page is in error, reload to recover