MCPcopy Create free account

hub / github.com/ClashDotNetFramework/experimental-clash / functions

Functions1,333 in github.com/ClashDotNetFramework/experimental-clash

↓ 2 callersFunctionTCPIn
TCPIn return fan-in queue
tunnel/tunnel.go:45
↓ 2 callersFunctionUDPIn
UDPIn return fan-in udp queue
tunnel/tunnel.go:50
↓ 2 callersFunctionUDPReuseaddr
(c *net.UDPConn)
common/sockopt/reuseaddr_other.go:10
↓ 2 callersMethodURLTest
(ctx context.Context, url string)
constant/adapters.go:114
↓ 2 callersMethodUnwrap
Unwrap implements C.ProxyAdapter
adapter/outboundgroup/loadbalance.go:137
↓ 2 callersMethodValid
()
constant/metadata.go:112
↓ 2 callersMethodWait
Wait blocks until all function calls from the Go method have returned, then returns the first nil error result (if any) from them.
common/picker/picker.go:46
↓ 2 callersFunctionWithAge
WithAge defined element max age (millisecond)
component/pool/pool.go:26
↓ 2 callersFunctionWithConcurrencyNum
(n int)
common/batch/batch.go:20
↓ 2 callersFunctionWithIPCIDRNoResolve
(noResolve bool)
rule/ipcidr.go:17
↓ 2 callersFunctionWithSize
WithSize defined max size of Pool
component/pool/pool.go:33
↓ 2 callersFunctionWithTimeout
WithTimeout returns a new Picker and an associated Context derived from ctx with timeout.
common/picker/picker.go:39
↓ 2 callersMethodWrite
(p []byte)
common/murmur3/murmur.go:19
↓ 2 callersFunctionWriteHeader
(conn net.Conn, host string, port uint, version int)
transport/snell/snell.go:78
↓ 2 callersFunctionbindControl
(ifaceName string, chain controlFn)
component/dialer/bind_linux.go:12
↓ 2 callersFunctionbindControl
(ifaceIdx int, chain controlFn)
component/dialer/bind_darwin.go:14
↓ 2 callersFunctionbindMarkToControl
(mark int, chain controlFn)
component/dialer/mark_linux.go:19
↓ 2 callersMethodbmix
(p []byte)
common/murmur3/murmur.go:4
↓ 2 callersFunctioncheckAndConverterIp
return net.IP To4 or To16 and is ipv4
component/trie/ipcidr_trie.go:244
↓ 2 callersFunctioncleanChild
(node *IpCidrNode)
component/trie/ipcidr_trie.go:216
↓ 2 callersMethodclose
()
adapter/provider/healthcheck.go:75
↓ 2 callersMethoddecodeStruct
(name string, data interface{}, val reflect.Value)
common/structure/structure.go:248
↓ 2 callersFunctiondialContext
(ctx context.Context, network string, destination net.IP, port string, options []Option)
component/dialer/dialer.go:69
↓ 2 callersFunctiondownloadMMDB
(path string)
config/initial.go:14
↓ 2 callersMethodestablishConn
()
transport/vmess/h2.go:26
↓ 2 callersMethodexchangeWithoutCache
ExchangeWithoutCache a batch of dns request, and it do NOT GET from cache
dns/resolver.go:116
↓ 2 callersMethodget
(key interface{})
common/cache/lrucache.go:166
↓ 2 callersMethodgetRandDataLength
(size int)
transport/ssr/protocol/auth_sha1_v4.go:174
↓ 2 callersFunctiongetRandStartPos
(length int, random *tools.XorShift128Plus)
transport/ssr/protocol/auth_chain_a.go:277
↓ 2 callersFunctionhandleMsgWithEmptyAnswer
(r *D.Msg)
dns/util.go:153
↓ 2 callersMethodinitUserData
()
transport/ssr/protocol/auth_chain_a.go:57
↓ 2 callersMethodinitUserData
()
transport/ssr/protocol/auth_aes128_sha1.go:55
↓ 2 callersFunctionisReservedIP
For version 4A, if the client cannot resolve the destination host's domain name to find its IP address, it should set the first three bytes of DSTIP t
transport/socks4/socks4.go:201
↓ 2 callersFunctionlookupLocalAddr
(ifaceName string, network string, destination net.IP, port int)
component/dialer/bind_others.go:14
↓ 2 callersMethodmatchPolicy
(m *D.Msg)
dns/resolver.go:179
↓ 2 callersMethodmaybeDeleteOldest
()
common/cache/lrucache.go:201
↓ 2 callersMethodmsgToDomain
(msg *D.Msg)
dns/resolver.go:286
↓ 2 callersFunctionmsgToIP
(msg *D.Msg)
dns/util.go:164
↓ 2 callersFunctionnewAEADReader
(r io.Reader, aead cipher.AEAD, iv []byte)
transport/vmess/aead.go:74
↓ 2 callersFunctionnewAEADWriter
(w io.Writer, aead cipher.AEAD, iv []byte)
transport/vmess/aead.go:23
↓ 2 callersFunctionnewHandler
(resolver *Resolver, mapper *ResolverEnhancer)
dns/middleware.go:174
↓ 2 callersFunctionnewLargeDataPair
()
test/clash_test.go:178
↓ 2 callersFunctionnewNode
(data interface{})
component/trie/node.go:21
↓ 2 callersFunctionnewPicker
(ctx context.Context, cancel func())
common/picker/picker.go:24
↓ 2 callersMethodopenSession
()
dns/quic.go:116
↓ 2 callersMethodpackData
(poolBuf *bytes.Buffer, data []byte)
transport/ssr/protocol/auth_sha1_v4.go:107
↓ 2 callersMethodpackData
(poolBuf *bytes.Buffer, data []byte, fullDataLength int)
transport/ssr/protocol/auth_aes128_sha1.go:170
↓ 2 callersMethodpackRandData
(poolBuf *bytes.Buffer, size int)
transport/ssr/protocol/auth_sha1_v4.go:163
↓ 2 callersMethodpickIPAddr
(destination net.IP, accept func(addr *net.IPNet) bool)
component/iface/iface.go:89
↓ 2 callersMethodplainStream
(c net.Conn)
adapter/outbound/trojan.go:45
↓ 2 callersFunctionpreHandleMetadata
(metadata *C.Metadata)
tunnel/tunnel.go:127
↓ 2 callersFunctionprintMarkWarn
()
component/dialer/mark_nonlinux.go:15
↓ 2 callersMethodprocess
()
adapter/provider/healthcheck.go:31
↓ 2 callersMethodproxies
(touch bool)
adapter/outboundgroup/loadbalance.go:142
↓ 2 callersMethodproxies
(touch bool)
adapter/outboundgroup/fallback.go:75
↓ 2 callersMethodproxies
(touch bool)
adapter/outboundgroup/urltest.go:60
↓ 2 callersMethodputEncryptedData
(b *bytes.Buffer, userKey []byte, paddings [2]int, salt string)
transport/ssr/protocol/base.go:56
↓ 2 callersMethodrawProxies
(touch bool)
adapter/outboundgroup/relay.go:81
↓ 2 callersMethodread
(b []byte, discardN int)
transport/simple-obfs/tls.go:31
↓ 2 callersFunctionreadUntilNull
(r io.Reader)
transport/socks4/socks4.go:210
↓ 2 callersFunctionremoveHopByHopHeaders
removeHopByHopHeaders remove hop-by-hop header
listener/http/utils.go:12
↓ 2 callersFunctionresolveMetadata
(ctx C.PlainContext, metadata *C.Metadata)
tunnel/tunnel.go:159
↓ 2 callersFunctionsafeWrite
(path string, buf []byte)
rule/provider/fetcher.go:147
↓ 2 callersFunctionsafeWrite
(path string, buf []byte)
adapter/provider/fetcher.go:158
↓ 2 callersFunctionsetsockopt
(rc syscall.RawConn, addr string)
listener/tproxy/setsockopt_other.go:11
↓ 2 callersFunctionsnellKDF
(psk, salt []byte, keySize int)
transport/snell/cipher.go:28
↓ 2 callersFunctionstreamConn
(c net.Conn, option streamOption)
adapter/outbound/snell.go:41
↓ 2 callersFunctionstreamWebsocketConn
(conn net.Conn, c *WebsocketConfig, earlyData *bytes.Buffer)
transport/vmess/websocket.go:243
↓ 2 callersMethodtouch
()
adapter/provider/healthcheck.go:57
↓ 2 callersFunctiontrapezoidRandom
(max int, d float64)
transport/ssr/protocol/auth_aes128_sha1.go:197
↓ 2 callersFunctionudpAddrToSockAddr
(addr *net.UDPAddr)
listener/tproxy/udp_linux.go:71
↓ 2 callersFunctionudpGetRandLength
(lastHash []byte, random *tools.XorShift128Plus)
transport/ssr/protocol/auth_chain_a.go:307
↓ 2 callersFunctionwritePacket
(w io.Writer, socks5Addr, payload []byte)
transport/trojan/trojan.go:122
↓ 2 callersMethodwritePacket
(b []byte, addr net.Addr)
adapter/outbound/vless.go:228
↓ 1 callersMethodAddIpCidr
(ipCidr *net.IPNet)
component/trie/ipcidr_trie.go:28
↓ 1 callersMethodBehavior
()
rule/provider/provider.go:63
↓ 1 callersMethodClose
()
transport/gun/gun.go:142
↓ 1 callersMethodClose
()
transport/vmess/websocket.go:187
↓ 1 callersMethodCreate
()
transport/vmess/header.go:44
↓ 1 callersMethodData
Data get the payload of UDP Packet
constant/adapters.go:171
↓ 1 callersMethodDecodePacket
([]byte)
transport/ssr/protocol/protocol.go:27
↓ 1 callersMethodDelByIP
(ip net.IP)
component/fakeip/pool.go:18
↓ 1 callersMethodDelFakeipPair
(ip, host []byte)
component/profile/cachefile/cache.go:93
↓ 1 callersMethodDelayHistory
DelayHistory implements C.Proxy
adapter/adapter.go:59
↓ 1 callersMethodDestroy
()
rule/provider/fetcher.go:124
↓ 1 callersMethodDestroy
()
adapter/provider/fetcher.go:125
↓ 1 callersMethodDial
(earlyData []byte)
transport/vmess/websocket.go:132
↓ 1 callersMethodDrop
Drop call after packet is used, could recycle buffer in this function.
constant/adapters.go:180
↓ 1 callersMethodEmit
(item interface{})
common/observable/subscriber.go:14
↓ 1 callersMethodEncodePacket
(buf *bytes.Buffer, b []byte)
transport/ssr/protocol/protocol.go:28
↓ 1 callersMethodExchange
Exchange a batch of dns request, and it use cache
dns/resolver.go:89
↓ 1 callersMethodExchangeContext
(ctx context.Context, m *D.Msg)
dns/dhcp.go:43
↓ 1 callersMethodExchangeContext
(ctx context.Context, m *D.Msg)
dns/doh.go:30
↓ 1 callersMethodExchangeContext
(ctx context.Context, m *D.Msg)
dns/quic.go:30
↓ 1 callersMethodExchangeContext
(ctx context.Context, m *D.Msg)
dns/resolver.go:24
↓ 1 callersMethodExchangeContext
(ctx context.Context, m *D.Msg)
dns/client.go:28
↓ 1 callersFunctionFakeIPEnabled
()
component/resolver/enhancer.go:17
↓ 1 callersMethodFakeIPEnabled
()
component/resolver/enhancer.go:10
↓ 1 callersFunctionFindHostByIP
(ip net.IP)
component/resolver/enhancer.go:49
↓ 1 callersMethodFindHostByIP
(net.IP)
component/resolver/enhancer.go:14
← previousnext →301–400 of 1,333, ranked by callers