commit | fa69b94a3b58e78ecdde45ef38891b5026a9f8a6 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Fri Aug 04 11:37:42 2017 +0200 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Wed May 22 13:53:03 2019 +0000 |
tree | cbee93a186b7e0576cc2c34b9541c44022bf8800 | |
parent | 018c4d40a106a7ae83689758294fcd8d23850745 [diff] |
internal/socket: use AF_* and SOCK_RAW constants from x/sys Use the AF_UNSPEC, AF_INET, AF_INET6 and SOCK_RAW constants from golang.org/x/sys instead of locally deriving them from the C headers (or hard coding them in the case of Windows). Change-Id: I37fe61d0435b6c615cd767eef38380db4b4af7b1 Reviewed-on: https://go-review.googlesource.com/c/net/+/53310 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.