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 = 0x400b +SO_PRIORITY = 0x400c +SO_LINGER = 0x0080 +SO_BSDCOMPAT = 0x400e +SO_PASSCRED = 0x4010 +SO_PEERCRED = 0x4011 +SO_RCVLOWAT = 0x1004 +SO_SNDLOWAT = 0x1003 +SO_RCVTIMEO = 0x1006 +SO_SNDTIMEO = 0x1005 +SO_SECURITY_AUTHENTICATION = 0x4016 +SO_SECURITY_ENCRYPTION_TRANSPORT = 0x4017 +SO_SECURITY_ENCRYPTION_NETWORK = 0x4018 +SO_BINDTODEVICE = 0x4019 +SO_ATTACH_FILTER = 0x401a +SO_DETACH_FILTER = 0x401b +SO_PEERNAME = 0x2000 +SO_TIMESTAMP = 0x4012 SCM_TIMESTAMP = SO_TIMESTAMP -SO_ACCEPTCONN = 30 +SO_ACCEPTCONN = 0x401c SOCK_STREAM = 1 SOCK_DGRAM = 2 SOCK_RAW = 3