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
↓ 1 callers
Function
getProxies
(mapping map[string]C.Proxy, list []string)
adapter/outboundgroup/parser.go:132
↓ 1 callers
Method
getRandDataLengthForPackAuthData
(size int)
transport/ssr/protocol/auth_aes128_sha1.go:261
↓ 1 callers
Method
getRandDataLengthForPackData
(dataLength, fullDataLength int)
transport/ssr/protocol/auth_aes128_sha1.go:206
↓ 1 callers
Method
getReader
()
transport/vmess/websocket.go:96
↓ 1 callers
Method
getSession
getSession - opens or returns an existing quic.Session useCached - if true and cached session exists, return it right away otherwise - forcibly create
dns/quic.go:82
↓ 1 callers
Function
getTransportTable
(fn uintptr, family int, class int)
component/process/process_windows.go:174
↓ 1 callers
Function
getorigdst
Call getorigdst() from linux/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
listener/redir/tcp_linux.go:38
↓ 1 callers
Function
getorigdst
Call getorigdst() from linux/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
listener/redir/tcp_freebsd.go:38
↓ 1 callers
Method
handle
()
tunnel/statistic/manager.go:80
↓ 1 callers
Function
handleClassicalRules
(rules []string)
rule/provider/provider.go:246
↓ 1 callers
Function
handleConn
(conn net.Conn, in chan<- C.ConnContext, cache *cache.Cache)
listener/mixed/mixed.go:66
↓ 1 callers
Function
handleDomainRules
(rules []string)
rule/provider/provider.go:216
↓ 1 callers
Function
handleIpCidrRules
(rules []string)
rule/provider/provider.go:231
↓ 1 callers
Function
handlePacketConn
(pc net.PacketConn, in chan<- *inbound.PacketAdapter, buf []byte, lAddr *net.UDPAddr, rAddr *net.UDPAddr)
listener/tproxy/udp.go:81
↓ 1 callers
Function
handleRedir
(conn net.Conn, in chan<- C.ConnContext)
listener/redir/tcp.go:58
↓ 1 callers
Function
handleSocket
(ctx C.ConnContext, outbound net.Conn)
tunnel/connection.go:65
↓ 1 callers
Function
handleSocks
(conn net.Conn, in chan<- C.ConnContext)
listener/socks/tcp.go:63
↓ 1 callers
Function
handleSocksUDP
(pc net.PacketConn, in chan<- *inbound.PacketAdapter, buf []byte, addr net.Addr)
listener/socks/udp.go:68
↓ 1 callers
Function
handleTCPConn
(connCtx C.ConnContext)
tunnel/tunnel.go:261
↓ 1 callers
Method
handleTProxy
(conn net.Conn, in chan<- C.ConnContext)
listener/tproxy/tproxy.go:33
↓ 1 callers
Function
handleUDPConn
(packet *inbound.PacketAdapter)
tunnel/tunnel.go:172
↓ 1 callers
Function
handleUDPToLocal
(packet C.UDPPacket, pc net.PacketConn, key string, fAddr net.Addr)
tunnel/connection.go:41
↓ 1 callers
Function
handleUDPToRemote
(packet C.UDPPacket, pc C.PacketConn, metadata *C.Metadata)
tunnel/connection.go:15
↓ 1 callers
Function
handlerWithContext
(handler handler, msg *D.Msg)
dns/server.go:37
↓ 1 callers
Function
hashTimestamp
(t time.Time)
transport/vmess/conn.go:189
↓ 1 callers
Function
hexSha224
(data []byte)
transport/trojan/trojan.go:245
↓ 1 callers
Method
initDataSize
()
transport/ssr/protocol/auth_chain_b.go:50
↓ 1 callers
Function
initMMDB
()
config/initial.go:31
↓ 1 callers
Method
initRC4Cipher
()
transport/ssr/protocol/auth_chain_a.go:301
↓ 1 callers
Function
initSearcher
()
component/process/process_freebsd_amd64.go:214
↓ 1 callers
Function
initWin32API
()
component/process/process_windows.go:31
↓ 1 callers
Method
invalidate
()
dns/dhcp.go:118
↓ 1 callers
Function
ipCidrToSubIpCidr
(ipNet *net.IPNet)
component/trie/ipcidr_trie.go:78
↓ 1 callers
Method
ipExchange
(ctx context.Context, m *D.Msg)
dns/resolver.go:217
↓ 1 callers
Function
isActive
(s quic.Session)
dns/quic.go:70
↓ 1 callers
Function
isPid
(s string)
component/process/process_linux.go:233
↓ 1 callers
Function
jumpHash
(key uint64, buckets int32)
adapter/outboundgroup/loadbalance.go:60
↓ 1 callers
Function
makeClientHelloMsg
(data []byte, server string)
transport/simple-obfs/tls.go:125
↓ 1 callers
Function
match
(metadata *C.Metadata)
tunnel/tunnel.go:313
↓ 1 callers
Function
needLookupIP
(metadata *C.Metadata)
tunnel/tunnel.go:123
↓ 1 callers
Function
newAlterIDs
(primary *ID, alterIDCount uint16)
transport/vmess/user.go:45
↓ 1 callers
Function
newChunkReader
(reader io.Reader)
transport/vmess/chunk.go:24
↓ 1 callers
Function
newChunkWriter
(writer io.WriteCloser)
transport/vmess/chunk.go:28
↓ 1 callers
Function
newClient
(source net.Addr, in chan<- C.ConnContext)
listener/http/client.go:15
↓ 1 callers
Function
newConn
newConn return a Conn instance
transport/vless/conn.go:96
↓ 1 callers
Function
newConn
newConn return a Conn instance
transport/vmess/conn.go:201
↓ 1 callers
Function
newDHCPClient
(ifaceName string)
dns/dhcp.go:145
↓ 1 callers
Function
newDoHClient
(url string, r *Resolver)
dns/doh.go:82
↓ 1 callers
Function
newFetcher
(name string, interval time.Duration, vehicle providerType.Vehicle, parser parser, onUpdate func(interface{})
rule/provider/fetcher.go:131
↓ 1 callers
Function
newFetcher
(name string, interval time.Duration, vehicle types.Vehicle, parser parser, onUpdate func(interface{}))
adapter/provider/fetcher.go:170
↓ 1 callers
Function
newID
newID returns an ID with given UUID.
transport/vmess/user.go:22
↓ 1 callers
Method
newRequest
newRequest returns a new DoH request given a dns.Msg.
dns/doh.go:49
↓ 1 callers
Function
newSearcher
(major int)
component/process/process_freebsd_amd64.go:178
↓ 1 callers
Function
newSearcher
(isV4, isTCP bool)
component/process/process_windows.go:146
↓ 1 callers
Function
newSubscriber
()
common/observable/subscriber.go:28
↓ 1 callers
Function
newVlessPacketConn
(c net.Conn, addr net.Addr)
adapter/outbound/vless.go:212
↓ 1 callers
Function
nextID
(u *uuid.UUID)
transport/vmess/user.go:31
↓ 1 callers
Method
openStream
(ctx context.Context)
dns/quic.go:137
↓ 1 callers
Method
packAuthData
(poolBuf *bytes.Buffer, data []byte)
transport/ssr/protocol/auth_sha1_v4.go:128
↓ 1 callers
Method
packAuthData
(poolBuf *bytes.Buffer, data []byte)
transport/ssr/protocol/auth_chain_a.go:208
↓ 1 callers
Method
packAuthData
(poolBuf *bytes.Buffer, data []byte)
transport/ssr/protocol/auth_aes128_sha1.go:227
↓ 1 callers
Method
packAuthData
(buf *bytes.Buffer)
transport/ssr/obfs/tls1.2_ticket_auth.go:182
↓ 1 callers
Function
packBoundary
(buf *bytes.Buffer)
transport/ssr/obfs/http_simple.go:145
↓ 1 callers
Method
packRandData
(poolBuf *bytes.Buffer, size int)
transport/ssr/protocol/auth_aes128_sha1.go:268
↓ 1 callers
Function
packSNIData
(buf *bytes.Buffer, u string)
transport/ssr/obfs/tls1.2_ticket_auth.go:188
↓ 1 callers
Function
packSocketDiagRequest
(family, protocol byte, source net.IP, sourcePort uint16)
component/process/process_linux.go:122
↓ 1 callers
Method
packTicketBuf
(buf *bytes.Buffer, u string)
transport/ssr/obfs/tls1.2_ticket_auth.go:198
↓ 1 callers
Function
packURLEncodedHeadData
(buf *bytes.Buffer, data []byte)
transport/ssr/obfs/http_simple.go:137
↓ 1 callers
Function
parseAuthentication
(rawRecords []string)
config/config.go:679
↓ 1 callers
Function
parseBasicProxyAuthorization
parseBasicProxyAuthorization parse header Proxy-Authorization and return base64-encoded credential
listener/http/utils.go:52
↓ 1 callers
Function
parseDNS
(rawCfg *RawConfig, hosts *trie.DomainTrie)
config/config.go:595
↓ 1 callers
Function
parseFallbackIPCIDR
(ips []string)
config/config.go:581
↓ 1 callers
Function
parseGeneral
(cfg *RawConfig)
config/config.go:245
↓ 1 callers
Function
parseHTTPAddr
(request *http.Request)
adapter/inbound/util.go:51
↓ 1 callers
Function
parseHosts
(cfg *RawConfig)
config/config.go:473
↓ 1 callers
Function
parseNameServerPolicy
(nsPolicy map[string]string)
config/config.go:564
↓ 1 callers
Function
parseProxies
(cfg *RawConfig)
config/config.go:279
↓ 1 callers
Function
parseRules
(cfg *RawConfig, proxies map[string]C.Proxy)
config/config.go:389
↓ 1 callers
Function
parseSocks4Addr
(addr *socks4.Addr)
adapter/inbound/util.go:14
↓ 1 callers
Function
parseStrategy
(config map[string]interface{})
adapter/outboundgroup/loadbalance.go:32
↓ 1 callers
Function
parseURLTestOption
(config map[string]interface{})
adapter/outboundgroup/urltest.go:124
↓ 1 callers
Function
parserPacket
(conn net.Conn)
listener/redir/tcp_other.go:13
↓ 1 callers
Function
patchSelectGroup
(proxies map[string]C.Proxy)
hub/executor/executor.go:227
↓ 1 callers
Function
process
()
tunnel/tunnel.go:108
↓ 1 callers
Method
process
(c *cache)
common/cache/cache.go:78
↓ 1 callers
Method
process
()
common/observable/observable.go:15
↓ 1 callers
Function
processUDP
processUDP starts a loop to handle udp packet
tunnel/tunnel.go:101
↓ 1 callers
Method
proxies
(metadata *C.Metadata, touch bool)
adapter/outboundgroup/relay.go:89
↓ 1 callers
Function
proxyGroupsDagSort
Check if ProxyGroups form DAG(Directed Acyclic Graph), and sort all ProxyGroups by dependency order. Meanwhile, record the original index in the confi
config/utils.go:21
↓ 1 callers
Function
proxyProviderRouter
()
hub/route/provider.go:16
↓ 1 callers
Function
proxyRouter
()
hub/route/proxies.go:20
↓ 1 callers
Method
pullLoop
()
rule/provider/fetcher.go:159
↓ 1 callers
Method
pullLoop
()
adapter/provider/fetcher.go:132
↓ 1 callers
Method
putAuthData
(buf *bytes.Buffer)
transport/ssr/protocol/base.go:50
↓ 1 callers
Method
putMixedRandDataAndData
(poolBuf *bytes.Buffer, data []byte)
transport/ssr/protocol/auth_chain_a.go:261
↓ 1 callers
Function
putMsgToCache
(c *cache.LruCache, key string, msg *D.Msg)
dns/util.go:80
↓ 1 callers
Function
readConfig
(path string)
hub/executor/executor.go:30
↓ 1 callers
Function
readNativeUint32
(b []byte)
component/process/process_freebsd_amd64.go:82
↓ 1 callers
Function
readNativeUint32
(b []byte)
component/process/process_darwin.go:101
↓ 1 callers
Function
receiveOffer
(conn net.PacketConn, id dhcpv4.TransactionID, result chan<- []net.IP)
component/dhcp/dhcp.go:55
← previous
next →
601–700 of 1,333, ranked by callers