INNER CODE UNIT · Go
func
cloudflare/cfrpki · ov/ov_test.go:32
func (r *TestRoute) GetPrefix() *net.IPNet {
return r.Prefix
}
func (r *TestRoute) GetASN() uint32 {
return r.ASN
}
func MakeData() ([]AbstractROA, AbstractRoute) {
_, ip1, _ := net.ParseCIDR("10.0.0.0/16")
_, ip2, _ := net.ParseCIDR("10.0.0.0/22")
_, ip3, _ := net.ParseCIDR("10.0.0.0/24")
_, ip4, _ := net.ParseCIDR("10.0.0.0/25")
vrp := []AbstractROA{
&TestROA{
65001,
ip1,