]> Cypherpunks repositories - gostls13.git/commit
net: add IP-level socket option helpers for Unix variants
authorMikio Hara <mikioh.mikioh@gmail.com>
Wed, 11 Jan 2012 00:53:32 +0000 (09:53 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Wed, 11 Jan 2012 00:53:32 +0000 (09:53 +0900)
commitcbdbdc4f616f65906e6e6d7c958368c033add4e8
tree94556b2d09e9d6ea60a5396afeb9a28c9f10250c
parent6a0e6cc7f41d49590c12c7affa9d145371a88cad
net: add IP-level socket option helpers for Unix variants

Also reorganize socket options stuff but there are no API behavioral
changes.

R=rsc, fullung
CC=golang-dev
https://golang.org/cl/5494067
18 files changed:
src/pkg/net/Makefile
src/pkg/net/interface.go
src/pkg/net/multicast_test.go
src/pkg/net/sock.go
src/pkg/net/sockopt.go [new file with mode: 0644]
src/pkg/net/sockopt_bsd.go [moved from src/pkg/net/sock_bsd.go with 96% similarity]
src/pkg/net/sockopt_linux.go [moved from src/pkg/net/sock_linux.go with 95% similarity]
src/pkg/net/sockopt_windows.go [moved from src/pkg/net/sock_windows.go with 96% similarity]
src/pkg/net/sockoptip.go [new file with mode: 0644]
src/pkg/net/sockoptip_bsd.go [new file with mode: 0644]
src/pkg/net/sockoptip_darwin.go [new file with mode: 0644]
src/pkg/net/sockoptip_freebsd.go [new file with mode: 0644]
src/pkg/net/sockoptip_linux.go [new file with mode: 0644]
src/pkg/net/sockoptip_openbsd.go [new file with mode: 0644]
src/pkg/net/sockoptip_windows.go [new file with mode: 0644]
src/pkg/net/udpsock_posix.go
src/pkg/net/unicast_test.go [new file with mode: 0644]
src/pkg/syscall/syscall_windows.go