summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2021-02-21 13:16:57 +0000
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-09-21 15:48:34 +0900
commitec2d13567e396e2e1537d05321785c3d772d1e5b (patch)
treefee51f0efc964b3de20eff3f639b906b64182e02 /ext/socket
parent3f387e60ef87d61d5503132f02b96bba8caa32bd (diff)
Introduces FreeBSD's SO_USER_COOKIE among socketopt's options.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4206
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/mkconstants.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb
index 5e1fcc40d1..2d8998bdef 100644
--- a/ext/socket/mkconstants.rb
+++ b/ext/socket/mkconstants.rb
@@ -626,6 +626,7 @@ SO_SNDTIMEO nil Send timeout
SO_ACCEPTCONN nil Socket has had listen() called on it
SO_USELOOPBACK nil Bypass hardware when possible
SO_ACCEPTFILTER nil There is an accept filter
+SO_USER_COOKIE nil Setting an identifier for ipfw purpose mainly
SO_DONTTRUNC nil Retain unread data
SO_WANTMORE nil Give a hint when more data is ready
SO_WANTOOBFLAG nil OOB data is wanted in MSG_FLAG on receive