Index: Lib/plat-linux2/IN.py =================================================================== --- ./Lib/plat-linux2/IN.py (Revision 77754) +++ ./Lib/plat-linux2/IN.py (Arbeitskopie) @@ -436,43 +436,43 @@ # Included from asm/socket.h # Included from asm/sockios.h -FIOSETOWN = 0x8901 -SIOCSPGRP = 0x8902 -FIOGETOWN = 0x8903 -SIOCGPGRP = 0x8904 -SIOCATMARK = 0x8905 +FIOSETOWN = 0x8004667c +SIOCSPGRP = 0x80047308 +FIOGETOWN = 0x4004667b +SIOCGPGRP = 0x40047309 +SIOCATMARK = 0x40047307 SIOCGSTAMP = 0x8906 -SOL_SOCKET = 1 -SO_DEBUG = 1 -SO_REUSEADDR = 2 -SO_TYPE = 3 -SO_ERROR = 4 -SO_DONTROUTE = 5 -SO_BROADCAST = 6 -SO_SNDBUF = 7 -SO_RCVBUF = 8 -SO_KEEPALIVE = 9 -SO_OOBINLINE = 10 +SOL_SOCKET = 0xffff +SO_DEBUG = 0x0001 +SO_REUSEADDR = 0x0004 +SO_TYPE = 0x1008 +SO_ERROR = 0x1007 +SO_DONTROUTE = 0x0010 +SO_BROADCAST = 0x0020 +SO_SNDBUF = 0x1001 +SO_RCVBUF = 0x1002 +SO_KEEPALIVE = 0x0008 +SO_OOBINLINE = 0x0100 SO_NO_CHECK = 11 SO_PRIORITY = 12 -SO_LINGER = 13 +SO_LINGER = 0x0080 SO_BSDCOMPAT = 14 SO_PASSCRED = 16 SO_PEERCRED = 17 -SO_RCVLOWAT = 18 -SO_SNDLOWAT = 19 -SO_RCVTIMEO = 20 -SO_SNDTIMEO = 21 -SO_SECURITY_AUTHENTICATION = 22 -SO_SECURITY_ENCRYPTION_TRANSPORT = 23 -SO_SECURITY_ENCRYPTION_NETWORK = 24 +SO_RCVLOWAT = 0x1010 +SO_SNDLOWAT = 0x1011 +SO_RCVTIMEO = 0x1012 +SO_SNDTIMEO = 0x1013 +SO_SECURITY_AUTHENTICATION = 19 +SO_SECURITY_ENCRYPTION_TRANSPORT = 20 +SO_SECURITY_ENCRYPTION_NETWORK = 21 SO_BINDTODEVICE = 25 SO_ATTACH_FILTER = 26 SO_DETACH_FILTER = 27 SO_PEERNAME = 28 SO_TIMESTAMP = 29 SCM_TIMESTAMP = SO_TIMESTAMP -SO_ACCEPTCONN = 30 +SO_ACCEPTCONN = 0x1014 SOCK_STREAM = 1 SOCK_DGRAM = 2 SOCK_RAW = 3