util/net/cidr/range_v6.go

40 lines
500 B
Go
Raw Normal View History

2017-11-17 10:07:00 +00:00
package cidr
import "net"
type cidrRangeIPv6 struct {
cidrNet *net.IPNet
}
func (cr *cidrRangeIPv6) Contains(ip net.IP) bool {
return cr.cidrNet.Contains(ip)
}
func (cr *cidrRangeIPv6) First() net.IP {
}
func (cr *cidrRangeIPv6) Last() net.IP {
}
func (cr *cidrRangeIPv6) Range() []net.IP {
}
func (cr *cidrRangeIPv6) Broadcast() net.IP {
}
func (cr *cidrRangeIPv6) Network() net.IP {
}
func (cr *cidrRangeIPv6) Next(ip net.IP) {
}
func (cr *cidrRangeIPv6) Previous(ip net.IP) {
}