INNER CODE UNIT · Go
func
cloudflare/cfrpki · ov/ov_test.go:15
func (r *TestROA) GetPrefix() *net.IPNet {
return r.Prefix
}
func (r *TestROA) GetASN() uint32 {
return r.ASN
}
func (r *TestROA) GetMaxLen() int {
return r.MaxLength
}
type TestRoute struct {
ASN uint32
Prefix *net.IPNet
}
func (r *TestRoute) GetPrefix() *net.IPNet {