Documentation ¶
Overview ¶
Package asnutil provides a mapping lookup for IPv6 ASNs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Store backwardCompat
Deprecated: use AsnForIPv6 or AsnForIPv6Network, they do not allocate.
Functions ¶
func AsnForIPv6 ¶ added in v0.0.3
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.
func AsnForIPv6Network ¶ added in v0.0.3
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.