From: Visweswara R Date: Wed, 28 Nov 2018 02:02:08 +0000 (+0530) Subject: net: improve IPMask docs X-Git-Tag: go1.14beta1~298 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cb47edc0c404aa6944976b27406bd927f8836f07;p=gostls13.git net: improve IPMask docs Fixes #28957 Change-Id: Ie8ba841bd4ee71766bcfbbfbdc9173b9be867ed1 Reviewed-on: https://go-review.googlesource.com/c/go/+/151479 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/net/ip.go b/src/net/ip.go index a80851803d..407337d9b3 100644 --- a/src/net/ip.go +++ b/src/net/ip.go @@ -31,7 +31,10 @@ const ( // be an IPv4 address. type IP []byte -// An IP mask is an IP address. +// An IPMask is a bitmask that can be used to manipulate +// IP addresses for IP addressing and routing. +// +// See type IPNet and func ParseCIDR for details. type IPMask []byte // An IPNet represents an IP network.