]> Cypherpunks repositories - gostls13.git/commit
net: change the internal form of IPMask for IPv4
authorMikio Hara <mikioh.mikioh@gmail.com>
Mon, 29 Aug 2011 14:49:03 +0000 (10:49 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 29 Aug 2011 14:49:03 +0000 (10:49 -0400)
commit683df29f7c018821b1bfac08d0f11d32ebb7757f
tree356e33495be5d762e30f960e9cc7723b3c237bcf
parent1952eb50107c76b4d13ebaed85c29e927fb51a61
net: change the internal form of IPMask for IPv4

This CL changes the internal form of IPMask for IPv4
from 16-byte to 4-byte, also adds Size method to IPMask
struct and changes output string format of IPMask.String
method.

R=rsc
CC=golang-dev
https://golang.org/cl/4950046
src/pkg/net/ip.go
src/pkg/net/ip_test.go