mirror of
https://github.com/python/cpython.git
synced 2025-10-14 18:59:46 +00:00
GH-100813: Add socket.IP_PKTINFO
constant (#10294)
This commit is contained in:
parent
e47b13934b
commit
7a50d6b5b0
3 changed files with 5 additions and 0 deletions
|
@ -8351,6 +8351,9 @@ PyInit__socket(void)
|
|||
#ifdef IP_TRANSPARENT
|
||||
PyModule_AddIntMacro(m, IP_TRANSPARENT);
|
||||
#endif
|
||||
#ifdef IP_PKTINFO
|
||||
PyModule_AddIntMacro(m, IP_PKTINFO);
|
||||
#endif
|
||||
#ifdef IP_BIND_ADDRESS_NO_PORT
|
||||
PyModule_AddIntMacro(m, IP_BIND_ADDRESS_NO_PORT);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue