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
b6dbb69f
ROOT
/
inbound
/
default.go
Search
History
173 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
adapter.Inbound
myInboundAdapter
protocol
:
string
network
:
[]string
ctx
:
context.Context
router
:
adapter.Router
logger
:
log.ContextLogger
tag
:
string
listenOptions
:
option.ListenOptions
connHandler
:
adapter.ConnectionHandler
packetHandler
:
adapter.PacketHandler
oobPacketHandler
:
adapter.OOBPacketHandler
packetUpstream
:
any
setSystemProxy
:
bool
clearSystemProxy
:
func() error
tcpListener
:
net.Listener
udpConn
:
*net.UDPConn
udpAddr
:
M.Socksaddr
packetOutboundClosed
:
chan struct{}
packetOutbound
:
chan *myInboundPacket
inShutdown
:
atomic.Bool
NewError
(logger log.ContextLogger, ctx context.Context, err error)
*myInboundAdapter
Type
()
:
string
Tag
()
:
string
Network
()
:
[]string
Start
()
:
error
Close
()
:
error
upstreamHandler
(metadata adapter.InboundContext)
:
adapter.UpstreamHandlerAdapter
upstreamContextHandler
()
:
adapter.UpstreamHandlerAdapter
newConnection
(ctx context.Context, conn net.Conn, metadata adapter.InboundContext)
:
error
streamPacketConnection
(ctx context.Context, conn N.PacketConn, metadata adapter.InboundContext)
:
error
newPacketConnection
(ctx context.Context, conn N.PacketConn, metadata adapter.InboundContext)
:
error
createMetadata
(conn net.Conn, metadata adapter.InboundContext)
:
adapter.InboundContext
newError
(err error)
NewError
(ctx context.Context, err error)
All occurrences
Please wait...
Page is in error, reload to recover