|
| 1 | +ord_names = { |
| 2 | + 1: b"accept", |
| 3 | + 2: b"bind", |
| 4 | + 3: b"closesocket", |
| 5 | + 4: b"connect", |
| 6 | + 5: b"getpeername", |
| 7 | + 6: b"getsockname", |
| 8 | + 7: b"getsockopt", |
| 9 | + 8: b"htonl", |
| 10 | + 9: b"htons", |
| 11 | + 10: b"inet_addr", |
| 12 | + 11: b"inet_ntoa", |
| 13 | + 12: b"ioctlsocket", |
| 14 | + 13: b"listen", |
| 15 | + 14: b"ntohl", |
| 16 | + 15: b"ntohs", |
| 17 | + 16: b"recv", |
| 18 | + 17: b"recvfrom", |
| 19 | + 18: b"select", |
| 20 | + 19: b"send", |
| 21 | + 20: b"sendto", |
| 22 | + 21: b"setsockopt", |
| 23 | + 22: b"shutdown", |
| 24 | + 23: b"socket", |
| 25 | + 24: b"MigrateWinsockConfiguration", |
| 26 | + 51: b"gethostbyaddr", |
| 27 | + 52: b"gethostbyname", |
| 28 | + 53: b"getprotobyname", |
| 29 | + 54: b"getprotobynumber", |
| 30 | + 55: b"getservbyname", |
| 31 | + 56: b"getservbyport", |
| 32 | + 57: b"gethostname", |
| 33 | + 101: b"WSAAsyncSelect", |
| 34 | + 102: b"WSAAsyncGetHostByAddr", |
| 35 | + 103: b"WSAAsyncGetHostByName", |
| 36 | + 104: b"WSAAsyncGetProtoByNumber", |
| 37 | + 105: b"WSAAsyncGetProtoByName", |
| 38 | + 106: b"WSAAsyncGetServByPort", |
| 39 | + 107: b"WSAAsyncGetServByName", |
| 40 | + 108: b"WSACancelAsyncRequest", |
| 41 | + 109: b"WSASetBlockingHook", |
| 42 | + 110: b"WSAUnhookBlockingHook", |
| 43 | + 111: b"WSAGetLastError", |
| 44 | + 112: b"WSASetLastError", |
| 45 | + 113: b"WSACancelBlockingCall", |
| 46 | + 114: b"WSAIsBlocking", |
| 47 | + 115: b"WSAStartup", |
| 48 | + 116: b"WSACleanup", |
| 49 | + 151: b"__WSAFDIsSet", |
| 50 | + 500: b"WEP", |
| 51 | + 1000: b"WSApSetPostRoutine", |
| 52 | + 1100: b"inet_network", |
| 53 | + 1101: b"getnetbyname", |
| 54 | + 1102: b"rcmd", |
| 55 | + 1103: b"rexec", |
| 56 | + 1104: b"rresvport", |
| 57 | + 1105: b"sethostname", |
| 58 | + 1106: b"dn_expand", |
| 59 | + 1107: b"WSARecvEx", |
| 60 | + 1108: b"s_perror", |
| 61 | + 1109: b"GetAddressByNameA", |
| 62 | + 1110: b"GetAddressByNameW", |
| 63 | + 1111: b"EnumProtocolsA", |
| 64 | + 1112: b"EnumProtocolsW", |
| 65 | + 1113: b"GetTypeByNameA", |
| 66 | + 1114: b"GetTypeByNameW", |
| 67 | + 1115: b"GetNameByTypeA", |
| 68 | + 1116: b"GetNameByTypeW", |
| 69 | + 1117: b"SetServiceA", |
| 70 | + 1118: b"SetServiceW", |
| 71 | + 1119: b"GetServiceA", |
| 72 | + 1120: b"GetServiceW", |
| 73 | + 1130: b"NPLoadNameSpaces", |
| 74 | + 1140: b"TransmitFile", |
| 75 | + 1141: b"AcceptEx", |
| 76 | + 1142: b"GetAcceptExSockaddrs", |
| 77 | +} |
0 commit comments