Documentation ¶
Index ¶
- Variables
- func AddPing(ip4LaString string, ip4ReString string, pid uint32, ...)
- func AnalysisIpv4(s string) (string, error)
- func AnalysisIpv6(s string) (string, error)
- func GetNeedPingsIp(pid uint32, selfNs netns.NsHandle, rttMap map[string]map[string]Result)
- func GetNodeByIP(nodeIP string) (*cache.Node, bool)
- func GetPodByIp(podIp string) (*cache.Pod, bool)
- func IPv4MappedToIPv6(ipv6Address string) (bool, string)
- func UpdateNetConnectInfo(ctx context.Context)
- type Result
- type RttStatistic
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalRttMap = make(map[string]map[string]Result)
View Source
var GlobalRttMutex = &sync.RWMutex{}
View Source
var GlobalRttResultMap = make(map[nettool.Tuple]RttStatistic)
View Source
var RttResultMapMutex = &sync.Mutex{}
Functions ¶
func AnalysisIpv4 ¶
AnalysisIpv4 16进制的ipv4地址转为可识别的ipv4格式:例如“10.10.25.50:8888”
func AnalysisIpv6 ¶
func GetNeedPingsIp ¶
func IPv4MappedToIPv6 ¶
func UpdateNetConnectInfo ¶ added in v1.7.0
Types ¶
type RttStatistic ¶
Click to show internal directories.
Click to hide internal directories.