MCPcopy Create free account
hub / github.com/celzero/firestack / LookupFor

Method LookupFor

intra/protect/ipmap/ipmap.go:93–93  ·  view source on GitHub ↗

LookupFor resolves q over client-code preferred tid conveyed via DNSOpts returned from DNSListener.OnQuery. As a special case, UID may be protect.MyUid or core.UNKNOWN_UID_STR ("-1") but otherwise it is usually a Linux user-id assigned to a process which presumably is requesting this lookup.

(q []byte, uid string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

LookupForMethod · 0.65

Implementers 7

fakeResolverintra/dns53/dot_test.go
ipmapperintra/dns53/ipmapper.go
ipmapintra/protect/ipmap/ipmap.go
fakeResolverintra/protect/ipmap/ipmap_test.go
fakeResolverintra/dnscrypt/servers_test.go
systemMapperintra/ipn/pxclient_test.go
fakeResolverintra/ipn/multihost/multihost_test.go

Calls

no outgoing calls

Tested by

no test coverage detected