]> Cypherpunks repositories - gostls13.git/commit
net: add network interface identification API
authorMikio Hara <mikioh.mikioh@gmail.com>
Fri, 3 Jun 2011 18:35:42 +0000 (14:35 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 3 Jun 2011 18:35:42 +0000 (14:35 -0400)
commit518331dfeadfe60b7ccb7402030ac8883858c54b
tree624e448e0ed5303367c4be03b216cef03e9ba1f3
parent84f291b1bd90e2fedd66000042d656e8e595a816
net: add network interface identification API

This CL introduces new API into package net to identify the network
interface.  A functionality of new API is very similar to RFC3493 -
"Interface Identification".

R=r, gri, bradfitz, robert.hencke, fullung, rsc
CC=golang-dev
https://golang.org/cl/4437087
src/pkg/net/Makefile
src/pkg/net/interface.go [new file with mode: 0644]
src/pkg/net/interface_bsd.go [new file with mode: 0644]
src/pkg/net/interface_linux.go [new file with mode: 0644]
src/pkg/net/interface_stub.go [new file with mode: 0644]
src/pkg/net/interface_test.go [new file with mode: 0644]