Home
last modified time | relevance | path

Searched refs:PyModule_AddIntMacro (Results 1 – 8 of 8) sorted by relevance

/external/autotest/client/deps/lansim/src/
Dwrapper_linux_if.c34 PyModule_AddIntMacro(m, IFNAMSIZ); in _init_linux_if_h()
35 PyModule_AddIntMacro(m, IFALIASZ); in _init_linux_if_h()
78 PyModule_AddIntMacro(m, IFF_UP); in _init_linux_if_h()
79 PyModule_AddIntMacro(m, IFF_BROADCAST); in _init_linux_if_h()
80 PyModule_AddIntMacro(m, IFF_DEBUG); in _init_linux_if_h()
81 PyModule_AddIntMacro(m, IFF_LOOPBACK); in _init_linux_if_h()
82 PyModule_AddIntMacro(m, IFF_POINTOPOINT); in _init_linux_if_h()
83 PyModule_AddIntMacro(m, IFF_NOTRAILERS); in _init_linux_if_h()
84 PyModule_AddIntMacro(m, IFF_RUNNING); in _init_linux_if_h()
85 PyModule_AddIntMacro(m, IFF_NOARP); in _init_linux_if_h()
[all …]
Dwrapper_sys_ioctl.c33 PyModule_AddIntMacro(m, SIOCADDRT); in _init_sys_ioctl_h()
34 PyModule_AddIntMacro(m, SIOCDELRT); in _init_sys_ioctl_h()
35 PyModule_AddIntMacro(m, SIOCRTMSG); in _init_sys_ioctl_h()
38 PyModule_AddIntMacro(m, SIOCGIFNAME); in _init_sys_ioctl_h()
39 PyModule_AddIntMacro(m, SIOCSIFLINK); in _init_sys_ioctl_h()
40 PyModule_AddIntMacro(m, SIOCGIFCONF); in _init_sys_ioctl_h()
41 PyModule_AddIntMacro(m, SIOCGIFFLAGS); in _init_sys_ioctl_h()
42 PyModule_AddIntMacro(m, SIOCSIFFLAGS); in _init_sys_ioctl_h()
43 PyModule_AddIntMacro(m, SIOCGIFADDR); in _init_sys_ioctl_h()
44 PyModule_AddIntMacro(m, SIOCSIFADDR); in _init_sys_ioctl_h()
[all …]
Dwrapper_linux_if_tun.c32 PyModule_AddIntMacro(m, TUN_READQ_SIZE); in _init_linux_if_tun_h()
34 PyModule_AddIntMacro(m, TUN_TUN_DEV); in _init_linux_if_tun_h()
35 PyModule_AddIntMacro(m, TUN_TAP_DEV); in _init_linux_if_tun_h()
36 PyModule_AddIntMacro(m, TUN_TYPE_MASK); in _init_linux_if_tun_h()
39 PyModule_AddIntMacro(m, TUNSETNOCSUM); in _init_linux_if_tun_h()
40 PyModule_AddIntMacro(m, TUNSETDEBUG); in _init_linux_if_tun_h()
41 PyModule_AddIntMacro(m, TUNSETIFF); in _init_linux_if_tun_h()
42 PyModule_AddIntMacro(m, TUNSETPERSIST); in _init_linux_if_tun_h()
43 PyModule_AddIntMacro(m, TUNSETOWNER); in _init_linux_if_tun_h()
44 PyModule_AddIntMacro(m, TUNSETLINK); in _init_linux_if_tun_h()
[all …]
/external/python/cpython2/Doc/c-api/
Dmodule.rst107 .. c:function:: int PyModule_AddIntMacro(PyObject *module, macro)
110 *macro*. For example ``PyModule_AddIntMacro(module, AF_INET)`` adds the int
/external/python/cpython2/Include/
Dmodsupport.h43 #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c) macro
/external/python/cpython2/Modules/
Dsocketmodule.c4822 PyModule_AddIntMacro(m, AF_PACKET);
4825 PyModule_AddIntMacro(m, PF_PACKET);
4828 PyModule_AddIntMacro(m, PACKET_HOST);
4831 PyModule_AddIntMacro(m, PACKET_BROADCAST);
4834 PyModule_AddIntMacro(m, PACKET_MULTICAST);
4837 PyModule_AddIntMacro(m, PACKET_OTHERHOST);
4840 PyModule_AddIntMacro(m, PACKET_OUTGOING);
4843 PyModule_AddIntMacro(m, PACKET_LOOPBACK);
4846 PyModule_AddIntMacro(m, PACKET_FASTROUTE);
/external/python/cpython2/Modules/_io/
D_iomodule.c654 if (PyModule_AddIntMacro(m, DEFAULT_BUFFER_SIZE) < 0) in init_io()
/external/python/cpython2/Doc/whatsnew/
D2.6.rst3054 and :c:macro:`PyModule_AddIntMacro()`. (Contributed by