1
0
mirror of https://github.com/golang/go synced 2024-10-04 18:31:22 -06:00
go/src/pkg
Mikio Hara 836105679e net, 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 #2571.

R=rsc
CC=golang-dev
https://golang.org/cl/5489062
2011-12-21 21:39:00 +09:00
..
archive zip: fix data race in test 2011-12-19 15:40:10 -08:00
bufio bufio: make the minimum read buffer size 16 bytes. 2011-12-13 15:07:17 -08:00
builtin builtin: document delete 2011-11-09 10:49:41 -08:00
bytes panics: use the new facilities of testing.B instead 2011-12-20 10:36:25 -08:00
compress gzip: Convert between Latin-1 and Unicode 2011-12-14 17:17:40 -05:00
container container/heap: document what Push and Pop do 2011-11-03 15:30:57 -04:00
crypto crypto/mime/net/time: add netbsd to +build tags 2011-12-21 21:44:47 +11:00
debug build: a round of fixes 2011-12-20 17:54:40 -05:00
encoding panics: use the new facilities of testing.B instead 2011-12-20 10:36:25 -08:00
errors errors: new package 2011-11-01 21:46:59 -04:00
exp build: a round of fixes 2011-12-20 17:54:40 -05:00
expvar expvar: fix typo in Publish documentation 2011-12-09 14:24:51 -08:00
flag use new strconv API 2011-12-05 15:48:46 -05:00
fmt fmt: speed up floating point print, clean up some code 2011-12-15 12:52:29 -08:00
go go/ast, parser: remember short variable decls. w/ correspoding ident objects 2011-12-20 09:59:09 -08:00
hash hash/crc32: make compatible with go/build 2011-12-14 10:25:16 -05:00
html html: handle breakout tags in foreign content. 2011-12-21 10:00:41 +11:00
image image/ycbcr: move the Y'CbCr types into image and image/color. 2011-12-21 10:29:21 +11:00
index/suffixarray renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00
io io/ioutil: close file in TestWriteFile before deleting it 2011-12-19 17:30:14 +11:00
log go/printer, gofmt: fine tuning of line spacing 2011-12-16 15:43:06 -08:00
math panics: use the new facilities of testing.B instead 2011-12-20 10:36:25 -08:00
mime crypto/mime/net/time: add netbsd to +build tags 2011-12-21 21:44:47 +11:00
net net, syscall: interface address and mask 2011-12-21 21:39:00 +09:00
old panics: use the new facilities of testing.B instead 2011-12-20 10:36:25 -08:00
os os: don't trust O_CLOEXEC on OS X 2011-12-20 15:41:37 -08:00
patch Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
path crypto/mime/net/time: add netbsd to +build tags 2011-12-21 21:44:47 +11:00
reflect reflect: fix Slice cap 2011-12-12 19:45:40 -02:00
regexp panics: use the new facilities of testing.B instead 2011-12-20 10:36:25 -08:00
runtime runtime: silence darwin/386 build warnings 2011-12-21 07:23:03 -05:00
sort go/printer, gofmt: fine tuning of line spacing 2011-12-16 15:43:06 -08:00
strconv strconv: remove obsolete comment. 2011-12-19 20:57:32 -08:00
strings panics: use the new facilities of testing.B instead 2011-12-20 10:36:25 -08:00
sync allow copy of struct containing unexported fields 2011-11-15 12:20:59 -05:00
syscall net, syscall: interface address and mask 2011-12-21 21:39:00 +09:00
testing testing: allow benchmarks to print and fail 2011-12-20 09:51:39 -08:00
text template: better error message for empty templates 2011-12-20 12:58:23 -08:00
time crypto/mime/net/time: add netbsd to +build tags 2011-12-21 21:44:47 +11:00
unicode various: use $GCFLAGS and $GCIMPORTS like Make does 2011-12-16 11:31:39 -05:00
unsafe unsafe: update doc 2011-08-31 17:59:35 -04:00
websocket websocket: fix a trivial example server 2011-12-16 14:24:37 -08:00
deps.bash renaming_1: hand-edited files for go 1 renaming 2011-11-08 15:38:47 -08:00
Makefile image/ycbcr: move the Y'CbCr types into image and image/color. 2011-12-21 10:29:21 +11:00