mirror of
https://github.com/python/cpython.git
synced 2025-09-09 18:32:22 +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
|
#ifdef SO_PRIORITY
|
||||||
PyModule_AddIntMacro(m, SO_PRIORITY);
|
PyModule_AddIntMacro(m, SO_PRIORITY);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SO_MARK
|
||||||
|
PyModule_AddIntMacro(m, SO_MARK);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Maximum number of connections for "listen" */
|
/* Maximum number of connections for "listen" */
|
||||||
#ifdef SOMAXCONN
|
#ifdef SOMAXCONN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue