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
2d1a82ee
ROOT
/
transport
/
wireguard
/
server_bind.go
Search
History
96 lines
|
ISO-8859-1
|
1 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
conn.Bind
ServerBind
inbound
:
chan serverPacket
done
:
chan struct{}
writeBack
:
N.PacketWriter
NewServerBind
(writeBack N.PacketWriter)
:
*ServerBind
serverPacket
buffer
:
*buf.Buffer
source
:
M.Socksaddr
*ServerBind
Abort
()
:
error
Open
(port uint16)
:
(fns []conn.ReceiveFunc, actualPort uint16, err error)
receive
(b []byte)
:
(n int, ep conn.Endpoint, err error)
WriteIsThreadUnsafe
()
WritePacket
(buffer *buf.Buffer, destination M.Socksaddr)
:
error
Close
()
:
error
SetMark
(mark uint32)
:
error
Send
(b []byte, ep conn.Endpoint)
:
error
ParseEndpoint
(addr string)
:
(conn.Endpoint, error)
All occurrences
Please wait...
Page is in error, reload to recover