Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FQDNCache ¶
type FQDNCache struct {
// contains filtered or unexported fields
}
FQDNCache maps IP addresses to fqdn names per endpoint
func (*FQDNCache) AddDNSLookup ¶
func (f *FQDNCache) AddDNSLookup(epID uint64, lookupTime time.Time, domainName string, ips []net.IP, ttl uint32)
AddDNSLookup adds a DNS lookup into the FQDNCache.
func (*FQDNCache) GetNamesOf ¶
GetNamesOf returns all domain names associated with ip from the perspective of a given endpoint.
func (*FQDNCache) InitializeFrom ¶
InitializeFrom replaces the content of the FQDN cache with the lookups from entries.
Click to show internal directories.
Click to hide internal directories.