package asnutil
Import Path
github.com/libp2p/go-libp2p-asn-util (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Package-Level Functions (total 2)
AsnForIPv6 returns the AS number for the given IPv6 address.
If no mapping exists for the given network, this function will return a zero ASN number.
AsnForIPv6Network returns the AS number for the given IPv6 network.
If no mapping exists for the given network, this function will return a zero ASN number.
network is the first 64 bits of the ip address interpreted as big endian.
Package-Level Variables (only one)
Deprecated: use [AsnForIPv6] or [AsnForIPv6Network], they do not allocate.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |