summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2021-12-12 11:08:19 +0000
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-09-21 17:15:54 +0900
commitd35bc88b37a9cfc491f3bc2aa35ec317febd8289 (patch)
tree1296e9ddb66a0c6fd285bd328b88509b98a7740a /ext
parent8cbbc061c40d0868491e0dc2c42f5cc5eb8d482d (diff)
sockopt adding Linux constants, SO_INCOMING_CPU/SO_INCOMING_NAPI_ID.
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/mkconstants.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb
index 9182abb838..5e6c0668f6 100644
--- a/ext/socket/mkconstants.rb
+++ b/ext/socket/mkconstants.rb
@@ -664,6 +664,8 @@ SO_MAX_PACING_RATE nil Cap the rate computed by transport layer. [bytes
SO_BPF_EXTENSIONS nil Query supported BPF extensions (Linux 3.14)
SO_SETFIB nil Set the associated routing table for the socket (FreeBSD)
SO_RTABLE nil Set the routing table for this socket (OpenBSD)
+SO_INCOMING_CPU nil Receive the cpu attached to the socket (Linux 3.19)
+SO_INCOMING_NAPI_ID nil Receive the napi ID attached to a RX queue (Linux 4.12)
SOPRI_INTERACTIVE nil Interactive socket priority
SOPRI_NORMAL nil Normal socket priority