Skip to content

Commit

Permalink
sockopt adding Linux constants, SO_INCOMING_CPU/SO_INCOMING_NAPI_ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen authored and hsbt committed Sep 21, 2022
1 parent 8cbbc06 commit d35bc88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/socket/mkconstants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,8 @@ def def_intern(func_name, pat, prefix_optional=nil)
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
Expand Down

0 comments on commit d35bc88

Please sign in to comment.