mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
bpo-44077: Expose IP_RECVTOS in the socket module (GH-25992)
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
This commit is contained in:
parent
7265b277fa
commit
a317778fd5
4 changed files with 12 additions and 0 deletions
|
@ -8024,6 +8024,9 @@ PyInit__socket(void)
|
|||
#ifdef IP_RECVRETOPTS
|
||||
PyModule_AddIntMacro(m, IP_RECVRETOPTS);
|
||||
#endif
|
||||
#ifdef IP_RECVTOS
|
||||
PyModule_AddIntMacro(m, IP_RECVTOS);
|
||||
#endif
|
||||
#ifdef IP_RECVDSTADDR
|
||||
PyModule_AddIntMacro(m, IP_RECVDSTADDR);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue