bpo-44077: Expose IP_RECVTOS in the socket module (GH-25992)

Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
This commit is contained in:
Georg Sauthoff 2021-06-20 22:08:07 +02:00 committed by GitHub
parent 7265b277fa
commit a317778fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 0 deletions

View file

@ -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