Skip to content

Commit 8b9202b

Browse files
authored
Merge pull request #906 from dark-lbp/add_socket_options
Add missing SO_REUSEPORT option
2 parents 5067d66 + 3e1c028 commit 8b9202b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

qiling/os/posix/const.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"SO_OOBINLINE" : 0x000a,
6767
"SO_SNDBUF" : 0x0007,
6868
"SO_RCVBUF" : 0x0008,
69+
"SO_REUSEPORT" : 0x000f,
6970
"SO_SNDLOWAT" : 0x0013,
7071
"SO_RCVLOWAT" : 0x0012,
7172
"SO_SNDTIMEO" : 0x0015,
@@ -246,6 +247,7 @@
246247
"SO_OOBINLINE" : 0x000a,
247248
"SO_SNDBUF" : 0x0007,
248249
"SO_RCVBUF" : 0x0008,
250+
"SO_REUSEPORT" : 0x000f,
249251
"SO_SNDLOWAT" : 0x0013,
250252
"SO_RCVLOWAT" : 0x0012,
251253
"SO_SNDTIMEO" : 0x0015,
@@ -336,6 +338,7 @@
336338
"SO_BROADCAST" : 0x0020,
337339
"SO_LINGER" : 0x0080,
338340
"SO_OOBINLINE" : 0x0100,
341+
"SO_REUSEPORT" : 0x0200,
339342
"SO_SNDBUF" : 0x1001,
340343
"SO_RCVBUF" : 0x1002,
341344
"SO_SNDLOWAT" : 0x1003,

0 commit comments

Comments
 (0)