Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
abf5700a
Commit
abf5700a
authored
Feb 27, 2013
by
Brad Fitzpatrick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: add MSG_FASTOPEN to Linux
Update #4842 R=golang-dev, r CC=golang-dev
https://golang.org/cl/7369060
parent
9e19337d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
0 deletions
+7
-0
mkerrors.sh
src/pkg/syscall/mkerrors.sh
+4
-0
zerrors_linux_386.go
src/pkg/syscall/zerrors_linux_386.go
+1
-0
zerrors_linux_amd64.go
src/pkg/syscall/zerrors_linux_amd64.go
+1
-0
zerrors_linux_arm.go
src/pkg/syscall/zerrors_linux_arm.go
+1
-0
No files found.
src/pkg/syscall/mkerrors.sh
View file @
abf5700a
...
@@ -83,6 +83,10 @@ includes_Linux='
...
@@ -83,6 +83,10 @@ includes_Linux='
#include <net/if_arp.h>
#include <net/if_arp.h>
#include <net/route.h>
#include <net/route.h>
#include <netpacket/packet.h>
#include <netpacket/packet.h>
#ifndef MSG_FASTOPEN
#define MSG_FASTOPEN 0x20000000
#endif
'
'
includes_NetBSD
=
'
includes_NetBSD
=
'
...
...
src/pkg/syscall/zerrors_linux_386.go
View file @
abf5700a
...
@@ -528,6 +528,7 @@ const (
...
@@ -528,6 +528,7 @@ const (
MSG_DONTWAIT
=
0x40
MSG_DONTWAIT
=
0x40
MSG_EOR
=
0x80
MSG_EOR
=
0x80
MSG_ERRQUEUE
=
0x2000
MSG_ERRQUEUE
=
0x2000
MSG_FASTOPEN
=
0x20000000
MSG_FIN
=
0x200
MSG_FIN
=
0x200
MSG_MORE
=
0x8000
MSG_MORE
=
0x8000
MSG_NOSIGNAL
=
0x4000
MSG_NOSIGNAL
=
0x4000
...
...
src/pkg/syscall/zerrors_linux_amd64.go
View file @
abf5700a
...
@@ -528,6 +528,7 @@ const (
...
@@ -528,6 +528,7 @@ const (
MSG_DONTWAIT
=
0x40
MSG_DONTWAIT
=
0x40
MSG_EOR
=
0x80
MSG_EOR
=
0x80
MSG_ERRQUEUE
=
0x2000
MSG_ERRQUEUE
=
0x2000
MSG_FASTOPEN
=
0x20000000
MSG_FIN
=
0x200
MSG_FIN
=
0x200
MSG_MORE
=
0x8000
MSG_MORE
=
0x8000
MSG_NOSIGNAL
=
0x4000
MSG_NOSIGNAL
=
0x4000
...
...
src/pkg/syscall/zerrors_linux_arm.go
View file @
abf5700a
...
@@ -523,6 +523,7 @@ const (
...
@@ -523,6 +523,7 @@ const (
MSG_DONTWAIT
=
0x40
MSG_DONTWAIT
=
0x40
MSG_EOR
=
0x80
MSG_EOR
=
0x80
MSG_ERRQUEUE
=
0x2000
MSG_ERRQUEUE
=
0x2000
MSG_FASTOPEN
=
0x20000000
MSG_FIN
=
0x200
MSG_FIN
=
0x200
MSG_MORE
=
0x8000
MSG_MORE
=
0x8000
MSG_NOSIGNAL
=
0x4000
MSG_NOSIGNAL
=
0x4000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment