common

package
v0.0.0-...-706fa94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package common contains common structures and constants used for NpCollector

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pathtest

type Pathtest struct {
	Hostname          string
	Port              uint16
	Protocol          payload.Protocol
	SourceContainerID string
	Metadata          PathtestMetadata
}

Pathtest details of information necessary to run a traceroute (pathtrace)

func (Pathtest) GetHash

func (p Pathtest) GetHash() uint64

GetHash returns the hash of the Pathtest

type PathtestMetadata

type PathtestMetadata struct {
	// ReverseDNSHostname is an optional hostname which will be used in place of rDNS querying for
	// the destination address.
	ReverseDNSHostname string
}

PathtestMetadata contains metadata used to annotate the result of a traceroute. This data is not used by the traceroute itself.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL