{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/28173","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/28173/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/28173/comments","events_url":"https://api.github.com/repos/golang/go/issues/28173/events","html_url":"https://github.com/golang/go/issues/28173","id":369479803,"node_id":"MDU6SXNzdWUzNjk0Nzk4MDM=","number":28173,"title":"x/sys/unix: missing SOL_TIMESTAMPING_RX_HARDWARE constant(s)?","user":{"login":"xuesongbj","id":18476085,"node_id":"MDQ6VXNlcjE4NDc2MDg1","avatar_url":"https://avatars3.githubusercontent.com/u/18476085?v=4","gravatar_id":"","url":"https://api.github.com/users/xuesongbj","html_url":"https://github.com/xuesongbj","followers_url":"https://api.github.com/users/xuesongbj/followers","following_url":"https://api.github.com/users/xuesongbj/following{/other_user}","gists_url":"https://api.github.com/users/xuesongbj/gists{/gist_id}","starred_url":"https://api.github.com/users/xuesongbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuesongbj/subscriptions","organizations_url":"https://api.github.com/users/xuesongbj/orgs","repos_url":"https://api.github.com/users/xuesongbj/repos","events_url":"https://api.github.com/users/xuesongbj/events{/privacy}","received_events_url":"https://api.github.com/users/xuesongbj/received_events","type":"User","site_admin":false},"labels":[{"id":357033853,"node_id":"MDU6TGFiZWwzNTcwMzM4NTM=","url":"https://api.github.com/repos/golang/go/labels/WaitingForInfo","name":"WaitingForInfo","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/22","html_url":"https://github.com/golang/go/milestone/22","labels_url":"https://api.github.com/repos/golang/go/milestones/22/labels","id":1067491,"node_id":"MDk6TWlsZXN0b25lMTA2NzQ5MQ==","number":22,"title":"Unreleased","description":"Issues that do not affect released Go code and binaries.\r\n","creator":{"login":"rsc","id":104030,"node_id":"MDQ6VXNlcjEwNDAzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":1010,"closed_issues":1663,"state":"open","created_at":"2015-04-14T18:48:22Z","updated_at":"2018-10-19T16:01:50Z","due_on":"2099-12-31T08:00:00Z","closed_at":null},"comments":4,"created_at":"2018-10-12T09:51:17Z","updated_at":"2018-10-19T16:01:49Z","closed_at":"2018-10-19T16:01:49Z","author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n\r\n### What version of Go are you using (`go version`)?\r\nGo version 1.10.4  linux/amd64\r\n\r\n### Does this issue reproduce with the latest release?\r\nNo(1.10.4)\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n```\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOCACHE=\"/Users/David/Library/Caches/go-build\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/David/data/go/go.deps:/Users/David/data/go/go.test\"\r\nGORACE=\"\"\r\nGOROOT=\"/Users/David/data/go1.10\"\r\nGOTMPDIR=\"\"\r\nGOTOOLDIR=\"/Users/David/data/go1.10/pkg/tool/darwin_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"clang\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\nPKG_CONFIG=\"pkg-config\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common\"\r\n```\r\n\r\n### What did you do?\r\nThe system call does not support the SO_TIMESTAMPING setting. Unable to get the socket to return the raw unmodified packet timestamp generated by the hardware.\r\n\r\nNo SOF_TIMESTAMPING_RX_HARDWARE constant found.\r\n```\r\nsyscall.SetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SOF_TIMESTAMPING_RX_HARDWARE, 1)\r\n```\r\n\r\n### What did you expect to see?\r\nAble to support this feature.\r\n\r\n### What did you see instead?\r\n```\r\nundefined: syscall.SOF_TIMESTAMPING_RX_HARDWARE\r\n```"}}
{"actor":{"display_login":"gopherbot"}}