Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ClashDotNetFramework/experimental-clash
/ functions
Functions
1,333 in github.com/ClashDotNetFramework/experimental-clash
⨍
Functions
1,333
◇
Types & classes
299
↓ 2 callers
Function
TCPIn
TCPIn return fan-in queue
tunnel/tunnel.go:45
↓ 2 callers
Function
UDPIn
UDPIn return fan-in udp queue
tunnel/tunnel.go:50
↓ 2 callers
Function
UDPReuseaddr
(c *net.UDPConn)
common/sockopt/reuseaddr_other.go:10
↓ 2 callers
Method
URLTest
(ctx context.Context, url string)
constant/adapters.go:114
↓ 2 callers
Method
Unwrap
Unwrap implements C.ProxyAdapter
adapter/outboundgroup/loadbalance.go:137
↓ 2 callers
Method
Valid
()
constant/metadata.go:112
↓ 2 callers
Method
Wait
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 callers
Function
WithAge
WithAge defined element max age (millisecond)
component/pool/pool.go:26
↓ 2 callers
Function
WithConcurrencyNum
(n int)
common/batch/batch.go:20
↓ 2 callers
Function
WithIPCIDRNoResolve
(noResolve bool)
rule/ipcidr.go:17
↓ 2 callers
Function
WithSize
WithSize defined max size of Pool
component/pool/pool.go:33
↓ 2 callers
Function
WithTimeout
WithTimeout returns a new Picker and an associated Context derived from ctx with timeout.
common/picker/picker.go:39
↓ 2 callers
Method
Write
(p []byte)
common/murmur3/murmur.go:19
↓ 2 callers
Function
WriteHeader
(conn net.Conn, host string, port uint, version int)
transport/snell/snell.go:78
↓ 2 callers
Function
bindControl
(ifaceName string, chain controlFn)
component/dialer/bind_linux.go:12
↓ 2 callers
Function
bindControl
(ifaceIdx int, chain controlFn)
component/dialer/bind_darwin.go:14
↓ 2 callers
Function
bindMarkToControl
(mark int, chain controlFn)
component/dialer/mark_linux.go:19
↓ 2 callers
Method
bmix
(p []byte)
common/murmur3/murmur.go:4
↓ 2 callers
Function
checkAndConverterIp
return net.IP To4 or To16 and is ipv4
component/trie/ipcidr_trie.go:244
↓ 2 callers
Function
cleanChild
(node *IpCidrNode)
component/trie/ipcidr_trie.go:216
↓ 2 callers
Method
close
()
adapter/provider/healthcheck.go:75
↓ 2 callers
Method
decodeStruct
(name string, data interface{}, val reflect.Value)
common/structure/structure.go:248
↓ 2 callers
Function
dialContext
(ctx context.Context, network string, destination net.IP, port string, options []Option)
component/dialer/dialer.go:69
↓ 2 callers
Function
downloadMMDB
(path string)
config/initial.go:14
↓ 2 callers
Method
establishConn
()
transport/vmess/h2.go:26
↓ 2 callers
Method
exchangeWithoutCache
ExchangeWithoutCache a batch of dns request, and it do NOT GET from cache
dns/resolver.go:116
↓ 2 callers
Method
get
(key interface{})
common/cache/lrucache.go:166
↓ 2 callers
Method
getRandDataLength
(size int)
transport/ssr/protocol/auth_sha1_v4.go:174
↓ 2 callers
Function
getRandStartPos
(length int, random *tools.XorShift128Plus)
transport/ssr/protocol/auth_chain_a.go:277
↓ 2 callers
Function
handleMsgWithEmptyAnswer
(r *D.Msg)
dns/util.go:153
↓ 2 callers
Method
initUserData
()
transport/ssr/protocol/auth_chain_a.go:57
↓ 2 callers
Method
initUserData
()
transport/ssr/protocol/auth_aes128_sha1.go:55
↓ 2 callers
Function
isReservedIP
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 callers
Function
lookupLocalAddr
(ifaceName string, network string, destination net.IP, port int)
component/dialer/bind_others.go:14
↓ 2 callers
Method
matchPolicy
(m *D.Msg)
dns/resolver.go:179
↓ 2 callers
Method
maybeDeleteOldest
()
common/cache/lrucache.go:201
↓ 2 callers
Method
msgToDomain
(msg *D.Msg)
dns/resolver.go:286
↓ 2 callers
Function
msgToIP
(msg *D.Msg)
dns/util.go:164
↓ 2 callers
Function
newAEADReader
(r io.Reader, aead cipher.AEAD, iv []byte)
transport/vmess/aead.go:74
↓ 2 callers
Function
newAEADWriter
(w io.Writer, aead cipher.AEAD, iv []byte)
transport/vmess/aead.go:23
↓ 2 callers
Function
newHandler
(resolver *Resolver, mapper *ResolverEnhancer)
dns/middleware.go:174
↓ 2 callers
Function
newLargeDataPair
()
test/clash_test.go:178
↓ 2 callers
Function
newNode
(data interface{})
component/trie/node.go:21
↓ 2 callers
Function
newPicker
(ctx context.Context, cancel func())
common/picker/picker.go:24
↓ 2 callers
Method
openSession
()
dns/quic.go:116
↓ 2 callers
Method
packData
(poolBuf *bytes.Buffer, data []byte)
transport/ssr/protocol/auth_sha1_v4.go:107
↓ 2 callers
Method
packData
(poolBuf *bytes.Buffer, data []byte, fullDataLength int)
transport/ssr/protocol/auth_aes128_sha1.go:170
↓ 2 callers
Method
packRandData
(poolBuf *bytes.Buffer, size int)
transport/ssr/protocol/auth_sha1_v4.go:163
↓ 2 callers
Method
pickIPAddr
(destination net.IP, accept func(addr *net.IPNet) bool)
component/iface/iface.go:89
↓ 2 callers
Method
plainStream
(c net.Conn)
adapter/outbound/trojan.go:45
↓ 2 callers
Function
preHandleMetadata
(metadata *C.Metadata)
tunnel/tunnel.go:127
↓ 2 callers
Function
printMarkWarn
()
component/dialer/mark_nonlinux.go:15
↓ 2 callers
Method
process
()
adapter/provider/healthcheck.go:31
↓ 2 callers
Method
proxies
(touch bool)
adapter/outboundgroup/loadbalance.go:142
↓ 2 callers
Method
proxies
(touch bool)
adapter/outboundgroup/fallback.go:75
↓ 2 callers
Method
proxies
(touch bool)
adapter/outboundgroup/urltest.go:60
↓ 2 callers
Method
putEncryptedData
(b *bytes.Buffer, userKey []byte, paddings [2]int, salt string)
transport/ssr/protocol/base.go:56
↓ 2 callers
Method
rawProxies
(touch bool)
adapter/outboundgroup/relay.go:81
↓ 2 callers
Method
read
(b []byte, discardN int)
transport/simple-obfs/tls.go:31
↓ 2 callers
Function
readUntilNull
(r io.Reader)
transport/socks4/socks4.go:210
↓ 2 callers
Function
removeHopByHopHeaders
removeHopByHopHeaders remove hop-by-hop header
listener/http/utils.go:12
↓ 2 callers
Function
resolveMetadata
(ctx C.PlainContext, metadata *C.Metadata)
tunnel/tunnel.go:159
↓ 2 callers
Function
safeWrite
(path string, buf []byte)
rule/provider/fetcher.go:147
↓ 2 callers
Function
safeWrite
(path string, buf []byte)
adapter/provider/fetcher.go:158
↓ 2 callers
Function
setsockopt
(rc syscall.RawConn, addr string)
listener/tproxy/setsockopt_other.go:11
↓ 2 callers
Function
snellKDF
(psk, salt []byte, keySize int)
transport/snell/cipher.go:28
↓ 2 callers
Function
streamConn
(c net.Conn, option streamOption)
adapter/outbound/snell.go:41
↓ 2 callers
Function
streamWebsocketConn
(conn net.Conn, c *WebsocketConfig, earlyData *bytes.Buffer)
transport/vmess/websocket.go:243
↓ 2 callers
Method
touch
()
adapter/provider/healthcheck.go:57
↓ 2 callers
Function
trapezoidRandom
(max int, d float64)
transport/ssr/protocol/auth_aes128_sha1.go:197
↓ 2 callers
Function
udpAddrToSockAddr
(addr *net.UDPAddr)
listener/tproxy/udp_linux.go:71
↓ 2 callers
Function
udpGetRandLength
(lastHash []byte, random *tools.XorShift128Plus)
transport/ssr/protocol/auth_chain_a.go:307
↓ 2 callers
Function
writePacket
(w io.Writer, socks5Addr, payload []byte)
transport/trojan/trojan.go:122
↓ 2 callers
Method
writePacket
(b []byte, addr net.Addr)
adapter/outbound/vless.go:228
↓ 1 callers
Method
AddIpCidr
(ipCidr *net.IPNet)
component/trie/ipcidr_trie.go:28
↓ 1 callers
Method
Behavior
()
rule/provider/provider.go:63
↓ 1 callers
Method
Close
()
transport/gun/gun.go:142
↓ 1 callers
Method
Close
()
transport/vmess/websocket.go:187
↓ 1 callers
Method
Create
()
transport/vmess/header.go:44
↓ 1 callers
Method
Data
Data get the payload of UDP Packet
constant/adapters.go:171
↓ 1 callers
Method
DecodePacket
([]byte)
transport/ssr/protocol/protocol.go:27
↓ 1 callers
Method
DelByIP
(ip net.IP)
component/fakeip/pool.go:18
↓ 1 callers
Method
DelFakeipPair
(ip, host []byte)
component/profile/cachefile/cache.go:93
↓ 1 callers
Method
DelayHistory
DelayHistory implements C.Proxy
adapter/adapter.go:59
↓ 1 callers
Method
Destroy
()
rule/provider/fetcher.go:124
↓ 1 callers
Method
Destroy
()
adapter/provider/fetcher.go:125
↓ 1 callers
Method
Dial
(earlyData []byte)
transport/vmess/websocket.go:132
↓ 1 callers
Method
Drop
Drop call after packet is used, could recycle buffer in this function.
constant/adapters.go:180
↓ 1 callers
Method
Emit
(item interface{})
common/observable/subscriber.go:14
↓ 1 callers
Method
EncodePacket
(buf *bytes.Buffer, b []byte)
transport/ssr/protocol/protocol.go:28
↓ 1 callers
Method
Exchange
Exchange a batch of dns request, and it use cache
dns/resolver.go:89
↓ 1 callers
Method
ExchangeContext
(ctx context.Context, m *D.Msg)
dns/dhcp.go:43
↓ 1 callers
Method
ExchangeContext
(ctx context.Context, m *D.Msg)
dns/doh.go:30
↓ 1 callers
Method
ExchangeContext
(ctx context.Context, m *D.Msg)
dns/quic.go:30
↓ 1 callers
Method
ExchangeContext
(ctx context.Context, m *D.Msg)
dns/resolver.go:24
↓ 1 callers
Method
ExchangeContext
(ctx context.Context, m *D.Msg)
dns/client.go:28
↓ 1 callers
Function
FakeIPEnabled
()
component/resolver/enhancer.go:17
↓ 1 callers
Method
FakeIPEnabled
()
component/resolver/enhancer.go:10
↓ 1 callers
Function
FindHostByIP
(ip net.IP)
component/resolver/enhancer.go:49
↓ 1 callers
Method
FindHostByIP
(net.IP)
component/resolver/enhancer.go:14
← previous
next →
301–400 of 1,333, ranked by callers