mruby-socet: add socket constants
Introduced in Ruby3.2:
SO_INCOMING_CPU
SO_INCOMING_NAPI_ID
SO_RTABLE
SO_SETFIB
SO_USER_COOKIE
TCP_KEEPALIVE
TCP_CONNECTION_INFO
MODIFY
mrbgems/mruby-socket/src/const.cstub
mrbgems/mruby-socket/src/const.cstub
#if defined(SO_TYPE)
define_const(SO_TYPE);
#endif
+#if defined(SO_INCOMING_CPU)
+ define_const(SO_INCOMING_CPU);
+#endif
+#if defined(SO_INCOMING_NAPI_ID)
+ define_const(SO_INCOMING_NAPI_ID);
+#endif
+#if defined(SO_RTABLE)
+ define_const(SO_RTABLE);
+#endif
+#if defined(SO_SETFIB)
+ define_const(SO_SETFIB);
+#endif
+#if defined(SO_USER_COOKIE)
+ define_const(SO_USER_COOKIE);
+#endif
#if defined(SOCK_DGRAM)
define_const(SOCK_DGRAM);
#endif
#if defined(TCP_WINDOW_CLAMP)
define_const(TCP_WINDOW_CLAMP);
#endif
+#if defined(TCP_KEEPALIVE)
+ define_const(TCP_KEEPALIVE);
+#endif
+#if defined(TCP_CONNECTION_INFO)
+ define_const(TCP_CONNECTION_INFO);
+#endif

MODIFY
mrbgems/mruby-socket/src/const.def
mrbgems/mruby-socket/src/const.def
@@ -136,6 +136,11 @@ SO_SNDTIMEO
SO_SPLICE
SO_TIMESTAMP
SO_TYPE
+SO_INCOMING_CPU
+SO_INCOMING_NAPI_ID
+SO_RTABLE
+SO_SETFIB
+SO_USER_COOKIE
SOCK_DGRAM
SOCK_RAW
@@ -163,3 +168,5 @@ TCP_QUICKACK
TCP_SACK_ENABLE
TCP_SYNCNT
TCP_WINDOW_CLAMP
+TCP_KEEPALIVE
+TCP_CONNECTION_INFO

mruby-socet: add socket constants

Introduced in Ruby3.2:

- SO_INCOMING_CPU
- SO_INCOMING_NAPI_ID
- SO_RTABLE
- SO_SETFIB
- SO_USER_COOKIE
- TCP_KEEPALIVE
- TCP_CONNECTION_INFO