mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
- Issue #8235: _socket: Add the constant `SO_SETFIB
`. SO_SETFIB is
a socket option available on FreeBSD 7.1 and newer.
This commit is contained in:
parent
b5c2e6a33e
commit
f0f3795068
2 changed files with 6 additions and 0 deletions
|
@ -848,6 +848,9 @@ Library
|
||||||
|
|
||||||
- Issue #6247: The argparse module has been added to the standard library.
|
- Issue #6247: The argparse module has been added to the standard library.
|
||||||
|
|
||||||
|
- Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
|
||||||
|
a socket option available on FreeBSD 7.1 and newer.
|
||||||
|
|
||||||
Extension Modules
|
Extension Modules
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
|
@ -4551,6 +4551,9 @@ PyInit__socket(void)
|
||||||
#ifdef SO_TYPE
|
#ifdef SO_TYPE
|
||||||
PyModule_AddIntConstant(m, "SO_TYPE", SO_TYPE);
|
PyModule_AddIntConstant(m, "SO_TYPE", SO_TYPE);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SO_SETFIB
|
||||||
|
PyModule_AddIntConstant(m, "SO_SETFIB", SO_SETFIB);
|
||||||
|
#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