MCPcopy Create free account

hub / github.com/celzero/firestack / functions

Functions3,609 in github.com/celzero/firestack

↓ 3 callersFunctionnewBaseHandler
(pctx context.Context, proto string, r dnsx.Resolver, px ipn.ProxyProvider, l FlowListener)
intra/common.go:105
↓ 3 callersFunctionnewBasicProxy
(id, addr string, ctx context.Context, c protect.Controller, px ProxyProvider)
intra/ipn/base.go:46
↓ 3 callersFunctionnewIPv4Server
(t *testing.T)
intra/ipn/pxclient_test.go:95
↓ 3 callersFunctionnewTransport
(pctx context.Context, id string, do *settings.DNSOptions, px ipn.ProxyProvider)
intra/dns53/upstream.go:89
↓ 3 callersMethodok
returns true if the responder is enabled and debug mode is on.
intra/netstack/icmpecho.go:58
↓ 3 callersMethodok
ok returns true if a is readable or fresh.
intra/core/connpool.go:400
↓ 3 callersMethodpid
()
intra/rnet/socks5.go:233
↓ 3 callersMethodpin
pin pins uid+ipp to proxy p, if healthy, and returns error on failure.
intra/ipn/proxies.go:723
↓ 3 callersMethodpinID
pinID pins uid+ipp to proxy id, if found, and returns the proxy. Returns error on proxy not found or if the proxy is not healthy.
intra/ipn/proxies.go:713
↓ 3 callersMethodprepare
(fd *fds)
intra/netstack/fdbased.go:65
↓ 3 callersMethodpurge
(cc string)
intra/ipn/rpn.go:506
↓ 3 callersMethodreinit
(typ, ipOrUrl, ips string)
intra/bootstrap.go:56
↓ 3 callersMethodrelegateLocked
relegateLocked moves v (expaddr) into past under key k, merging with an existing entry if still within stale threshold.
intra/dnsx/alg.go:465
↓ 3 callersMethodrelegateLocked
relegateLocked moves v (expdomains) into past under key k, merging with an existing entry if still within stale threshold.
intra/dnsx/alg.go:834
↓ 3 callersMethodremoveOne
(uid string)
intra/dnscrypt/multiserver.go:568
↓ 3 callersMethodremoveProxy
(id string, force bool)
intra/ipn/proxies.go:415
↓ 3 callersMethodrevmap
(hostOrIP string, new *IPSet, old *IPSet)
intra/protect/ipmap/ipmap.go:536
↓ 3 callersFunctionruntime_environ
go:linkname runtime_environ runtime.environ
intra/core/runtime/overreach.go:144
↓ 3 callersMethodsafeLoad
()
intra/core/volatile.go:30
↓ 3 callersMethodsecipsFor
secondary ip by a given tid+uid pair
intra/dnsx/alg.go:315
↓ 3 callersMethodsendObsMsg
sendObsMsg delivers (op, err) to the observer goroutine via a channel. It never blocks: the caller returns immediately after the send.
intra/ipn/wg/wgconn.go:462
↓ 3 callersFunctionshortfile
shortfile strips the last path component from a file path.
intra/log/logger.go:879
↓ 3 callersFunctionskipInternalCache
(tids ...string)
intra/dnsx/transport.go:1679
↓ 3 callersFunctionstamp
()
intra/core/version.go:30
↓ 3 callersFunctionstamp2str
(s stamps.ServerStamp)
intra/dnscrypt/multiserver.go:730
↓ 3 callersMethodstart
()
intra/core/hangover.go:26
↓ 3 callersFunctiontimedout
(err error)
intra/ipn/wg/wgconn.go:814
↓ 3 callersFunctiontr2csv
(activeOnly bool, ts []Transport)
intra/dnsx/transport.go:1699
↓ 3 callersFunctiontrimcsv
(s string)
intra/dnsx/transport.go:1714
↓ 3 callersFunctiontruncate2k
(b []byte)
intra/ipn/rpn/yegor.go:2708
↓ 3 callersMethodtunid
tunid returns a unique identifier (usually current tun fd); used for diagnostics only.
intra/netstack/forwarders.go:223
↓ 3 callersFunctionudpSummary
(id, uid string, src, dst netip.Addr)
intra/listener.go:141
↓ 3 callersMethodunmapHop
(hop x.Proxy, orig x.Proxy, dryrun bool)
intra/ipn/proxies.go:971
↓ 3 callersMethoduntrackBatchLocked
(cidsOrUidsOrPids []string)
intra/core/connmap.go:263
↓ 3 callersMethodupdateHttpClientsFor
updateHttpClientsFor only updates non-nil http clients dialing via Proxy p.
intra/doh/doh.go:471
↓ 3 callersFunctionvals
(m map[K]V, upto uint)
intra/dnsx/alg.go:286
↓ 3 callersFunctionwaitForViaHandshake
()
intra/ipn/wgproxy.go:308
↓ 3 callersFunctionwgIfConfigOf
(id string, txtptr *string)
intra/ipn/wgproxy.go:582
↓ 3 callersFunctionwsErr2
(res *http.Response, op string)
intra/ipn/rpn/yegor.go:1435
↓ 2 callersFunctionAAAAAnswer
(msg *dns.Msg)
intra/xdns/dnsutil.go:1074
↓ 2 callersFunctionAAnswer
(msg *dns.Msg)
intra/xdns/dnsutil.go:1057
↓ 2 callersFunctionAQuadAForQuery
(q *dns.Msg, ips ...netip.Addr)
intra/xdns/dnsutil.go:681
↓ 2 callersFunctionAddIPMapper
AddIPMapper adds or removes the IPMapper.
intra/dns53/ipmapper.go:53
↓ 2 callersMethodAddProxy
Add adds a proxy to this multi-transport. "id" is a free-form unique identifier for this proxy, except: "id" for WireGuard proxies must be prefixed wi
intra/backend/ipn_proxies.go:323
↓ 2 callersMethodAddResolver
(r string)
intra/x64/dns64.go:149
↓ 2 callersFunctionAddTransport
AddTransport creates and adds a dnscrypt transport to p
intra/dnscrypt/multiserver.go:764
↓ 2 callersFunctionAnnounceUDP
AnnounceUDP announces the local address. network must be "udp" or "udp4" or "udp6".
intra/protect/xdial.go:295
↓ 2 callersFunctionAnyAddrForUDP
(ipp netip.AddrPort)
intra/ipn/proxy.go:550
↓ 2 callersFunctionAsMsg2
(packet []byte)
intra/xdns/dnsutil.go:44
↓ 2 callersMethodAt
At runs f at time t; accepts a Context to cancel it.
intra/core/sched.go:122
↓ 2 callersMethodAttach
(dispatcher stack.NetworkDispatcher)
intra/netstack/seamless.go:280
↓ 2 callersFunctionAwait1
(f func() T, until time.Duration)
intra/core/async.go:337
↓ 2 callersMethodBufSize
BufSize returns the byte size of each shared-memory region. Pass this value to the external reader (e.g. via Console.LogMemFD) so it knows how large
intra/log/memconsole.go:438
↓ 2 callersFunctionC
C logs the stack trace of the current goroutine to Console.
intra/log/log.go:214
↓ 2 callersFunctionCanUseProxy
CanUseProxy returns true if transport with id can be safely proxied over another network. For example, Goos, Local, System cannot be. Preset is a tran
intra/dnsx/transport.go:1598
↓ 2 callersFunctionCategorize
(ts []Transport)
intra/dnsx/transport.go:1411
↓ 2 callersFunctionChooseHealthyProxy
(who, proto string, ipps []netip.AddrPort, pids []string, px ipn.ProxyProvider)
intra/dnsx/alg.go:2479
↓ 2 callersMethodClear
Clears the trie.
intra/backend/core_iptree.go:56
↓ 2 callersMethodClear
Clear untracks all conns.
intra/core/connmap.go:34
↓ 2 callersMethodClose
()
intra/netstack/seamless.go:368
↓ 2 callersMethodClose
Close implements WgProxy
intra/ipn/wgproxy.go:239
↓ 2 callersFunctionCloseTCP
CloseTCP closes c.
intra/core/closer.go:45
↓ 2 callersFunctionComputePaddingSize
Compute the number of padding bytes needed, excluding headers.
intra/xdns/dnsutil.go:527
↓ 2 callersFunctionConfirm
(hostOrIP string, addr netip.Addr)
intra/dialers/ips.go:135
↓ 2 callersMethodConnect
(r *tx.Request, w *net.TCPConn)
intra/rnet/socks5.go:501
↓ 2 callersFunctionCryptoPrefix
(nopki, ech bool)
intra/dnsx/transport.go:1718
↓ 2 callersFunctionDebugLog
(y bool)
intra/netstack/seamless.go:110
↓ 2 callersMethodDebugf
(at int, msg string, args ...any)
intra/log/logger.go:62
↓ 2 callersMethodDel
(h *MH)
intra/ipn/multihost/map.go:131
↓ 2 callersFunctionDial
Dial dials into addr using the provided dialer and returns a net.Conn, which is guaranteed to be either net.UDPConn or net.TCPConn
intra/dialers/rdial.go:144
↓ 2 callersFunctionDialPingAddr
(s *stack.Stack, nic tcpip.NICID, laddr, raddr netip.Addr)
intra/netstack/icmpconn.go:73
↓ 2 callersFunctionDisconfirm
Disconfirm unmarks addr as preferred for hostOrIP
intra/dialers/ips.go:154
↓ 2 callersMethodDisconnect
Disconnect disconnects the tunnel.
tunnel/tunnel.go:53
↓ 2 callersMethodDisconnect
()
tunnel/tunnel.go:148
↓ 2 callersFunctionDnsIPPort
(s string)
intra/xdns/common.go:277
↓ 2 callersMethodDstIP
()
intra/ipn/wg/wgconn2.go:212
↓ 2 callersFunctionEcho
(pc net.PacketConn, pkt []byte, dst net.Addr, v4 bool)
intra/core/ping.go:120
↓ 2 callersFunctionEitherOr
(either <-chan struct{}, or Callback, until time.Duration)
intra/core/async.go:352
↓ 2 callersMethodEndpoints
()
intra/ipn/multihost/map.go:42
↓ 2 callersMethodEntitlementFrom
EntitlementFrom returns the RpnEntitlement represented by entitlementOrStateJson. `did` is the device identifier to use for this entitlement, if appli
intra/backend/ipn_proxies.go:201
↓ 2 callersMethodEqualAddrs
(other *MH)
intra/ipn/multihost/multihost.go:423
↓ 2 callersMethodEsc
Removes value v, if found.
intra/backend/core_iptree.go:28
↓ 2 callersMethodFDs
FDs returns the raw file descriptor integers for the two shared buffers backed by memfd. The receiver must use dup(2) fds to own these fds.
intra/log/memconsole.go:185
↓ 2 callersMethodFetchServers
FetchServers reports whether the server-list fetch should be forced.
intra/backend/ipn_proxies.go:167
↓ 2 callersFunctionFindUnique
returns unique strings in n not in s as new array
intra/xdns/common.go:192
↓ 2 callersMethodFixedBlind
(message, salt []byte, r, rInv *big.Int)
intra/core/brsa/brsa.go:144
↓ 2 callersFunctionFmtSecs
(s int64)
intra/core/fmtstr.go:71
↓ 2 callersFunctionFmtTimeNs
(ns uint64)
intra/core/fmtstr.go:32
↓ 2 callersFunctionFmtWithSep
FmtWithSep formats a uint64 with one byte separators every 3 digits (e.g. 1234567 -> "1,234,567").
intra/core/runmet.go:195
↓ 2 callersMethodFork
Fork adds proxy for country code, cc.
intra/backend/ipn_proxies.go:251
↓ 2 callersMethodFullUrl
FullUrl returns the full url with auth.
intra/settings/proxyopts.go:93
↓ 2 callersMethodGateway
special purpose pre-defined transports: Gateway implements a DNS ALG transport
intra/dnsx/transport.go:186
↓ 2 callersFunctionGenerate
Generate generates a new packet with the given Header and payload. This function allocates memory, see Header.Marshal for an allocation-free option.
intra/core/wire/header.go:64
↓ 2 callersMethodGetAddr
GetAddr returns the address of this proxy.
intra/backend/ipn_proxies.go:230
↓ 2 callersMethodGetAddr
()
intra/dns53/errorer.go:64
↓ 2 callersMethodGetAddr
()
intra/rnet/http.go:348
↓ 2 callersMethodGetAddr
()
intra/rnet/socks5.go:180
↓ 2 callersMethodGetAny
Returns the route@csv(value) of any route matching cidr or "".
intra/backend/core_iptree.go:40
↓ 2 callersMethodGetInternal
(id string)
intra/dnsx/transport.go:429
↓ 2 callersMethodGetInternal
(cc string)
intra/ipn/rpn.go:27
← previousnext →701–800 of 3,609, ranked by callers