mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #22378: socket module: add SO_MARK.
This commit is contained in:
parent
c58c7d487b
commit
ea07eb9469
1 changed files with 3 additions and 0 deletions
|
@ -6248,6 +6248,9 @@ PyInit__socket(void)
|
|||
#ifdef SO_PRIORITY
|
||||
PyModule_AddIntMacro(m, SO_PRIORITY);
|
||||
#endif
|
||||
#ifdef SO_MARK
|
||||
PyModule_AddIntMacro(m, SO_MARK);
|
||||
#endif
|
||||
|
||||
/* Maximum number of connections for "listen" */
|
||||
#ifdef SOMAXCONN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue