Index: Lib/plat-linux2/IN.py =================================================================== --- ./Lib/plat-linux2/IN.py (Revision 77754) +++ ./Lib/plat-linux2/IN.py (Arbeitskopie) @@ -442,37 +442,37 @@ SIOCGPGRP = 0x8904 SIOCATMARK = 0x8905 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 -SO_NO_CHECK = 11 -SO_PRIORITY = 12 -SO_LINGER = 13 -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_BINDTODEVICE = 25 -SO_ATTACH_FILTER = 26 -SO_DETACH_FILTER = 27 -SO_PEERNAME = 28 -SO_TIMESTAMP = 29 +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 = 0x000b +SO_PRIORITY = 0x000c +SO_LINGER = 0x0080 +SO_BSDCOMPAT = 0x0400 +SO_PASSCRED = 0x0002 +SO_PEERCRED = 0x0040 +SO_RCVLOWAT = 0x0800 +SO_SNDLOWAT = 0x1000 +SO_RCVTIMEO = 0x2000 +SO_SNDTIMEO = 0x4000 +SO_SECURITY_AUTHENTICATION = 0x5001 +SO_SECURITY_ENCRYPTION_TRANSPORT = 0x5002 +SO_SECURITY_ENCRYPTION_NETWORK = 0x5004 +SO_BINDTODEVICE = 0x000d +SO_ATTACH_FILTER = 0x001a +SO_DETACH_FILTER = 0x001b +SO_PEERNAME = 0x001c +SO_TIMESTAMP = 0x001d SCM_TIMESTAMP = SO_TIMESTAMP -SO_ACCEPTCONN = 30 +SO_ACCEPTCONN = 0x8000 SOCK_STREAM = 1 SOCK_DGRAM = 2 SOCK_RAW = 3