5 Commits

Author SHA1 Message Date
Mikio Hara
0d2c2e17c4 ipv6: update example for the use of dual stack listener
Updates golang/go#13612.

Change-Id: Ic139b6f862a2a24d549bd1f502299a7eac2f0e38
Reviewed-on: https://go-review.googlesource.com/17799
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-12-15 03:17:52 +00:00
Mikio Hara
66f0418ca4 ipv6: don't refer internal packages in examples
Updates golang/go#12163.

Change-Id: I91c57e76be680dea8b60196ad07f8c7ed093e008
Reviewed-on: https://go-review.googlesource.com/13655
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-08-17 04:08:48 +00:00
Mikio Hara
668aea8e02 x/net/ipv6: split Set method of ICMPFilter into Accept, Block methods
This is an API breaking change.

method (*ICMPFilter) Set(ICMPType, bool)

is now replaced with

method (*ICMPFilter) Accept(ICMPType)
method (*ICMPFilter) Block(ICMPType)

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/182450043
2014-12-04 17:32:07 +09:00
Mikio Hara
597bbe1988 x/net/ipv6: use new import path for icmp
LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/183040043
2014-12-03 12:33:31 +09:00
Mikio Hara
7ad508c2a7 x/net/ipv6: add package example
LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/176960043
2014-11-19 06:09:29 +09:00