commit | 2c4c8ecb78268216043e44dec6fd50f638b62158 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Tue Mar 23 10:19:11 2021 +0100 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Wed Mar 24 05:16:36 2021 +0000 |
tree | b046b7b32c3e5c315f7addd9b72ab4951e5a7da3 | |
parent | 08027d57d8cfb67dd4f9a0ce80f97ccabfe579da [diff] |
ipv4: use socket option consts from x/sys/unix on darwin Use the socket option constants defined in the golang.org/x/sys/unix package instead of duplicating them in this package. Note that for now, sysIP_RECVDSTADDR, sysIP_RECVIF, sysIP_RECVTTL and sysIP_PKTINFO still need to be defined because they are used in code shared with other platforms. Change-Id: I9bb953dc72dea19e9e9d84dc641346fe95bad070 Reviewed-on: https://go-review.googlesource.com/c/net/+/303909 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@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.