crash.software
Projects
Pull Requests
Issues
Builds
metabigor
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
metabigor
Files
🤬
Sign In
v1.12
ROOT
/
modules
/
asn.go
Search
History
251 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ASInfo
Amount
:
int
Number
:
int
CountryCode
:
string
Description
:
string
CIDR
:
string
GetAsnMap
()
:
(AsnMap, error)
IPInfo
AS
:
int
CIDR
:
string
AsnMap
asName
:
map[int]string
asCountry
:
map[int]string
asDesc
:
map[string]int
recs
:
[]rec
rec
startIP
:
netaddr.IP
endIP
:
netaddr.IP
asn
:
int
GenAsnData
(r io.Reader)
:
(*AsnMap, error)
parseTSV
(line []byte, dsts ...*[]byte)
:
error
Range2CIDR
(first, last net.IP)
:
*net.IPNet
ipToInt
(ip net.IP)
:
(*big.Int, int)
IsIPv4
(ip net.IP)
:
bool
IsIPv6
(ip net.IP)
:
bool
*AsnMap
ASName
(as int)
:
string
ASCountry
(as int)
:
string
ASDesc
(name string)
:
(AsnNum []int)
ASInfo
(asnNum int)
:
[]ASInfo
ASofIP
(ip netaddr.IP)
:
IPInfo
recIndexHasIP
(i int, ip netaddr.IP)
:
(as IPInfo)
All occurrences
Please wait...
Page is in error, reload to recover