From ec2d13567e396e2e1537d05321785c3d772d1e5b Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 21 Feb 2021 13:16:57 +0000 Subject: [PATCH] Introduces FreeBSD's SO_USER_COOKIE among socketopt's options. --- ext/socket/mkconstants.rb | 1 + 1 file changed, 1 insertion(+) 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