MCPcopy Create free account

hub / github.com/celzero/firestack / functions

Functions3,609 in github.com/celzero/firestack

↓ 441 callersMethodLoad
()
intra/core/weakref.go:97
↓ 365 callersFunctionW
W logs a warning message.
intra/log/log.go:173
↓ 298 callersFunctionI
I logs an info message.
intra/log/log.go:168
↓ 255 callersFunctionE
E logs an error message.
intra/log/log.go:186
↓ 221 callersFunctionD
D logs a debug message.
intra/log/log.go:163
↓ 220 callersMethodString
String returns a string repr of all tracked conns.
intra/core/connmap.go:48
↓ 199 callersMethodStore
Store stores the value t; creates a new Volatile[T] if t is nil. If a is nil, does nothing. This func is not atomic.
intra/core/volatile.go:52
↓ 164 callersMethodErrorf
(at int, msg string, args ...any)
intra/log/logger.go:66
↓ 139 callersFunctionV
V logs a verbose message.
intra/log/log.go:153
↓ 131 callersMethodAddr
()
intra/netstack/icmpconn.go:65
↓ 129 callersMethodError
Error notes the error in connecting src to dst; retrying if necessary.
intra/netstack/hdl.go:43
↓ 99 callersMethodAdd
Resolves hostOrIP and adds the resulting IPs to its IPSet. hostOrIP may be host:port, or ip:port, or host, or ip.
intra/protect/ipmap/ipmap.go:108
↓ 90 callersFunctionJoinErr
(errs ...error)
intra/core/err.go:31
↓ 86 callersFunctionEE
(msg string, args ...any)
intra/log/log.go:190
↓ 86 callersMethodWrite
confirms to protect.Conn
intra/core/proto.go:39
↓ 80 callersFunctionVV
VV logs a very verbose message.
intra/log/log.go:158
↓ 80 callersFunctionidstr
(p x.Proxy)
intra/ipn/exit.go:212
↓ 74 callersMethodID
()
intra/protect/xdial.go:41
↓ 74 callersFunctionIsNil
IsNil reports whether x is nil if its Chan, Func, Map, Pointer, UnsafePointer, Interface, and Slice; may panic or return false if x is not addressable
intra/core/typ.go:67
↓ 71 callersMethodtag
who concats id of this proxy & status of its via
intra/ipn/wgproxy.go:882
↓ 69 callersMethodGet
Get returns a conn mapped to connection id, cid.
intra/core/connmap.go:38
↓ 60 callersMethodDone
Done decrements the WaitGroup counter for the current generation by one.
intra/core/rollwg.go:43
↓ 60 callersMethodSet
Sets cidr route to v, overwriting any previous value.
intra/backend/core_iptree.go:26
↓ 59 callersFunctionidstr
(t Transport)
intra/dnsx/alg.go:2595
↓ 58 callersMethodFatalf
(at int, msg string, args ...any)
intra/log/logger.go:67
↓ 52 callersFunctionGo
Go runs f in a goroutine and recovers from any panics.
intra/core/async.go:31
↓ 51 callersMethodRead
([]byte)
intra/core/proto.go:40
↓ 50 callersFunctionOneErr
(errs ...error)
intra/core/err.go:14
↓ 48 callersMethodAdd
Add a sample to the estimator.
intra/core/p2est.go:35
↓ 46 callersMethodPort
Port returns the pinned WireGuard port, or 0 if none is set.
intra/backend/ipn_proxies.go:170
↓ 43 callersMethodDial
Dial creates a connection to the given address, the resulting net.Conn must be a *net.TCPConn if network is "tcp" or "tcp4" or "tcp6" and must be a *n
intra/protect/xdial.go:46
↓ 42 callersMethodContains
Contains returns true if this router can route ipprefix.
intra/backend/ipn_proxies.go:359
↓ 42 callersFunctionFmtTimeAsPeriod
(t time.Time)
intra/core/fmtstr.go:40
↓ 39 callersFunctionGx
Gx runs f in a goroutine and exits the process if f panics.
intra/core/async.go:80
↓ 39 callersFunctionIsNotNil
may panic or return false if x is not addressable
intra/core/typ.go:60
↓ 39 callersFunctionRecover
Recover must be called as a defered function, and must be the first defer called at the start of a new goroutine.
intra/core/dontpanic.go:166
↓ 38 callersMethodDo
Do executes and returns the results of the given function, making sure that only one execution is in-flight for a given key at a time. If a duplicate
intra/core/barrier.go:236
↓ 37 callersMethodGetAddr
Return the server host address used to initialize this transport.
intra/backend/dnsx.go:103
↓ 36 callersFunctionClose
Close closes cs.
intra/core/closer.go:125
↓ 36 callersMethodCompareAndSwap
(old, new T)
intra/core/volatileflow.go:181
↓ 35 callersFunctionFmtPeriod
(d time.Duration)
intra/core/fmtstr.go:44
↓ 35 callersMethodSize
()
intra/protect/ipmap/ipmap.go:743
↓ 31 callersMethodSwap
Swap closes existing FDs; uses new fd.
intra/netstack/seamless.go:25
↓ 29 callersMethodProxyFor
ProxyFor returns a transport from this multi-transport.
intra/ipn/proxies.go:214
↓ 28 callersMethodLocalAddr
LocalAddr returns the local client network address.
intra/core/proto.go:36
↓ 28 callersMethodRouter
Returns x.Router.
intra/backend/ipn_proxies.go:226
↓ 28 callersMethodStatus
State of the transport after previous query (see: queryerror.go)
intra/backend/dnsx.go:108
↓ 28 callersFunctionko
(tst *testing.T, err error)
intra/backend/core_iptree_test.go:238
↓ 27 callersMethodDialer
Dialer returns the dialer for this proxy, which is an adapter for protect.RDialer interface, but with the caveat that not all Proxy instances implemen
intra/ipn/proxies.go:184
↓ 27 callersFunctionLen
(msg *dns.Msg)
intra/xdns/dnsutil.go:1403
↓ 26 callersFunctionFmtBytes
from: github.com/google/gops/blob/35c854fb84/agent/agent.go
intra/core/fmtstr.go:17
↓ 26 callersMethodStop
Stop closes the transport.
intra/dnsx/transport.go:143
↓ 26 callersFunctioncandial
(state *core.Volatile[int])
intra/ipn/proxy.go:791
↓ 25 callersMethodIsZero
IsZero returns true if the key is all zeros.
intra/backend/ipn_wgkeygen.go:42
↓ 25 callersFunctionQName
(msg *dns.Msg)
intra/xdns/dnsutil.go:146
↓ 25 callersMethodType
one of DNS53, DOH, DNSCrypt, System
intra/backend/dnsx.go:99
↓ 25 callersFunctionladdr
laddr returns the local address of the connection.
intra/dialers/op.go:209
↓ 25 callersMethodtun
()
intra/netstack/fds.go:121
↓ 24 callersMethodAdd
Adds value v to the cidr route.
intra/backend/core_iptree.go:24
↓ 24 callersFunctionCloseConn
CloseConn closes cs.
intra/core/closer.go:94
↓ 24 callersMethodLen
Len returns the number of tracked conns.
intra/core/connmap.go:46
↓ 24 callersMethodLog
Log logs a multi-line msg.
intra/log/log.go:58
↓ 24 callersFunctionNewVolatile
NewVolatile returns a new Volatile with the value t. Panics if t is nil.
intra/core/volatile.go:17
↓ 23 callersMethoddialerID
()
intra/dialers/retrier.go:314
↓ 23 callersMethoddone
(errs ...error)
intra/rnet/listener.go:25
↓ 22 callersMethoddone
(errs ...error)
intra/listener.go:174
↓ 21 callersFunctionHasAnyQuestion
(msg *dns.Msg)
intra/xdns/dnsutil.go:1111
↓ 21 callersFunctionLoc
go.dev/play/p/jjI4XJZud4i
intra/core/typ.go:44
↓ 21 callersMethodWriteTo
confirms to net.PacketConn
intra/core/proto.go:63
↓ 21 callersFunctionko
(t *testing.T, err error)
intra/dns53/dot_test.go:767
↓ 21 callersFunctionko
(t *testing.T, err error)
intra/dnsx/rethinkdns_test.go:326
↓ 20 callersMethodCas
Cas compares and swaps the value of a with new, returns true if the value was swapped. If new is nil, returns true; and sets a to NewZeroVolatile[T] n
intra/core/volatile.go:85
↓ 20 callersMethodSetLevel
(level LogLevel)
intra/log/logger.go:53
↓ 20 callersMethodSyscallConn
()
intra/protect/protect_test.go:37
↓ 20 callersFunctionclos
(c ...core.MinConn)
intra/common.go:806
↓ 20 callersFunctiontrunc8
(s string)
intra/ipn/rpn/yegor.go:2097
↓ 19 callersMethodSetDeadline
Implements MinConn and net.Conn
intra/core/proto.go:43
↓ 19 callersFunctione
(err tcpip.Error)
intra/netstack/netstack.go:109
↓ 19 callersMethodwho
who returns unique id of this proxy
intra/ipn/wgproxy.go:877
↓ 18 callersMethodRemoteAddr
RemoteAddr returns the destination network address.
intra/core/proto.go:34
↓ 18 callersFunctionlocalDialStatus
(status *core.Volatile[int], err error)
intra/ipn/exit.go:187
↓ 17 callersMethodID
()
intra/rnet/socks5.go:176
↓ 17 callersFunctionNewTransport
NewTransport returns a POST-only DoH transport. `id` identifies this transport. `rawurl` is the DoH template in string form. `addrs` is a list of IP a
intra/doh/doh.go:120
↓ 17 callersFunctionlogei
(err error)
intra/ipn/exit64.go:340
↓ 17 callersMethodqueueSummary
queueSummary queues a summary to be sent to the listener; thread-safe.
intra/common.go:341
↓ 16 callersFunctionMapper
Mapper is a hostname to IP (a/aaaa) resolver for the network engine; may be nil.
intra/dialers/ips.go:117
↓ 16 callersMethodQuery
Given a DNS query (including ID), returns a DNS response with matching ID, or an error if no response was received. The error may be accompanied by a
intra/dnsx/transport.go:137
↓ 16 callersFunctionRTtl
(msg *dns.Msg)
intra/xdns/dnsutil.go:201
↓ 16 callersFunctioncopyUniq
flattens and returns a copy with dups removed, if any.
intra/dnsx/alg.go:2622
↓ 16 callersFunctiondone
done returns true if the context is done.
intra/core/expiringmap.go:280
↓ 16 callersFunctionnewProxyClient
(p Proxy)
intra/ipn/pxclient.go:110
↓ 16 callersFunctionrefhandle
(ref *core.WeakRef[Proxy])
intra/ipn/exit.go:205
↓ 16 callersFunctionwithPort
(ap netip.AddrPort, port uint16)
intra/core/wire/parsed.go:615
↓ 15 callersMethodAddrPort
AddrPort returns the ip:port or host:port; may return empty string.
intra/settings/dnsopts.go:37
↓ 15 callersMethodAddrs
Addrs returns a copy of the IP set as a slice in random order. The slice is owned by the caller, but the elements are owned by the set.
intra/protect/ipmap/ipmap.go:755
↓ 15 callersFunctionAsMsg
(packet []byte)
intra/xdns/dnsutil.go:36
↓ 15 callersFunctionCloseOp
CloseOp closes op on c.
intra/core/closer.go:132
↓ 15 callersMethodDialBind
DialBind is like Dial but creates a connection to the remote address bounded from the local port (not ip). If local is invalid ip:port (ip must be pre
intra/protect/xdial.go:51
↓ 15 callersFunctionGetInterestingRData
(msg *dns.Msg)
intra/xdns/dnsutil.go:238
↓ 15 callersFunctionHasAnyAnswer
(msg *dns.Msg)
intra/xdns/dnsutil.go:749
next →1–100 of 3,609, ranked by callers