Descriptionnet, syscall: interface address and mask
This CL makes both InterfaceAddrs and Addrs method on Interface
return IPNet struct for representing interface address and mask
like below:
interface "lo0": flags "up|loopback|multicast", ifindex 1, mtu 16384
interface address "fe80::1/64"
interface address "127.0.0.1/8"
interface address "::1/128"
joined group address "ff02::fb"
joined group address "224.0.0.251"
joined group address "ff02::2:65d0:d71e"
joined group address "224.0.0.1"
joined group address "ff01::1"
joined group address "ff02::1"
joined group address "ff02::1:ff00:1"
Fixes issue 2571.
Patch Set 1 : diff -r 3036d2362ea5 https://go.googlecode.com/hg/ #Patch Set 2 : diff -r 3036d2362ea5 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 3036d2362ea5 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r f95e094d062e https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 5e84bc1446c5 https://go.googlecode.com/hg/ #Patch Set 6 : diff -r 15b63cc10b22 https://go.googlecode.com/hg/ #Patch Set 7 : diff -r 96ec7655472a https://go.googlecode.com/hg/ #
Total comments: 9
Patch Set 8 : diff -r 9b926e5d3635 https://go.googlecode.com/hg/ #Patch Set 9 : diff -r 52f87bdb279f https://go.googlecode.com/hg/ #Patch Set 10 : diff -r ef6acc5fe84d https://go.googlecode.com/hg/ #
MessagesTotal messages: 16
|