caida

package
v0.0.0-...-776516f Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRelationships

func ParseRelationships(path string) (map[uint32]RelationshipCounts, error)

Types

type AS2OrgRecord

type AS2OrgRecord struct {
	ASN     uint32
	ASNName string
	OrgID   string
	OrgName string
	Country string
	Source  string
}

func ParseAS2Org

func ParseAS2Org(path string) ([]AS2OrgRecord, error)

type ASRankRecord

type ASRankRecord struct {
	ASN             uint32
	Rank            int
	ConeASNs        int
	ConePrefixes    int
	ConeAddresses   uint64
	DegreePeers     int
	DegreeCustomers int
	DegreeProviders int
}

func ParseASRankCSV

func ParseASRankCSV(path string) ([]ASRankRecord, error)

type RelationshipCounts

type RelationshipCounts struct {
	ASN       uint32
	Peers     int
	Customers int
	Providers int
}

Jump to

Keyboard shortcuts

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