Blame python-2.5.1-socketmodule-constants.patch

b7ef3fa
--- Python-2.5.1i-orig/Modules/socketmodule.c	2008-03-07 16:38:47.000000000 -0500
b7ef3fa
+++ Python-2.5.1/Modules/socketmodule.c	2008-03-07 16:41:09.000000000 -0500
b7ef3fa
@@ -4507,6 +4507,60 @@
b7ef3fa
 #ifdef	SO_TYPE
b7ef3fa
 	PyModule_AddIntConstant(m, "SO_TYPE", SO_TYPE);
b7ef3fa
 #endif
b7ef3fa
+#ifdef	SO_SNDBUFFORCE
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_SNDBUFFORCE", SO_SNDBUFFORCE);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_RCVBUFFORCE
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_RCVBUFFORCE", SO_RCVBUFFORCE);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_NO_CHECK
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_NO_CHECK", SO_NO_CHECK);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_PRIORITY
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_PRIORITY", SO_PRIORITY);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_BSDCOMPAT
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_BSDCOMPAT", SO_BSDCOMPAT);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_PASSCRED
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_PASSCRED", SO_PASSCRED);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_PEERCRED
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_PEERCRED", SO_PEERCRED);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_SECURITY_AUTHENTICATION
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_SECURITY_AUTHENTICATION", SO_SECURITY_AUTHENTICATION);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_SECURITY_ENCRYPTION_TRANSPORT
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_SECURITY_ENCRYPTION_TRANSPORT", SO_SECURITY_ENCRYPTION_TRANSPORT);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_SECURITY_ENCRYPTION_NETWORK
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_SECURITY_ENCRYPTION_NETWORK", SO_SECURITY_ENCRYPTION_NETWORK);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_BINDTODEVICE
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_BINDTODEVICE", SO_BINDTODEVICE);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_ATTACH_FILTER
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_ATTACH_FILTER", SO_ATTACH_FILTER);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_DETACH_FILTER
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_DETACH_FILTER", SO_DETACH_FILTER);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_PEERNAME
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_PEERNAME", SO_PEERNAME);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_TIMESTAMP
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_TIMESTAMP", SO_TIMESTAMP);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_PEERSEC
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_PEERSEC", SO_PEERSEC);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_PASSSEC
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_PASSSEC", SO_PASSSEC);
b7ef3fa
+#endif
b7ef3fa
+#ifdef	SO_TIMESTAMPNS
b7ef3fa
+	PyModule_AddIntConstant(m, "SO_TIMESTAMPNS", SO_TIMESTAMPNS);
b7ef3fa
+#endif
b7ef3fa
 
b7ef3fa
 	/* Maximum number of connections for "listen" */
b7ef3fa
 #ifdef	SOMAXCONN