• Home
  • Raw
  • Download

Lines Matching refs:PyModule_AddIntConstant

7234     PyModule_AddIntConstant(m, "AF_VSOCK", AF_VSOCK);
7235 PyModule_AddIntConstant(m, "SO_VM_SOCKETS_BUFFER_SIZE", 0);
7236 PyModule_AddIntConstant(m, "SO_VM_SOCKETS_BUFFER_MIN_SIZE", 1);
7237 PyModule_AddIntConstant(m, "SO_VM_SOCKETS_BUFFER_MAX_SIZE", 2);
7238 PyModule_AddIntConstant(m, "VMADDR_CID_ANY", 0xffffffff);
7239 PyModule_AddIntConstant(m, "VMADDR_PORT_ANY", 0xffffffff);
7240 PyModule_AddIntConstant(m, "VMADDR_CID_HOST", 2);
7241 PyModule_AddIntConstant(m, "VM_SOCKETS_INVALID_VERSION", 0xffffffff);
7242 PyModule_AddIntConstant(m, "IOCTL_VM_SOCKETS_GET_LOCAL_CID", _IO(7, 0xb9));
7530 PyModule_AddIntConstant(m, "SOMAXCONN", 5); /* Common value */
7613 PyModule_AddIntConstant(m, "SOL_IP", 0);
7633 PyModule_AddIntConstant(m, "SOL_TCP", 6);
7638 PyModule_AddIntConstant(m, "SOL_UDP", 17);
7672 PyModule_AddIntConstant(m, "CAN_BCM_TX_SETUP", TX_SETUP);
7673 PyModule_AddIntConstant(m, "CAN_BCM_TX_DELETE", TX_DELETE);
7674 PyModule_AddIntConstant(m, "CAN_BCM_TX_READ", TX_READ);
7675 PyModule_AddIntConstant(m, "CAN_BCM_TX_SEND", TX_SEND);
7676 PyModule_AddIntConstant(m, "CAN_BCM_RX_SETUP", RX_SETUP);
7677 PyModule_AddIntConstant(m, "CAN_BCM_RX_DELETE", RX_DELETE);
7678 PyModule_AddIntConstant(m, "CAN_BCM_RX_READ", RX_READ);
7679 PyModule_AddIntConstant(m, "CAN_BCM_TX_STATUS", TX_STATUS);
7680 PyModule_AddIntConstant(m, "CAN_BCM_TX_EXPIRED", TX_EXPIRED);
7681 PyModule_AddIntConstant(m, "CAN_BCM_RX_STATUS", RX_STATUS);
7682 PyModule_AddIntConstant(m, "CAN_BCM_RX_TIMEOUT", RX_TIMEOUT);
7683 PyModule_AddIntConstant(m, "CAN_BCM_RX_CHANGED", RX_CHANGED);
7686 PyModule_AddIntConstant(m, "CAN_BCM_SETTIMER", SETTIMER);
7687 PyModule_AddIntConstant(m, "CAN_BCM_STARTTIMER", STARTTIMER);
7688 PyModule_AddIntConstant(m, "CAN_BCM_TX_COUNTEVT", TX_COUNTEVT);
7689 PyModule_AddIntConstant(m, "CAN_BCM_TX_ANNOUNCE", TX_ANNOUNCE);
7690 PyModule_AddIntConstant(m, "CAN_BCM_TX_CP_CAN_ID", TX_CP_CAN_ID);
7691 PyModule_AddIntConstant(m, "CAN_BCM_RX_FILTER_ID", RX_FILTER_ID);
7692 PyModule_AddIntConstant(m, "CAN_BCM_RX_CHECK_DLC", RX_CHECK_DLC);
7693 PyModule_AddIntConstant(m, "CAN_BCM_RX_NO_AUTOTIMER", RX_NO_AUTOTIMER);
7694 PyModule_AddIntConstant(m, "CAN_BCM_RX_ANNOUNCE_RESUME", RX_ANNOUNCE_RESUME);
7695 PyModule_AddIntConstant(m, "CAN_BCM_TX_RESET_MULTI_IDX", TX_RESET_MULTI_IDX);
7696 PyModule_AddIntConstant(m, "CAN_BCM_RX_RTR_FRAME", RX_RTR_FRAME);
7699 PyModule_AddIntConstant(m, "CAN_BCM_CAN_FD_FRAME", CAN_FD_FRAME);
7729 PyModule_AddIntConstant(m, "IPPROTO_IP", 0);
7737 PyModule_AddIntConstant(m, "IPPROTO_ICMP", 1);
7757 PyModule_AddIntConstant(m, "IPPROTO_TCP", 6);
7768 PyModule_AddIntConstant(m, "IPPROTO_UDP", 17);
7837 PyModule_AddIntConstant(m, "IPPROTO_RAW", 255);
7862 PyModule_AddIntConstant(m, "IPPORT_RESERVED", 1024);
7867 PyModule_AddIntConstant(m, "IPPORT_USERRESERVED", 5000);
7874 PyModule_AddIntConstant(m, "INADDR_ANY", 0x00000000);
7879 PyModule_AddIntConstant(m, "INADDR_BROADCAST", 0xffffffff);
7884 PyModule_AddIntConstant(m, "INADDR_LOOPBACK", 0x7F000001);
7889 PyModule_AddIntConstant(m, "INADDR_UNSPEC_GROUP", 0xe0000000);
7892 PyModule_AddIntConstant(m, "INADDR_ALLHOSTS_GROUP",
7895 PyModule_AddIntConstant(m, "INADDR_ALLHOSTS_GROUP", 0xe0000001);
7900 PyModule_AddIntConstant(m, "INADDR_MAX_LOCAL_GROUP", 0xe00000ff);
7905 PyModule_AddIntConstant(m, "INADDR_NONE", 0xffffffff);
8241 PyModule_AddIntConstant(m, "SHUT_RD", SD_RECEIVE);
8243 PyModule_AddIntConstant(m, "SHUT_RD", 0);
8248 PyModule_AddIntConstant(m, "SHUT_WR", SD_SEND);
8250 PyModule_AddIntConstant(m, "SHUT_WR", 1);
8255 PyModule_AddIntConstant(m, "SHUT_RDWR", SD_BOTH);
8257 PyModule_AddIntConstant(m, "SHUT_RDWR", 2);