Commit Graph

3 Commits

Author SHA1 Message Date
Mikio Hara
175ced2c8a go.net/ipv4: remove arguments from example functions
The testing packege expects that Example functions in each
package don't take any arguments. Will do so for the safety.

R=iant, dave, minux.ma, adg
CC=golang-dev
https://golang.org/cl/6591076
2012-12-01 01:06:07 +09:00
David Symonds
cf0ed346d5 go.net/ipv4: Disable an example.
This is an example that isn't executed normally anyway
because the function has arguments. Adding an underscore prefix
makes it easier to exclude it from automated tools.

R=adg, r, dave
CC=golang-dev
https://golang.org/cl/6570062
2012-09-28 17:04:59 +10:00
Mikio Hara
d2e5a1215d go.net/ipv4: new package
Package ipv4 implements IP-level socket options for the Internet
Protocol version 4. It also provides raw IP socket access methods
including IPv4 header manipulation.

Fixes golang/go#3684.
Fixes golang/go#3820.

This CL requires CL 6426047;
net: add read, write message methods to IPConn, UDPConn

R=rsc, dave, alex.brainman
CC=gobot, golang-dev
https://golang.org/cl/6482044
2012-09-26 21:03:09 +09:00