diff options
author | maho <maho@FreeBSD.org> | 2008-01-12 08:44:37 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2008-01-12 08:44:37 +0800 |
commit | 06a0763a41e87c681fe3be1cbaf585d5f2e07383 (patch) | |
tree | af3bc1aecdbafd73f1383c9f6ee12cff4dfe048b /editors | |
parent | 0a5c80926a3198b377c3dc0a9351005a21609375 (diff) | |
download | freebsd-ports-gnome-06a0763a41e87c681fe3be1cbaf585d5f2e07383.tar.gz freebsd-ports-gnome-06a0763a41e87c681fe3be1cbaf585d5f2e07383.tar.zst freebsd-ports-gnome-06a0763a41e87c681fe3be1cbaf585d5f2e07383.zip |
Update to SRC680_m242.
* FreeBSD 8 support, better amd64 support and installation [1].
Submitted by: jkim [1]
Diffstat (limited to 'editors')
-rw-r--r-- | editors/openoffice-3-devel/Makefile | 21 | ||||
-rw-r--r-- | editors/openoffice-3-devel/distinfo | 6 | ||||
-rw-r--r-- | editors/openoffice-3-devel/files/patch-i85126 | 119 | ||||
-rw-r--r-- | editors/openoffice-3-devel/files/patch-i85127 | 2397 | ||||
-rw-r--r-- | editors/openoffice.org-2-devel/Makefile | 21 | ||||
-rw-r--r-- | editors/openoffice.org-2-devel/distinfo | 6 | ||||
-rw-r--r-- | editors/openoffice.org-2-devel/files/patch-i85126 | 119 | ||||
-rw-r--r-- | editors/openoffice.org-2-devel/files/patch-i85127 | 2397 | ||||
-rw-r--r-- | editors/openoffice.org-3-devel/Makefile | 21 | ||||
-rw-r--r-- | editors/openoffice.org-3-devel/distinfo | 6 | ||||
-rw-r--r-- | editors/openoffice.org-3-devel/files/patch-i85126 | 119 | ||||
-rw-r--r-- | editors/openoffice.org-3-devel/files/patch-i85127 | 2397 | ||||
-rw-r--r-- | editors/openoffice.org-vcltesttool/Makefile | 21 | ||||
-rw-r--r-- | editors/openoffice.org-vcltesttool/distinfo | 6 | ||||
-rw-r--r-- | editors/openoffice.org-vcltesttool/files/patch-i85126 | 119 | ||||
-rw-r--r-- | editors/openoffice.org-vcltesttool/files/patch-i85127 | 2397 |
16 files changed, 10124 insertions, 48 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile index 26150fc00034..18d714413dff 100644 --- a/editors/openoffice-3-devel/Makefile +++ b/editors/openoffice-3-devel/Makefile @@ -7,7 +7,6 @@ PORTNAME?= openoffice.org PORTVERSION?= 2.4.${SNAPDATE} -PORTREVISION= 1 CATEGORIES+= editors java MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \ http://openoffice.lunarshells.com/sources/ \ @@ -72,10 +71,10 @@ FREEBSD_ENV_SET= FreeBSDX86Env.Set .endif CODELINE= 680 -MILESTONE?= 241 +MILESTONE?= 242 OOOTAG?= SRC680_m${MILESTONE} OOOSRC?= OOo_${OOOTAG}_source${EXTRACT_SUFX} -SNAPDATE= 20071219 +SNAPDATE= 20080109 INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG} EXECBASE?= openoffice.org-${OOOTAG} .if defined(WITH_CWS) @@ -250,6 +249,10 @@ post-install: @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-spadmin @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-swriter @${ECHO_CMD} "" > ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ + ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} @${REINPLACE_CMD} -e '/^Exec/s/printeradmin/spadmin/' \ ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/*.desktop @for app in base calc draw impress math printeradmin writer; do \ @@ -264,6 +267,8 @@ post-install: ${DESKTOPDIR}/${EXECBASE} @${ECHO_CMD} "share/applications/${EXECBASE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE} + @${ECHO_CMD} "@exec ${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @for dir in `ls ${ICONS}/hicolor | ${GREP} -v CVS`; do \ for app in base calc draw impress math printeradmin writer; do \ if [ -r ${ICONS}/hicolor/$${dir}/apps/$${app}.png ]; then \ @@ -278,12 +283,10 @@ post-install: ${ECHO_CMD} "share/icons/hicolor/$${dir}/mimetypes/$${file}" >> ${TMPPLIST} ; \ done ; \ done - @${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE} - @${ECHO_CMD} "@exec ${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ - ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} + @${PREFIX}/bin/gtk-update-icon-cache -q -f ${PREFIX}/share/icons/hicolor 2>/dev/null || ${TRUE} + @${ECHO_CMD} "@unexec ${RM} %D/share/icons/hicolor/icon-theme.cache 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@exec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE} @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ -e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \ diff --git a/editors/openoffice-3-devel/distinfo b/editors/openoffice-3-devel/distinfo index d5b702adc439..25a9ef888a52 100644 --- a/editors/openoffice-3-devel/distinfo +++ b/editors/openoffice-3-devel/distinfo @@ -1,6 +1,6 @@ -MD5 (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = 5565be2383ff8a212e625f53b3a92e20 -SHA256 (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = ea8677d631cc6b1c98e764625a716517a63a6100a8a80c806ea466f86500ba61 -SIZE (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = 317799155 +MD5 (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = d7548f079437b7e3cb534ed45a7c5a13 +SHA256 (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = 807418dbfa7bed810be5080130a23f2718e4448db5016dd96947e80a0cdd3d21 +SIZE (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = 318276319 MD5 (openoffice.org2/unowinreg.dll) = e3a0b76dcd876f3d721ee7183729153d SHA256 (openoffice.org2/unowinreg.dll) = f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c SIZE (openoffice.org2/unowinreg.dll) = 6144 diff --git a/editors/openoffice-3-devel/files/patch-i85126 b/editors/openoffice-3-devel/files/patch-i85126 new file mode 100644 index 000000000000..f70616a998e1 --- /dev/null +++ b/editors/openoffice-3-devel/files/patch-i85126 @@ -0,0 +1,119 @@ +Merge from Linux CWS pj87 (#i83022#: Make bridges warning free) + +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 16 Sep 2006 15:46:23 -0000 1.3 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 8 Jan 2008 16:57:00 -0000 +@@ -358,6 +358,8 @@ + case X86_64_SSEDF_CLASS: + *pStructAlign++ = *reinterpret_cast<sal_uInt64 *>( *pSSE++ ); + break; ++ default: ++ break; + } + } + +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 16 Sep 2006 15:46:37 -0000 1.3 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 8 Jan 2008 16:57:00 -0000 +@@ -82,8 +82,8 @@ + void ** gpreg, void ** fpreg, void ** ovrflw, + sal_uInt64 * pRegisterReturn /* space for register return */ ) + { +- int nr_gpr = 0; //number of gpr registers used +- int nr_fpr = 0; //number of fpr regsiters used ++ unsigned int nr_gpr = 0; //number of gpr registers used ++ unsigned int nr_fpr = 0; //number of fpr registers used + + // return + typelib_TypeDescription * pReturnTypeDescr = 0; +@@ -492,7 +492,7 @@ + unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions( + void ** slots, unsigned char * code, + typelib_InterfaceTypeDescription const * type, sal_Int32 nFunctionOffset, +- sal_Int32 functionCount, sal_Int32 nVtableOffset ) ++ sal_Int32 /* functionCount */, sal_Int32 nVtableOffset ) + { + for ( sal_Int32 nPos = 0; nPos < type->nMembers; ++nPos ) + { +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 5 Jul 2007 09:01:44 -0000 1.4 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 8 Jan 2008 16:57:00 -0000 +@@ -180,8 +180,8 @@ + else + { + // try to lookup the symbol in the generated rtti map +- t_rtti_map::const_iterator iFind( m_generatedRttis.find( unoName ) ); +- if (iFind == m_generatedRttis.end()) ++ t_rtti_map::const_iterator iFind2( m_generatedRttis.find( unoName ) ); ++ if (iFind2 == m_generatedRttis.end()) + { + // we must generate it ! + // symbol and rtti-name is nearly identical, +@@ -210,7 +210,7 @@ + } + else // taking already generated rtti + { +- rtti = iFind->second; ++ rtti = iFind2->second; + } + } + } +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 5 Jul 2007 09:02:53 -0000 1.4 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 8 Jan 2008 16:57:00 -0000 +@@ -73,13 +73,13 @@ + // Let's figure out what is really going on here + { + fprintf( stderr, "= callVirtualMethod() =\nGPR's (%d): ", nGPR ); +- for ( int i = 0; i < nGPR; ++i ) ++ for ( unsigned int i = 0; i < nGPR; ++i ) + fprintf( stderr, "0x%lx, ", pGPR[i] ); + fprintf( stderr, "\nFPR's (%d): ", nFPR ); +- for ( int i = 0; i < nFPR; ++i ) ++ for ( unsigned int i = 0; i < nFPR; ++i ) + fprintf( stderr, "%f, ", pFPR[i] ); + fprintf( stderr, "\nStack (%d): ", nStack ); +- for ( int i = 0; i < nStack; ++i ) ++ for ( unsigned int i = 0; i < nStack; ++i ) + fprintf( stderr, "0x%lx, ", pStack[i] ); + fprintf( stderr, "\n" ); + } +@@ -328,6 +328,8 @@ + case typelib_TypeClass_DOUBLE: + INSERT_FLOAT_DOUBLE( pCppArgs[nPos], nFPR, pFPR, pStack ); + break; ++ default: ++ break; + } + + // no longer needed +@@ -440,16 +442,19 @@ + // is my surrogate + bridges::cpp_uno::shared::UnoInterfaceProxy * pThis + = static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy * >(pUnoI); ++#if OSL_DEBUG_LEVEL > 0 + typelib_InterfaceTypeDescription * pTypeDescr = pThis->pTypeDescr; ++#endif + + switch (pMemberDescr->eTypeClass) + { + case typelib_TypeClass_INTERFACE_ATTRIBUTE: + { ++#if OSL_DEBUG_LEVEL > 0 + // determine vtable call index + sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; + OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); +- ++#endif + VtableSlot aVtableSlot( + getVtableSlot( + reinterpret_cast< +@@ -494,10 +499,11 @@ + } + case typelib_TypeClass_INTERFACE_METHOD: + { ++#if OSL_DEBUG_LEVEL > 0 + // determine vtable call index + sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; + OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); +- ++#endif + VtableSlot aVtableSlot( + getVtableSlot( + reinterpret_cast< diff --git a/editors/openoffice-3-devel/files/patch-i85127 b/editors/openoffice-3-devel/files/patch-i85127 new file mode 100644 index 000000000000..3f50bdcb9668 --- /dev/null +++ b/editors/openoffice-3-devel/files/patch-i85127 @@ -0,0 +1,2397 @@ +- Add support for FreeBSD 8.x. +- Add patches for setup.py and Lib/posixfile.py. + +--- python/Python-2.3.4.patch 26 Oct 2007 11:27:52 -0000 1.20 ++++ python/Python-2.3.4.patch 8 Jan 2008 19:37:10 -0000 +@@ -131,6 +131,1625 @@ + name = 'posix' + linesep = '\n' + from posix import * ++*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Jan 8 14:12:12 2008 ++*************** ++*** 0 **** ++--- 1,515 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ __INTEL_COMPILER_with_FreeBSD_endian = 1 +++ __INTEL_COMPILER_with_FreeBSD_endian = 1 +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Jan 8 14:13:03 2008 ++*************** ++*** 0 **** ++--- 1,535 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ __GNUCLIKE_ASM = 3 +++ __GNUCLIKE_ASM = 2 +++ __GNUCLIKE___TYPEOF = 1 +++ __GNUCLIKE___OFFSETOF = 1 +++ __GNUCLIKE___SECTION = 1 +++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 +++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 +++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 +++ __GNUCLIKE_BUILTIN_VARARGS = 1 +++ __GNUCLIKE_BUILTIN_VAALIST = 1 +++ __GNUC_VA_LIST_COMPATIBILITY = 1 +++ __GNUCLIKE_BUILTIN_STDARG = 1 +++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 +++ __GNUCLIKE_BUILTIN_MEMCPY = 1 +++ __CC_SUPPORTS_INLINE = 1 +++ __CC_SUPPORTS___INLINE = 1 +++ __CC_SUPPORTS___INLINE__ = 1 +++ __CC_SUPPORTS___FUNC__ = 1 +++ __CC_SUPPORTS_WARNING = 1 +++ __CC_SUPPORTS_VARADIC_XXX = 1 +++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 +++ __CC_INT_IS_32BIT = 1 +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_CARP = 112 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPROTO_SPACER = 32767 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/plat-freebsd8/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd8/IN.py Tue Jan 8 14:13:22 2008 ++*************** ++*** 0 **** ++--- 1,535 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ __GNUCLIKE_ASM = 3 +++ __GNUCLIKE_ASM = 2 +++ __GNUCLIKE___TYPEOF = 1 +++ __GNUCLIKE___OFFSETOF = 1 +++ __GNUCLIKE___SECTION = 1 +++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 +++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 +++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 +++ __GNUCLIKE_BUILTIN_VARARGS = 1 +++ __GNUCLIKE_BUILTIN_VAALIST = 1 +++ __GNUC_VA_LIST_COMPATIBILITY = 1 +++ __GNUCLIKE_BUILTIN_STDARG = 1 +++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 +++ __GNUCLIKE_BUILTIN_MEMCPY = 1 +++ __CC_SUPPORTS_INLINE = 1 +++ __CC_SUPPORTS___INLINE = 1 +++ __CC_SUPPORTS___INLINE__ = 1 +++ __CC_SUPPORTS___FUNC__ = 1 +++ __CC_SUPPORTS_WARNING = 1 +++ __CC_SUPPORTS_VARADIC_XXX = 1 +++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 +++ __CC_INT_IS_32BIT = 1 +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_CARP = 112 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPROTO_SPACER = 32767 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/posixfile.py Wed Oct 24 18:03:35 2001 ++--- misc/build/Python-2.3.4/Lib/posixfile.py Tue Jan 8 14:16:12 2008 ++*************** ++*** 185,191 **** ++ if sys.platform in ('netbsd1', ++ 'openbsd2', ++ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', ++! 'bsdos2', 'bsdos3', 'bsdos4'): ++ flock = struct.pack('lxxxxlxxxxlhh', \ ++ l_start, l_len, os.getpid(), l_type, l_whence) ++ elif sys.platform in ['aix3', 'aix4']: ++--- 185,191 ---- ++ if sys.platform in ('netbsd1', ++ 'openbsd2', ++ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', ++! 'freebsd6', 'freebsd7', 'freebsd8', 'bsdos2', 'bsdos3', 'bsdos4'): ++ flock = struct.pack('lxxxxlxxxxlhh', \ ++ l_start, l_len, os.getpid(), l_type, l_whence) ++ elif sys.platform in ['aix3', 'aix4']: + *** misc/Python-2.3.4/Mac/OSX/Makefile Tue Nov 4 23:45:16 2003 + --- misc/build/Python-2.3.4/Mac/OSX/Makefile Wed Oct 17 14:01:01 2007 + *************** +@@ -14688,742 +16307,6 @@ + handler = signal(sig, SIG_IGN); + signal(sig, handler); + return handler; +-*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:26:23 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:20:25 2005 +-*************** +-*** 0 **** +---- 1,355 ---- +-+ # Generated by h2py from /usr/include/netinet/in.h +-+ IPPROTO_IP = 0 +-+ IPPROTO_HOPOPTS = 0 +-+ IPPROTO_ICMP = 1 +-+ IPPROTO_IGMP = 2 +-+ IPPROTO_GGP = 3 +-+ IPPROTO_IPV4 = 4 +-+ IPPROTO_IPIP = IPPROTO_IPV4 +-+ IPPROTO_TCP = 6 +-+ IPPROTO_ST = 7 +-+ IPPROTO_EGP = 8 +-+ IPPROTO_PIGP = 9 +-+ IPPROTO_RCCMON = 10 +-+ IPPROTO_NVPII = 11 +-+ IPPROTO_PUP = 12 +-+ IPPROTO_ARGUS = 13 +-+ IPPROTO_EMCON = 14 +-+ IPPROTO_XNET = 15 +-+ IPPROTO_CHAOS = 16 +-+ IPPROTO_UDP = 17 +-+ IPPROTO_MUX = 18 +-+ IPPROTO_MEAS = 19 +-+ IPPROTO_HMP = 20 +-+ IPPROTO_PRM = 21 +-+ IPPROTO_IDP = 22 +-+ IPPROTO_TRUNK1 = 23 +-+ IPPROTO_TRUNK2 = 24 +-+ IPPROTO_LEAF1 = 25 +-+ IPPROTO_LEAF2 = 26 +-+ IPPROTO_RDP = 27 +-+ IPPROTO_IRTP = 28 +-+ IPPROTO_TP = 29 +-+ IPPROTO_BLT = 30 +-+ IPPROTO_NSP = 31 +-+ IPPROTO_INP = 32 +-+ IPPROTO_SEP = 33 +-+ IPPROTO_3PC = 34 +-+ IPPROTO_IDPR = 35 +-+ IPPROTO_XTP = 36 +-+ IPPROTO_DDP = 37 +-+ IPPROTO_CMTP = 38 +-+ IPPROTO_TPXX = 39 +-+ IPPROTO_IL = 40 +-+ IPPROTO_IPV6 = 41 +-+ IPPROTO_SDRP = 42 +-+ IPPROTO_ROUTING = 43 +-+ IPPROTO_FRAGMENT = 44 +-+ IPPROTO_IDRP = 45 +-+ IPPROTO_RSVP = 46 +-+ IPPROTO_GRE = 47 +-+ IPPROTO_MHRP = 48 +-+ IPPROTO_BHA = 49 +-+ IPPROTO_ESP = 50 +-+ IPPROTO_AH = 51 +-+ IPPROTO_INLSP = 52 +-+ IPPROTO_SWIPE = 53 +-+ IPPROTO_NHRP = 54 +-+ IPPROTO_ICMPV6 = 58 +-+ IPPROTO_NONE = 59 +-+ IPPROTO_DSTOPTS = 60 +-+ IPPROTO_AHIP = 61 +-+ IPPROTO_CFTP = 62 +-+ IPPROTO_HELLO = 63 +-+ IPPROTO_SATEXPAK = 64 +-+ IPPROTO_KRYPTOLAN = 65 +-+ IPPROTO_RVD = 66 +-+ IPPROTO_IPPC = 67 +-+ IPPROTO_ADFS = 68 +-+ IPPROTO_SATMON = 69 +-+ IPPROTO_VISA = 70 +-+ IPPROTO_IPCV = 71 +-+ IPPROTO_CPNX = 72 +-+ IPPROTO_CPHB = 73 +-+ IPPROTO_WSN = 74 +-+ IPPROTO_PVP = 75 +-+ IPPROTO_BRSATMON = 76 +-+ IPPROTO_ND = 77 +-+ IPPROTO_WBMON = 78 +-+ IPPROTO_WBEXPAK = 79 +-+ IPPROTO_EON = 80 +-+ IPPROTO_VMTP = 81 +-+ IPPROTO_SVMTP = 82 +-+ IPPROTO_VINES = 83 +-+ IPPROTO_TTP = 84 +-+ IPPROTO_IGP = 85 +-+ IPPROTO_DGP = 86 +-+ IPPROTO_TCF = 87 +-+ IPPROTO_IGRP = 88 +-+ IPPROTO_OSPFIGP = 89 +-+ IPPROTO_SRPC = 90 +-+ IPPROTO_LARP = 91 +-+ IPPROTO_MTP = 92 +-+ IPPROTO_AX25 = 93 +-+ IPPROTO_IPEIP = 94 +-+ IPPROTO_MICP = 95 +-+ IPPROTO_SCCSP = 96 +-+ IPPROTO_ETHERIP = 97 +-+ IPPROTO_ENCAP = 98 +-+ IPPROTO_APES = 99 +-+ IPPROTO_GMTP = 100 +-+ IPPROTO_IPCOMP = 108 +-+ IPPROTO_PIM = 103 +-+ IPPROTO_PGM = 113 +-+ IPPROTO_DIVERT = 254 +-+ IPPROTO_RAW = 255 +-+ IPPROTO_MAX = 256 +-+ IPPROTO_DONE = 257 +-+ IPPORT_RESERVED = 1024 +-+ IPPORT_USERRESERVED = 5000 +-+ IPPORT_HIFIRSTAUTO = 49152 +-+ IPPORT_HILASTAUTO = 65535 +-+ IPPORT_RESERVEDSTART = 600 +-+ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0) +-+ +-+ IN_CLASSA_NET = 0xff000000 +-+ IN_CLASSA_NSHIFT = 24 +-+ IN_CLASSA_HOST = 0x00ffffff +-+ IN_CLASSA_MAX = 128 +-+ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000) +-+ +-+ IN_CLASSB_NET = 0xffff0000 +-+ IN_CLASSB_NSHIFT = 16 +-+ IN_CLASSB_HOST = 0x0000ffff +-+ IN_CLASSB_MAX = 65536 +-+ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000) +-+ +-+ IN_CLASSC_NET = 0xffffff00 +-+ IN_CLASSC_NSHIFT = 8 +-+ IN_CLASSC_HOST = 0x000000ff +-+ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000) +-+ +-+ IN_CLASSD_NET = 0xf0000000 +-+ IN_CLASSD_NSHIFT = 28 +-+ IN_CLASSD_HOST = 0x0fffffff +-+ def IN_MULTICAST(i): return IN_CLASSD(i) +-+ +-+ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ INADDR_NONE = 0xffffffff +-+ IN_LOOPBACKNET = 127 +-+ INET_ADDRSTRLEN = 16 +-+ IP_OPTIONS = 1 +-+ IP_HDRINCL = 2 +-+ IP_TOS = 3 +-+ IP_TTL = 4 +-+ IP_RECVOPTS = 5 +-+ IP_RECVRETOPTS = 6 +-+ IP_RECVDSTADDR = 7 +-+ IP_RETOPTS = 8 +-+ IP_MULTICAST_IF = 9 +-+ IP_MULTICAST_TTL = 10 +-+ IP_MULTICAST_LOOP = 11 +-+ IP_ADD_MEMBERSHIP = 12 +-+ IP_DROP_MEMBERSHIP = 13 +-+ IP_MULTICAST_VIF = 14 +-+ IP_RSVP_ON = 15 +-+ IP_RSVP_OFF = 16 +-+ IP_RSVP_VIF_ON = 17 +-+ IP_RSVP_VIF_OFF = 18 +-+ IP_PORTRANGE = 19 +-+ IP_RECVIF = 20 +-+ IP_IPSEC_POLICY = 21 +-+ IP_FAITH = 22 +-+ IP_FW_ADD = 50 +-+ IP_FW_DEL = 51 +-+ IP_FW_FLUSH = 52 +-+ IP_FW_ZERO = 53 +-+ IP_FW_GET = 54 +-+ IP_FW_RESETLOG = 55 +-+ IP_DUMMYNET_CONFIGURE = 60 +-+ IP_DUMMYNET_DEL = 61 +-+ IP_DUMMYNET_FLUSH = 62 +-+ IP_DUMMYNET_GET = 64 +-+ IP_DEFAULT_MULTICAST_TTL = 1 +-+ IP_DEFAULT_MULTICAST_LOOP = 1 +-+ IP_MAX_MEMBERSHIPS = 20 +-+ IP_PORTRANGE_DEFAULT = 0 +-+ IP_PORTRANGE_HIGH = 1 +-+ IP_PORTRANGE_LOW = 2 +-+ IPPROTO_MAXID = (IPPROTO_AH + 1) +-+ IPCTL_FORWARDING = 1 +-+ IPCTL_SENDREDIRECTS = 2 +-+ IPCTL_DEFTTL = 3 +-+ IPCTL_DEFMTU = 4 +-+ IPCTL_RTEXPIRE = 5 +-+ IPCTL_RTMINEXPIRE = 6 +-+ IPCTL_RTMAXCACHE = 7 +-+ IPCTL_SOURCEROUTE = 8 +-+ IPCTL_DIRECTEDBROADCAST = 9 +-+ IPCTL_INTRQMAXLEN = 10 +-+ IPCTL_INTRQDROPS = 11 +-+ IPCTL_STATS = 12 +-+ IPCTL_ACCEPTSOURCEROUTE = 13 +-+ IPCTL_FASTFORWARDING = 14 +-+ IPCTL_KEEPFAITH = 15 +-+ IPCTL_GIF_TTL = 16 +-+ IPCTL_MAXID = 17 +-+ +-+ # Included from netinet6/in6.h +-+ +-+ # Included from sys/queue.h +-+ def SLIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def SLIST_ENTRY(type): return \ +-+ +-+ def STAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def STAILQ_ENTRY(type): return \ +-+ +-+ def LIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def LIST_ENTRY(type): return \ +-+ +-+ def TAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def TAILQ_ENTRY(type): return \ +-+ +-+ def CIRCLEQ_ENTRY(type): return \ +-+ +-+ __KAME_VERSION = "20000701/FreeBSD-current" +-+ IPV6PORT_RESERVED = 1024 +-+ IPV6PORT_ANONMIN = 49152 +-+ IPV6PORT_ANONMAX = 65535 +-+ IPV6PORT_RESERVEDMIN = 600 +-+ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +-+ INET6_ADDRSTRLEN = 46 +-+ IPV6_ADDR_INT32_ONE = 1 +-+ IPV6_ADDR_INT32_TWO = 2 +-+ IPV6_ADDR_INT32_MNL = 0xff010000 +-+ IPV6_ADDR_INT32_MLL = 0xff020000 +-+ IPV6_ADDR_INT32_SMP = 0x0000ffff +-+ IPV6_ADDR_INT16_ULL = 0xfe80 +-+ IPV6_ADDR_INT16_USL = 0xfec0 +-+ IPV6_ADDR_INT16_MLL = 0xff02 +-+ IPV6_ADDR_INT32_ONE = 0x01000000 +-+ IPV6_ADDR_INT32_TWO = 0x02000000 +-+ IPV6_ADDR_INT32_MNL = 0x000001ff +-+ IPV6_ADDR_INT32_MLL = 0x000002ff +-+ IPV6_ADDR_INT32_SMP = 0xffff0000 +-+ IPV6_ADDR_INT16_ULL = 0x80fe +-+ IPV6_ADDR_INT16_USL = 0xc0fe +-+ IPV6_ADDR_INT16_MLL = 0x02ff +-+ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +-+ +-+ def IN6_IS_ADDR_LOOPBACK(a): return \ +-+ +-+ def IN6_IS_ADDR_V4COMPAT(a): return \ +-+ +-+ def IN6_IS_ADDR_V4MAPPED(a): return \ +-+ +-+ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ def IN6_IS_ADDR_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +-+ +-+ IPV6_OPTIONS = 1 +-+ IPV6_RECVOPTS = 5 +-+ IPV6_RECVRETOPTS = 6 +-+ IPV6_RECVDSTADDR = 7 +-+ IPV6_RETOPTS = 8 +-+ IPV6_SOCKOPT_RESERVED1 = 3 +-+ IPV6_UNICAST_HOPS = 4 +-+ IPV6_MULTICAST_IF = 9 +-+ IPV6_MULTICAST_HOPS = 10 +-+ IPV6_MULTICAST_LOOP = 11 +-+ IPV6_JOIN_GROUP = 12 +-+ IPV6_LEAVE_GROUP = 13 +-+ IPV6_PORTRANGE = 14 +-+ ICMP6_FILTER = 18 +-+ IPV6_PKTINFO = 19 +-+ IPV6_HOPLIMIT = 20 +-+ IPV6_NEXTHOP = 21 +-+ IPV6_HOPOPTS = 22 +-+ IPV6_DSTOPTS = 23 +-+ IPV6_RTHDR = 24 +-+ IPV6_PKTOPTIONS = 25 +-+ IPV6_CHECKSUM = 26 +-+ IPV6_BINDV6ONLY = 27 +-+ IPV6_IPSEC_POLICY = 28 +-+ IPV6_FAITH = 29 +-+ IPV6_FW_ADD = 30 +-+ IPV6_FW_DEL = 31 +-+ IPV6_FW_FLUSH = 32 +-+ IPV6_FW_ZERO = 33 +-+ IPV6_FW_GET = 34 +-+ IPV6_RTHDR_LOOSE = 0 +-+ IPV6_RTHDR_STRICT = 1 +-+ IPV6_RTHDR_TYPE_0 = 0 +-+ IPV6_DEFAULT_MULTICAST_HOPS = 1 +-+ IPV6_DEFAULT_MULTICAST_LOOP = 1 +-+ IPV6_PORTRANGE_DEFAULT = 0 +-+ IPV6_PORTRANGE_HIGH = 1 +-+ IPV6_PORTRANGE_LOW = 2 +-+ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +-+ IPV6CTL_FORWARDING = 1 +-+ IPV6CTL_SENDREDIRECTS = 2 +-+ IPV6CTL_DEFHLIM = 3 +-+ IPV6CTL_DEFMTU = 4 +-+ IPV6CTL_FORWSRCRT = 5 +-+ IPV6CTL_STATS = 6 +-+ IPV6CTL_MRTSTATS = 7 +-+ IPV6CTL_MRTPROTO = 8 +-+ IPV6CTL_MAXFRAGPACKETS = 9 +-+ IPV6CTL_SOURCECHECK = 10 +-+ IPV6CTL_SOURCECHECK_LOGINT = 11 +-+ IPV6CTL_ACCEPT_RTADV = 12 +-+ IPV6CTL_KEEPFAITH = 13 +-+ IPV6CTL_LOG_INTERVAL = 14 +-+ IPV6CTL_HDRNESTLIMIT = 15 +-+ IPV6CTL_DAD_COUNT = 16 +-+ IPV6CTL_AUTO_FLOWLABEL = 17 +-+ IPV6CTL_DEFMCASTHLIM = 18 +-+ IPV6CTL_GIF_HLIM = 19 +-+ IPV6CTL_KAME_VERSION = 20 +-+ IPV6CTL_USE_DEPRECATED = 21 +-+ IPV6CTL_RR_PRUNE = 22 +-+ IPV6CTL_MAPPED_ADDR = 23 +-+ IPV6CTL_BINDV6ONLY = 24 +-+ IPV6CTL_RTEXPIRE = 25 +-+ IPV6CTL_RTMINEXPIRE = 26 +-+ IPV6CTL_RTMAXCACHE = 27 +-+ IPV6CTL_MAXID = 28 +-*** misc/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:26:27 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:19:02 2005 +-*************** +-*** 0 **** +---- 1,3 ---- +-+ #! /bin/sh +-+ set -v +-+ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h +-*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:26:23 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:20:25 2005 +-*************** +-*** 0 **** +---- 1,355 ---- +-+ # Generated by h2py from /usr/include/netinet/in.h +-+ IPPROTO_IP = 0 +-+ IPPROTO_HOPOPTS = 0 +-+ IPPROTO_ICMP = 1 +-+ IPPROTO_IGMP = 2 +-+ IPPROTO_GGP = 3 +-+ IPPROTO_IPV4 = 4 +-+ IPPROTO_IPIP = IPPROTO_IPV4 +-+ IPPROTO_TCP = 6 +-+ IPPROTO_ST = 7 +-+ IPPROTO_EGP = 8 +-+ IPPROTO_PIGP = 9 +-+ IPPROTO_RCCMON = 10 +-+ IPPROTO_NVPII = 11 +-+ IPPROTO_PUP = 12 +-+ IPPROTO_ARGUS = 13 +-+ IPPROTO_EMCON = 14 +-+ IPPROTO_XNET = 15 +-+ IPPROTO_CHAOS = 16 +-+ IPPROTO_UDP = 17 +-+ IPPROTO_MUX = 18 +-+ IPPROTO_MEAS = 19 +-+ IPPROTO_HMP = 20 +-+ IPPROTO_PRM = 21 +-+ IPPROTO_IDP = 22 +-+ IPPROTO_TRUNK1 = 23 +-+ IPPROTO_TRUNK2 = 24 +-+ IPPROTO_LEAF1 = 25 +-+ IPPROTO_LEAF2 = 26 +-+ IPPROTO_RDP = 27 +-+ IPPROTO_IRTP = 28 +-+ IPPROTO_TP = 29 +-+ IPPROTO_BLT = 30 +-+ IPPROTO_NSP = 31 +-+ IPPROTO_INP = 32 +-+ IPPROTO_SEP = 33 +-+ IPPROTO_3PC = 34 +-+ IPPROTO_IDPR = 35 +-+ IPPROTO_XTP = 36 +-+ IPPROTO_DDP = 37 +-+ IPPROTO_CMTP = 38 +-+ IPPROTO_TPXX = 39 +-+ IPPROTO_IL = 40 +-+ IPPROTO_IPV6 = 41 +-+ IPPROTO_SDRP = 42 +-+ IPPROTO_ROUTING = 43 +-+ IPPROTO_FRAGMENT = 44 +-+ IPPROTO_IDRP = 45 +-+ IPPROTO_RSVP = 46 +-+ IPPROTO_GRE = 47 +-+ IPPROTO_MHRP = 48 +-+ IPPROTO_BHA = 49 +-+ IPPROTO_ESP = 50 +-+ IPPROTO_AH = 51 +-+ IPPROTO_INLSP = 52 +-+ IPPROTO_SWIPE = 53 +-+ IPPROTO_NHRP = 54 +-+ IPPROTO_ICMPV6 = 58 +-+ IPPROTO_NONE = 59 +-+ IPPROTO_DSTOPTS = 60 +-+ IPPROTO_AHIP = 61 +-+ IPPROTO_CFTP = 62 +-+ IPPROTO_HELLO = 63 +-+ IPPROTO_SATEXPAK = 64 +-+ IPPROTO_KRYPTOLAN = 65 +-+ IPPROTO_RVD = 66 +-+ IPPROTO_IPPC = 67 +-+ IPPROTO_ADFS = 68 +-+ IPPROTO_SATMON = 69 +-+ IPPROTO_VISA = 70 +-+ IPPROTO_IPCV = 71 +-+ IPPROTO_CPNX = 72 +-+ IPPROTO_CPHB = 73 +-+ IPPROTO_WSN = 74 +-+ IPPROTO_PVP = 75 +-+ IPPROTO_BRSATMON = 76 +-+ IPPROTO_ND = 77 +-+ IPPROTO_WBMON = 78 +-+ IPPROTO_WBEXPAK = 79 +-+ IPPROTO_EON = 80 +-+ IPPROTO_VMTP = 81 +-+ IPPROTO_SVMTP = 82 +-+ IPPROTO_VINES = 83 +-+ IPPROTO_TTP = 84 +-+ IPPROTO_IGP = 85 +-+ IPPROTO_DGP = 86 +-+ IPPROTO_TCF = 87 +-+ IPPROTO_IGRP = 88 +-+ IPPROTO_OSPFIGP = 89 +-+ IPPROTO_SRPC = 90 +-+ IPPROTO_LARP = 91 +-+ IPPROTO_MTP = 92 +-+ IPPROTO_AX25 = 93 +-+ IPPROTO_IPEIP = 94 +-+ IPPROTO_MICP = 95 +-+ IPPROTO_SCCSP = 96 +-+ IPPROTO_ETHERIP = 97 +-+ IPPROTO_ENCAP = 98 +-+ IPPROTO_APES = 99 +-+ IPPROTO_GMTP = 100 +-+ IPPROTO_IPCOMP = 108 +-+ IPPROTO_PIM = 103 +-+ IPPROTO_PGM = 113 +-+ IPPROTO_DIVERT = 254 +-+ IPPROTO_RAW = 255 +-+ IPPROTO_MAX = 256 +-+ IPPROTO_DONE = 257 +-+ IPPORT_RESERVED = 1024 +-+ IPPORT_USERRESERVED = 5000 +-+ IPPORT_HIFIRSTAUTO = 49152 +-+ IPPORT_HILASTAUTO = 65535 +-+ IPPORT_RESERVEDSTART = 600 +-+ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0) +-+ +-+ IN_CLASSA_NET = 0xff000000 +-+ IN_CLASSA_NSHIFT = 24 +-+ IN_CLASSA_HOST = 0x00ffffff +-+ IN_CLASSA_MAX = 128 +-+ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000) +-+ +-+ IN_CLASSB_NET = 0xffff0000 +-+ IN_CLASSB_NSHIFT = 16 +-+ IN_CLASSB_HOST = 0x0000ffff +-+ IN_CLASSB_MAX = 65536 +-+ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000) +-+ +-+ IN_CLASSC_NET = 0xffffff00 +-+ IN_CLASSC_NSHIFT = 8 +-+ IN_CLASSC_HOST = 0x000000ff +-+ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000) +-+ +-+ IN_CLASSD_NET = 0xf0000000 +-+ IN_CLASSD_NSHIFT = 28 +-+ IN_CLASSD_HOST = 0x0fffffff +-+ def IN_MULTICAST(i): return IN_CLASSD(i) +-+ +-+ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ INADDR_NONE = 0xffffffff +-+ IN_LOOPBACKNET = 127 +-+ INET_ADDRSTRLEN = 16 +-+ IP_OPTIONS = 1 +-+ IP_HDRINCL = 2 +-+ IP_TOS = 3 +-+ IP_TTL = 4 +-+ IP_RECVOPTS = 5 +-+ IP_RECVRETOPTS = 6 +-+ IP_RECVDSTADDR = 7 +-+ IP_RETOPTS = 8 +-+ IP_MULTICAST_IF = 9 +-+ IP_MULTICAST_TTL = 10 +-+ IP_MULTICAST_LOOP = 11 +-+ IP_ADD_MEMBERSHIP = 12 +-+ IP_DROP_MEMBERSHIP = 13 +-+ IP_MULTICAST_VIF = 14 +-+ IP_RSVP_ON = 15 +-+ IP_RSVP_OFF = 16 +-+ IP_RSVP_VIF_ON = 17 +-+ IP_RSVP_VIF_OFF = 18 +-+ IP_PORTRANGE = 19 +-+ IP_RECVIF = 20 +-+ IP_IPSEC_POLICY = 21 +-+ IP_FAITH = 22 +-+ IP_FW_ADD = 50 +-+ IP_FW_DEL = 51 +-+ IP_FW_FLUSH = 52 +-+ IP_FW_ZERO = 53 +-+ IP_FW_GET = 54 +-+ IP_FW_RESETLOG = 55 +-+ IP_DUMMYNET_CONFIGURE = 60 +-+ IP_DUMMYNET_DEL = 61 +-+ IP_DUMMYNET_FLUSH = 62 +-+ IP_DUMMYNET_GET = 64 +-+ IP_DEFAULT_MULTICAST_TTL = 1 +-+ IP_DEFAULT_MULTICAST_LOOP = 1 +-+ IP_MAX_MEMBERSHIPS = 20 +-+ IP_PORTRANGE_DEFAULT = 0 +-+ IP_PORTRANGE_HIGH = 1 +-+ IP_PORTRANGE_LOW = 2 +-+ IPPROTO_MAXID = (IPPROTO_AH + 1) +-+ IPCTL_FORWARDING = 1 +-+ IPCTL_SENDREDIRECTS = 2 +-+ IPCTL_DEFTTL = 3 +-+ IPCTL_DEFMTU = 4 +-+ IPCTL_RTEXPIRE = 5 +-+ IPCTL_RTMINEXPIRE = 6 +-+ IPCTL_RTMAXCACHE = 7 +-+ IPCTL_SOURCEROUTE = 8 +-+ IPCTL_DIRECTEDBROADCAST = 9 +-+ IPCTL_INTRQMAXLEN = 10 +-+ IPCTL_INTRQDROPS = 11 +-+ IPCTL_STATS = 12 +-+ IPCTL_ACCEPTSOURCEROUTE = 13 +-+ IPCTL_FASTFORWARDING = 14 +-+ IPCTL_KEEPFAITH = 15 +-+ IPCTL_GIF_TTL = 16 +-+ IPCTL_MAXID = 17 +-+ +-+ # Included from netinet6/in6.h +-+ +-+ # Included from sys/queue.h +-+ def SLIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def SLIST_ENTRY(type): return \ +-+ +-+ def STAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def STAILQ_ENTRY(type): return \ +-+ +-+ def LIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def LIST_ENTRY(type): return \ +-+ +-+ def TAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def TAILQ_ENTRY(type): return \ +-+ +-+ def CIRCLEQ_ENTRY(type): return \ +-+ +-+ __KAME_VERSION = "20000701/FreeBSD-current" +-+ IPV6PORT_RESERVED = 1024 +-+ IPV6PORT_ANONMIN = 49152 +-+ IPV6PORT_ANONMAX = 65535 +-+ IPV6PORT_RESERVEDMIN = 600 +-+ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +-+ INET6_ADDRSTRLEN = 46 +-+ IPV6_ADDR_INT32_ONE = 1 +-+ IPV6_ADDR_INT32_TWO = 2 +-+ IPV6_ADDR_INT32_MNL = 0xff010000 +-+ IPV6_ADDR_INT32_MLL = 0xff020000 +-+ IPV6_ADDR_INT32_SMP = 0x0000ffff +-+ IPV6_ADDR_INT16_ULL = 0xfe80 +-+ IPV6_ADDR_INT16_USL = 0xfec0 +-+ IPV6_ADDR_INT16_MLL = 0xff02 +-+ IPV6_ADDR_INT32_ONE = 0x01000000 +-+ IPV6_ADDR_INT32_TWO = 0x02000000 +-+ IPV6_ADDR_INT32_MNL = 0x000001ff +-+ IPV6_ADDR_INT32_MLL = 0x000002ff +-+ IPV6_ADDR_INT32_SMP = 0xffff0000 +-+ IPV6_ADDR_INT16_ULL = 0x80fe +-+ IPV6_ADDR_INT16_USL = 0xc0fe +-+ IPV6_ADDR_INT16_MLL = 0x02ff +-+ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +-+ +-+ def IN6_IS_ADDR_LOOPBACK(a): return \ +-+ +-+ def IN6_IS_ADDR_V4COMPAT(a): return \ +-+ +-+ def IN6_IS_ADDR_V4MAPPED(a): return \ +-+ +-+ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ def IN6_IS_ADDR_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +-+ +-+ IPV6_OPTIONS = 1 +-+ IPV6_RECVOPTS = 5 +-+ IPV6_RECVRETOPTS = 6 +-+ IPV6_RECVDSTADDR = 7 +-+ IPV6_RETOPTS = 8 +-+ IPV6_SOCKOPT_RESERVED1 = 3 +-+ IPV6_UNICAST_HOPS = 4 +-+ IPV6_MULTICAST_IF = 9 +-+ IPV6_MULTICAST_HOPS = 10 +-+ IPV6_MULTICAST_LOOP = 11 +-+ IPV6_JOIN_GROUP = 12 +-+ IPV6_LEAVE_GROUP = 13 +-+ IPV6_PORTRANGE = 14 +-+ ICMP6_FILTER = 18 +-+ IPV6_PKTINFO = 19 +-+ IPV6_HOPLIMIT = 20 +-+ IPV6_NEXTHOP = 21 +-+ IPV6_HOPOPTS = 22 +-+ IPV6_DSTOPTS = 23 +-+ IPV6_RTHDR = 24 +-+ IPV6_PKTOPTIONS = 25 +-+ IPV6_CHECKSUM = 26 +-+ IPV6_BINDV6ONLY = 27 +-+ IPV6_IPSEC_POLICY = 28 +-+ IPV6_FAITH = 29 +-+ IPV6_FW_ADD = 30 +-+ IPV6_FW_DEL = 31 +-+ IPV6_FW_FLUSH = 32 +-+ IPV6_FW_ZERO = 33 +-+ IPV6_FW_GET = 34 +-+ IPV6_RTHDR_LOOSE = 0 +-+ IPV6_RTHDR_STRICT = 1 +-+ IPV6_RTHDR_TYPE_0 = 0 +-+ IPV6_DEFAULT_MULTICAST_HOPS = 1 +-+ IPV6_DEFAULT_MULTICAST_LOOP = 1 +-+ IPV6_PORTRANGE_DEFAULT = 0 +-+ IPV6_PORTRANGE_HIGH = 1 +-+ IPV6_PORTRANGE_LOW = 2 +-+ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +-+ IPV6CTL_FORWARDING = 1 +-+ IPV6CTL_SENDREDIRECTS = 2 +-+ IPV6CTL_DEFHLIM = 3 +-+ IPV6CTL_DEFMTU = 4 +-+ IPV6CTL_FORWSRCRT = 5 +-+ IPV6CTL_STATS = 6 +-+ IPV6CTL_MRTSTATS = 7 +-+ IPV6CTL_MRTPROTO = 8 +-+ IPV6CTL_MAXFRAGPACKETS = 9 +-+ IPV6CTL_SOURCECHECK = 10 +-+ IPV6CTL_SOURCECHECK_LOGINT = 11 +-+ IPV6CTL_ACCEPT_RTADV = 12 +-+ IPV6CTL_KEEPFAITH = 13 +-+ IPV6CTL_LOG_INTERVAL = 14 +-+ IPV6CTL_HDRNESTLIMIT = 15 +-+ IPV6CTL_DAD_COUNT = 16 +-+ IPV6CTL_AUTO_FLOWLABEL = 17 +-+ IPV6CTL_DEFMCASTHLIM = 18 +-+ IPV6CTL_GIF_HLIM = 19 +-+ IPV6CTL_KAME_VERSION = 20 +-+ IPV6CTL_USE_DEPRECATED = 21 +-+ IPV6CTL_RR_PRUNE = 22 +-+ IPV6CTL_MAPPED_ADDR = 23 +-+ IPV6CTL_BINDV6ONLY = 24 +-+ IPV6CTL_RTEXPIRE = 25 +-+ IPV6CTL_RTMINEXPIRE = 26 +-+ IPV6CTL_RTMAXCACHE = 27 +-+ IPV6CTL_MAXID = 28 +-*** misc/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:26:27 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:19:02 2005 +-*************** +-*** 0 **** +---- 1,3 ---- +-+ #! /bin/sh +-+ set -v +-+ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h + *** misc/Python-2.3.4/configure Fri May 7 21:13:40 2004 + --- misc/build/Python-2.3.4/configure Wed Oct 17 14:01:02 2007 + *************** +@@ -16214,3 +17097,22 @@ + + /* Define the macros needed if on a UnixWare 7.x system. */ + #if defined(__USLC__) && defined(__SCO_VERSION__) ++*** misc/Python-2.3.4/setup.py Tue Oct 21 16:01:21 2003 ++--- misc/build/Python-2.3.4/setup.py Tue Jan 8 14:17:55 2008 ++*************** ++*** 770,776 **** ++ # Linux-specific modules ++ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) ++ ++! if platform in ('linux2', 'freebsd4'): ++ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) ++ ++ if platform == 'sunos5': ++--- 770,776 ---- ++ # Linux-specific modules ++ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) ++ ++! if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'): ++ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) ++ ++ if platform == 'sunos5': diff --git a/editors/openoffice.org-2-devel/Makefile b/editors/openoffice.org-2-devel/Makefile index 26150fc00034..18d714413dff 100644 --- a/editors/openoffice.org-2-devel/Makefile +++ b/editors/openoffice.org-2-devel/Makefile @@ -7,7 +7,6 @@ PORTNAME?= openoffice.org PORTVERSION?= 2.4.${SNAPDATE} -PORTREVISION= 1 CATEGORIES+= editors java MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \ http://openoffice.lunarshells.com/sources/ \ @@ -72,10 +71,10 @@ FREEBSD_ENV_SET= FreeBSDX86Env.Set .endif CODELINE= 680 -MILESTONE?= 241 +MILESTONE?= 242 OOOTAG?= SRC680_m${MILESTONE} OOOSRC?= OOo_${OOOTAG}_source${EXTRACT_SUFX} -SNAPDATE= 20071219 +SNAPDATE= 20080109 INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG} EXECBASE?= openoffice.org-${OOOTAG} .if defined(WITH_CWS) @@ -250,6 +249,10 @@ post-install: @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-spadmin @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-swriter @${ECHO_CMD} "" > ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ + ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} @${REINPLACE_CMD} -e '/^Exec/s/printeradmin/spadmin/' \ ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/*.desktop @for app in base calc draw impress math printeradmin writer; do \ @@ -264,6 +267,8 @@ post-install: ${DESKTOPDIR}/${EXECBASE} @${ECHO_CMD} "share/applications/${EXECBASE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE} + @${ECHO_CMD} "@exec ${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @for dir in `ls ${ICONS}/hicolor | ${GREP} -v CVS`; do \ for app in base calc draw impress math printeradmin writer; do \ if [ -r ${ICONS}/hicolor/$${dir}/apps/$${app}.png ]; then \ @@ -278,12 +283,10 @@ post-install: ${ECHO_CMD} "share/icons/hicolor/$${dir}/mimetypes/$${file}" >> ${TMPPLIST} ; \ done ; \ done - @${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE} - @${ECHO_CMD} "@exec ${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ - ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} + @${PREFIX}/bin/gtk-update-icon-cache -q -f ${PREFIX}/share/icons/hicolor 2>/dev/null || ${TRUE} + @${ECHO_CMD} "@unexec ${RM} %D/share/icons/hicolor/icon-theme.cache 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@exec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE} @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ -e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \ diff --git a/editors/openoffice.org-2-devel/distinfo b/editors/openoffice.org-2-devel/distinfo index d5b702adc439..25a9ef888a52 100644 --- a/editors/openoffice.org-2-devel/distinfo +++ b/editors/openoffice.org-2-devel/distinfo @@ -1,6 +1,6 @@ -MD5 (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = 5565be2383ff8a212e625f53b3a92e20 -SHA256 (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = ea8677d631cc6b1c98e764625a716517a63a6100a8a80c806ea466f86500ba61 -SIZE (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = 317799155 +MD5 (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = d7548f079437b7e3cb534ed45a7c5a13 +SHA256 (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = 807418dbfa7bed810be5080130a23f2718e4448db5016dd96947e80a0cdd3d21 +SIZE (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = 318276319 MD5 (openoffice.org2/unowinreg.dll) = e3a0b76dcd876f3d721ee7183729153d SHA256 (openoffice.org2/unowinreg.dll) = f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c SIZE (openoffice.org2/unowinreg.dll) = 6144 diff --git a/editors/openoffice.org-2-devel/files/patch-i85126 b/editors/openoffice.org-2-devel/files/patch-i85126 new file mode 100644 index 000000000000..f70616a998e1 --- /dev/null +++ b/editors/openoffice.org-2-devel/files/patch-i85126 @@ -0,0 +1,119 @@ +Merge from Linux CWS pj87 (#i83022#: Make bridges warning free) + +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 16 Sep 2006 15:46:23 -0000 1.3 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 8 Jan 2008 16:57:00 -0000 +@@ -358,6 +358,8 @@ + case X86_64_SSEDF_CLASS: + *pStructAlign++ = *reinterpret_cast<sal_uInt64 *>( *pSSE++ ); + break; ++ default: ++ break; + } + } + +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 16 Sep 2006 15:46:37 -0000 1.3 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 8 Jan 2008 16:57:00 -0000 +@@ -82,8 +82,8 @@ + void ** gpreg, void ** fpreg, void ** ovrflw, + sal_uInt64 * pRegisterReturn /* space for register return */ ) + { +- int nr_gpr = 0; //number of gpr registers used +- int nr_fpr = 0; //number of fpr regsiters used ++ unsigned int nr_gpr = 0; //number of gpr registers used ++ unsigned int nr_fpr = 0; //number of fpr registers used + + // return + typelib_TypeDescription * pReturnTypeDescr = 0; +@@ -492,7 +492,7 @@ + unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions( + void ** slots, unsigned char * code, + typelib_InterfaceTypeDescription const * type, sal_Int32 nFunctionOffset, +- sal_Int32 functionCount, sal_Int32 nVtableOffset ) ++ sal_Int32 /* functionCount */, sal_Int32 nVtableOffset ) + { + for ( sal_Int32 nPos = 0; nPos < type->nMembers; ++nPos ) + { +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 5 Jul 2007 09:01:44 -0000 1.4 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 8 Jan 2008 16:57:00 -0000 +@@ -180,8 +180,8 @@ + else + { + // try to lookup the symbol in the generated rtti map +- t_rtti_map::const_iterator iFind( m_generatedRttis.find( unoName ) ); +- if (iFind == m_generatedRttis.end()) ++ t_rtti_map::const_iterator iFind2( m_generatedRttis.find( unoName ) ); ++ if (iFind2 == m_generatedRttis.end()) + { + // we must generate it ! + // symbol and rtti-name is nearly identical, +@@ -210,7 +210,7 @@ + } + else // taking already generated rtti + { +- rtti = iFind->second; ++ rtti = iFind2->second; + } + } + } +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 5 Jul 2007 09:02:53 -0000 1.4 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 8 Jan 2008 16:57:00 -0000 +@@ -73,13 +73,13 @@ + // Let's figure out what is really going on here + { + fprintf( stderr, "= callVirtualMethod() =\nGPR's (%d): ", nGPR ); +- for ( int i = 0; i < nGPR; ++i ) ++ for ( unsigned int i = 0; i < nGPR; ++i ) + fprintf( stderr, "0x%lx, ", pGPR[i] ); + fprintf( stderr, "\nFPR's (%d): ", nFPR ); +- for ( int i = 0; i < nFPR; ++i ) ++ for ( unsigned int i = 0; i < nFPR; ++i ) + fprintf( stderr, "%f, ", pFPR[i] ); + fprintf( stderr, "\nStack (%d): ", nStack ); +- for ( int i = 0; i < nStack; ++i ) ++ for ( unsigned int i = 0; i < nStack; ++i ) + fprintf( stderr, "0x%lx, ", pStack[i] ); + fprintf( stderr, "\n" ); + } +@@ -328,6 +328,8 @@ + case typelib_TypeClass_DOUBLE: + INSERT_FLOAT_DOUBLE( pCppArgs[nPos], nFPR, pFPR, pStack ); + break; ++ default: ++ break; + } + + // no longer needed +@@ -440,16 +442,19 @@ + // is my surrogate + bridges::cpp_uno::shared::UnoInterfaceProxy * pThis + = static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy * >(pUnoI); ++#if OSL_DEBUG_LEVEL > 0 + typelib_InterfaceTypeDescription * pTypeDescr = pThis->pTypeDescr; ++#endif + + switch (pMemberDescr->eTypeClass) + { + case typelib_TypeClass_INTERFACE_ATTRIBUTE: + { ++#if OSL_DEBUG_LEVEL > 0 + // determine vtable call index + sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; + OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); +- ++#endif + VtableSlot aVtableSlot( + getVtableSlot( + reinterpret_cast< +@@ -494,10 +499,11 @@ + } + case typelib_TypeClass_INTERFACE_METHOD: + { ++#if OSL_DEBUG_LEVEL > 0 + // determine vtable call index + sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; + OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); +- ++#endif + VtableSlot aVtableSlot( + getVtableSlot( + reinterpret_cast< diff --git a/editors/openoffice.org-2-devel/files/patch-i85127 b/editors/openoffice.org-2-devel/files/patch-i85127 new file mode 100644 index 000000000000..3f50bdcb9668 --- /dev/null +++ b/editors/openoffice.org-2-devel/files/patch-i85127 @@ -0,0 +1,2397 @@ +- Add support for FreeBSD 8.x. +- Add patches for setup.py and Lib/posixfile.py. + +--- python/Python-2.3.4.patch 26 Oct 2007 11:27:52 -0000 1.20 ++++ python/Python-2.3.4.patch 8 Jan 2008 19:37:10 -0000 +@@ -131,6 +131,1625 @@ + name = 'posix' + linesep = '\n' + from posix import * ++*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Jan 8 14:12:12 2008 ++*************** ++*** 0 **** ++--- 1,515 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ __INTEL_COMPILER_with_FreeBSD_endian = 1 +++ __INTEL_COMPILER_with_FreeBSD_endian = 1 +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Jan 8 14:13:03 2008 ++*************** ++*** 0 **** ++--- 1,535 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ __GNUCLIKE_ASM = 3 +++ __GNUCLIKE_ASM = 2 +++ __GNUCLIKE___TYPEOF = 1 +++ __GNUCLIKE___OFFSETOF = 1 +++ __GNUCLIKE___SECTION = 1 +++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 +++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 +++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 +++ __GNUCLIKE_BUILTIN_VARARGS = 1 +++ __GNUCLIKE_BUILTIN_VAALIST = 1 +++ __GNUC_VA_LIST_COMPATIBILITY = 1 +++ __GNUCLIKE_BUILTIN_STDARG = 1 +++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 +++ __GNUCLIKE_BUILTIN_MEMCPY = 1 +++ __CC_SUPPORTS_INLINE = 1 +++ __CC_SUPPORTS___INLINE = 1 +++ __CC_SUPPORTS___INLINE__ = 1 +++ __CC_SUPPORTS___FUNC__ = 1 +++ __CC_SUPPORTS_WARNING = 1 +++ __CC_SUPPORTS_VARADIC_XXX = 1 +++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 +++ __CC_INT_IS_32BIT = 1 +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_CARP = 112 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPROTO_SPACER = 32767 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/plat-freebsd8/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd8/IN.py Tue Jan 8 14:13:22 2008 ++*************** ++*** 0 **** ++--- 1,535 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ __GNUCLIKE_ASM = 3 +++ __GNUCLIKE_ASM = 2 +++ __GNUCLIKE___TYPEOF = 1 +++ __GNUCLIKE___OFFSETOF = 1 +++ __GNUCLIKE___SECTION = 1 +++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 +++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 +++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 +++ __GNUCLIKE_BUILTIN_VARARGS = 1 +++ __GNUCLIKE_BUILTIN_VAALIST = 1 +++ __GNUC_VA_LIST_COMPATIBILITY = 1 +++ __GNUCLIKE_BUILTIN_STDARG = 1 +++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 +++ __GNUCLIKE_BUILTIN_MEMCPY = 1 +++ __CC_SUPPORTS_INLINE = 1 +++ __CC_SUPPORTS___INLINE = 1 +++ __CC_SUPPORTS___INLINE__ = 1 +++ __CC_SUPPORTS___FUNC__ = 1 +++ __CC_SUPPORTS_WARNING = 1 +++ __CC_SUPPORTS_VARADIC_XXX = 1 +++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 +++ __CC_INT_IS_32BIT = 1 +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_CARP = 112 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPROTO_SPACER = 32767 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/posixfile.py Wed Oct 24 18:03:35 2001 ++--- misc/build/Python-2.3.4/Lib/posixfile.py Tue Jan 8 14:16:12 2008 ++*************** ++*** 185,191 **** ++ if sys.platform in ('netbsd1', ++ 'openbsd2', ++ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', ++! 'bsdos2', 'bsdos3', 'bsdos4'): ++ flock = struct.pack('lxxxxlxxxxlhh', \ ++ l_start, l_len, os.getpid(), l_type, l_whence) ++ elif sys.platform in ['aix3', 'aix4']: ++--- 185,191 ---- ++ if sys.platform in ('netbsd1', ++ 'openbsd2', ++ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', ++! 'freebsd6', 'freebsd7', 'freebsd8', 'bsdos2', 'bsdos3', 'bsdos4'): ++ flock = struct.pack('lxxxxlxxxxlhh', \ ++ l_start, l_len, os.getpid(), l_type, l_whence) ++ elif sys.platform in ['aix3', 'aix4']: + *** misc/Python-2.3.4/Mac/OSX/Makefile Tue Nov 4 23:45:16 2003 + --- misc/build/Python-2.3.4/Mac/OSX/Makefile Wed Oct 17 14:01:01 2007 + *************** +@@ -14688,742 +16307,6 @@ + handler = signal(sig, SIG_IGN); + signal(sig, handler); + return handler; +-*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:26:23 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:20:25 2005 +-*************** +-*** 0 **** +---- 1,355 ---- +-+ # Generated by h2py from /usr/include/netinet/in.h +-+ IPPROTO_IP = 0 +-+ IPPROTO_HOPOPTS = 0 +-+ IPPROTO_ICMP = 1 +-+ IPPROTO_IGMP = 2 +-+ IPPROTO_GGP = 3 +-+ IPPROTO_IPV4 = 4 +-+ IPPROTO_IPIP = IPPROTO_IPV4 +-+ IPPROTO_TCP = 6 +-+ IPPROTO_ST = 7 +-+ IPPROTO_EGP = 8 +-+ IPPROTO_PIGP = 9 +-+ IPPROTO_RCCMON = 10 +-+ IPPROTO_NVPII = 11 +-+ IPPROTO_PUP = 12 +-+ IPPROTO_ARGUS = 13 +-+ IPPROTO_EMCON = 14 +-+ IPPROTO_XNET = 15 +-+ IPPROTO_CHAOS = 16 +-+ IPPROTO_UDP = 17 +-+ IPPROTO_MUX = 18 +-+ IPPROTO_MEAS = 19 +-+ IPPROTO_HMP = 20 +-+ IPPROTO_PRM = 21 +-+ IPPROTO_IDP = 22 +-+ IPPROTO_TRUNK1 = 23 +-+ IPPROTO_TRUNK2 = 24 +-+ IPPROTO_LEAF1 = 25 +-+ IPPROTO_LEAF2 = 26 +-+ IPPROTO_RDP = 27 +-+ IPPROTO_IRTP = 28 +-+ IPPROTO_TP = 29 +-+ IPPROTO_BLT = 30 +-+ IPPROTO_NSP = 31 +-+ IPPROTO_INP = 32 +-+ IPPROTO_SEP = 33 +-+ IPPROTO_3PC = 34 +-+ IPPROTO_IDPR = 35 +-+ IPPROTO_XTP = 36 +-+ IPPROTO_DDP = 37 +-+ IPPROTO_CMTP = 38 +-+ IPPROTO_TPXX = 39 +-+ IPPROTO_IL = 40 +-+ IPPROTO_IPV6 = 41 +-+ IPPROTO_SDRP = 42 +-+ IPPROTO_ROUTING = 43 +-+ IPPROTO_FRAGMENT = 44 +-+ IPPROTO_IDRP = 45 +-+ IPPROTO_RSVP = 46 +-+ IPPROTO_GRE = 47 +-+ IPPROTO_MHRP = 48 +-+ IPPROTO_BHA = 49 +-+ IPPROTO_ESP = 50 +-+ IPPROTO_AH = 51 +-+ IPPROTO_INLSP = 52 +-+ IPPROTO_SWIPE = 53 +-+ IPPROTO_NHRP = 54 +-+ IPPROTO_ICMPV6 = 58 +-+ IPPROTO_NONE = 59 +-+ IPPROTO_DSTOPTS = 60 +-+ IPPROTO_AHIP = 61 +-+ IPPROTO_CFTP = 62 +-+ IPPROTO_HELLO = 63 +-+ IPPROTO_SATEXPAK = 64 +-+ IPPROTO_KRYPTOLAN = 65 +-+ IPPROTO_RVD = 66 +-+ IPPROTO_IPPC = 67 +-+ IPPROTO_ADFS = 68 +-+ IPPROTO_SATMON = 69 +-+ IPPROTO_VISA = 70 +-+ IPPROTO_IPCV = 71 +-+ IPPROTO_CPNX = 72 +-+ IPPROTO_CPHB = 73 +-+ IPPROTO_WSN = 74 +-+ IPPROTO_PVP = 75 +-+ IPPROTO_BRSATMON = 76 +-+ IPPROTO_ND = 77 +-+ IPPROTO_WBMON = 78 +-+ IPPROTO_WBEXPAK = 79 +-+ IPPROTO_EON = 80 +-+ IPPROTO_VMTP = 81 +-+ IPPROTO_SVMTP = 82 +-+ IPPROTO_VINES = 83 +-+ IPPROTO_TTP = 84 +-+ IPPROTO_IGP = 85 +-+ IPPROTO_DGP = 86 +-+ IPPROTO_TCF = 87 +-+ IPPROTO_IGRP = 88 +-+ IPPROTO_OSPFIGP = 89 +-+ IPPROTO_SRPC = 90 +-+ IPPROTO_LARP = 91 +-+ IPPROTO_MTP = 92 +-+ IPPROTO_AX25 = 93 +-+ IPPROTO_IPEIP = 94 +-+ IPPROTO_MICP = 95 +-+ IPPROTO_SCCSP = 96 +-+ IPPROTO_ETHERIP = 97 +-+ IPPROTO_ENCAP = 98 +-+ IPPROTO_APES = 99 +-+ IPPROTO_GMTP = 100 +-+ IPPROTO_IPCOMP = 108 +-+ IPPROTO_PIM = 103 +-+ IPPROTO_PGM = 113 +-+ IPPROTO_DIVERT = 254 +-+ IPPROTO_RAW = 255 +-+ IPPROTO_MAX = 256 +-+ IPPROTO_DONE = 257 +-+ IPPORT_RESERVED = 1024 +-+ IPPORT_USERRESERVED = 5000 +-+ IPPORT_HIFIRSTAUTO = 49152 +-+ IPPORT_HILASTAUTO = 65535 +-+ IPPORT_RESERVEDSTART = 600 +-+ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0) +-+ +-+ IN_CLASSA_NET = 0xff000000 +-+ IN_CLASSA_NSHIFT = 24 +-+ IN_CLASSA_HOST = 0x00ffffff +-+ IN_CLASSA_MAX = 128 +-+ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000) +-+ +-+ IN_CLASSB_NET = 0xffff0000 +-+ IN_CLASSB_NSHIFT = 16 +-+ IN_CLASSB_HOST = 0x0000ffff +-+ IN_CLASSB_MAX = 65536 +-+ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000) +-+ +-+ IN_CLASSC_NET = 0xffffff00 +-+ IN_CLASSC_NSHIFT = 8 +-+ IN_CLASSC_HOST = 0x000000ff +-+ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000) +-+ +-+ IN_CLASSD_NET = 0xf0000000 +-+ IN_CLASSD_NSHIFT = 28 +-+ IN_CLASSD_HOST = 0x0fffffff +-+ def IN_MULTICAST(i): return IN_CLASSD(i) +-+ +-+ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ INADDR_NONE = 0xffffffff +-+ IN_LOOPBACKNET = 127 +-+ INET_ADDRSTRLEN = 16 +-+ IP_OPTIONS = 1 +-+ IP_HDRINCL = 2 +-+ IP_TOS = 3 +-+ IP_TTL = 4 +-+ IP_RECVOPTS = 5 +-+ IP_RECVRETOPTS = 6 +-+ IP_RECVDSTADDR = 7 +-+ IP_RETOPTS = 8 +-+ IP_MULTICAST_IF = 9 +-+ IP_MULTICAST_TTL = 10 +-+ IP_MULTICAST_LOOP = 11 +-+ IP_ADD_MEMBERSHIP = 12 +-+ IP_DROP_MEMBERSHIP = 13 +-+ IP_MULTICAST_VIF = 14 +-+ IP_RSVP_ON = 15 +-+ IP_RSVP_OFF = 16 +-+ IP_RSVP_VIF_ON = 17 +-+ IP_RSVP_VIF_OFF = 18 +-+ IP_PORTRANGE = 19 +-+ IP_RECVIF = 20 +-+ IP_IPSEC_POLICY = 21 +-+ IP_FAITH = 22 +-+ IP_FW_ADD = 50 +-+ IP_FW_DEL = 51 +-+ IP_FW_FLUSH = 52 +-+ IP_FW_ZERO = 53 +-+ IP_FW_GET = 54 +-+ IP_FW_RESETLOG = 55 +-+ IP_DUMMYNET_CONFIGURE = 60 +-+ IP_DUMMYNET_DEL = 61 +-+ IP_DUMMYNET_FLUSH = 62 +-+ IP_DUMMYNET_GET = 64 +-+ IP_DEFAULT_MULTICAST_TTL = 1 +-+ IP_DEFAULT_MULTICAST_LOOP = 1 +-+ IP_MAX_MEMBERSHIPS = 20 +-+ IP_PORTRANGE_DEFAULT = 0 +-+ IP_PORTRANGE_HIGH = 1 +-+ IP_PORTRANGE_LOW = 2 +-+ IPPROTO_MAXID = (IPPROTO_AH + 1) +-+ IPCTL_FORWARDING = 1 +-+ IPCTL_SENDREDIRECTS = 2 +-+ IPCTL_DEFTTL = 3 +-+ IPCTL_DEFMTU = 4 +-+ IPCTL_RTEXPIRE = 5 +-+ IPCTL_RTMINEXPIRE = 6 +-+ IPCTL_RTMAXCACHE = 7 +-+ IPCTL_SOURCEROUTE = 8 +-+ IPCTL_DIRECTEDBROADCAST = 9 +-+ IPCTL_INTRQMAXLEN = 10 +-+ IPCTL_INTRQDROPS = 11 +-+ IPCTL_STATS = 12 +-+ IPCTL_ACCEPTSOURCEROUTE = 13 +-+ IPCTL_FASTFORWARDING = 14 +-+ IPCTL_KEEPFAITH = 15 +-+ IPCTL_GIF_TTL = 16 +-+ IPCTL_MAXID = 17 +-+ +-+ # Included from netinet6/in6.h +-+ +-+ # Included from sys/queue.h +-+ def SLIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def SLIST_ENTRY(type): return \ +-+ +-+ def STAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def STAILQ_ENTRY(type): return \ +-+ +-+ def LIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def LIST_ENTRY(type): return \ +-+ +-+ def TAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def TAILQ_ENTRY(type): return \ +-+ +-+ def CIRCLEQ_ENTRY(type): return \ +-+ +-+ __KAME_VERSION = "20000701/FreeBSD-current" +-+ IPV6PORT_RESERVED = 1024 +-+ IPV6PORT_ANONMIN = 49152 +-+ IPV6PORT_ANONMAX = 65535 +-+ IPV6PORT_RESERVEDMIN = 600 +-+ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +-+ INET6_ADDRSTRLEN = 46 +-+ IPV6_ADDR_INT32_ONE = 1 +-+ IPV6_ADDR_INT32_TWO = 2 +-+ IPV6_ADDR_INT32_MNL = 0xff010000 +-+ IPV6_ADDR_INT32_MLL = 0xff020000 +-+ IPV6_ADDR_INT32_SMP = 0x0000ffff +-+ IPV6_ADDR_INT16_ULL = 0xfe80 +-+ IPV6_ADDR_INT16_USL = 0xfec0 +-+ IPV6_ADDR_INT16_MLL = 0xff02 +-+ IPV6_ADDR_INT32_ONE = 0x01000000 +-+ IPV6_ADDR_INT32_TWO = 0x02000000 +-+ IPV6_ADDR_INT32_MNL = 0x000001ff +-+ IPV6_ADDR_INT32_MLL = 0x000002ff +-+ IPV6_ADDR_INT32_SMP = 0xffff0000 +-+ IPV6_ADDR_INT16_ULL = 0x80fe +-+ IPV6_ADDR_INT16_USL = 0xc0fe +-+ IPV6_ADDR_INT16_MLL = 0x02ff +-+ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +-+ +-+ def IN6_IS_ADDR_LOOPBACK(a): return \ +-+ +-+ def IN6_IS_ADDR_V4COMPAT(a): return \ +-+ +-+ def IN6_IS_ADDR_V4MAPPED(a): return \ +-+ +-+ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ def IN6_IS_ADDR_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +-+ +-+ IPV6_OPTIONS = 1 +-+ IPV6_RECVOPTS = 5 +-+ IPV6_RECVRETOPTS = 6 +-+ IPV6_RECVDSTADDR = 7 +-+ IPV6_RETOPTS = 8 +-+ IPV6_SOCKOPT_RESERVED1 = 3 +-+ IPV6_UNICAST_HOPS = 4 +-+ IPV6_MULTICAST_IF = 9 +-+ IPV6_MULTICAST_HOPS = 10 +-+ IPV6_MULTICAST_LOOP = 11 +-+ IPV6_JOIN_GROUP = 12 +-+ IPV6_LEAVE_GROUP = 13 +-+ IPV6_PORTRANGE = 14 +-+ ICMP6_FILTER = 18 +-+ IPV6_PKTINFO = 19 +-+ IPV6_HOPLIMIT = 20 +-+ IPV6_NEXTHOP = 21 +-+ IPV6_HOPOPTS = 22 +-+ IPV6_DSTOPTS = 23 +-+ IPV6_RTHDR = 24 +-+ IPV6_PKTOPTIONS = 25 +-+ IPV6_CHECKSUM = 26 +-+ IPV6_BINDV6ONLY = 27 +-+ IPV6_IPSEC_POLICY = 28 +-+ IPV6_FAITH = 29 +-+ IPV6_FW_ADD = 30 +-+ IPV6_FW_DEL = 31 +-+ IPV6_FW_FLUSH = 32 +-+ IPV6_FW_ZERO = 33 +-+ IPV6_FW_GET = 34 +-+ IPV6_RTHDR_LOOSE = 0 +-+ IPV6_RTHDR_STRICT = 1 +-+ IPV6_RTHDR_TYPE_0 = 0 +-+ IPV6_DEFAULT_MULTICAST_HOPS = 1 +-+ IPV6_DEFAULT_MULTICAST_LOOP = 1 +-+ IPV6_PORTRANGE_DEFAULT = 0 +-+ IPV6_PORTRANGE_HIGH = 1 +-+ IPV6_PORTRANGE_LOW = 2 +-+ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +-+ IPV6CTL_FORWARDING = 1 +-+ IPV6CTL_SENDREDIRECTS = 2 +-+ IPV6CTL_DEFHLIM = 3 +-+ IPV6CTL_DEFMTU = 4 +-+ IPV6CTL_FORWSRCRT = 5 +-+ IPV6CTL_STATS = 6 +-+ IPV6CTL_MRTSTATS = 7 +-+ IPV6CTL_MRTPROTO = 8 +-+ IPV6CTL_MAXFRAGPACKETS = 9 +-+ IPV6CTL_SOURCECHECK = 10 +-+ IPV6CTL_SOURCECHECK_LOGINT = 11 +-+ IPV6CTL_ACCEPT_RTADV = 12 +-+ IPV6CTL_KEEPFAITH = 13 +-+ IPV6CTL_LOG_INTERVAL = 14 +-+ IPV6CTL_HDRNESTLIMIT = 15 +-+ IPV6CTL_DAD_COUNT = 16 +-+ IPV6CTL_AUTO_FLOWLABEL = 17 +-+ IPV6CTL_DEFMCASTHLIM = 18 +-+ IPV6CTL_GIF_HLIM = 19 +-+ IPV6CTL_KAME_VERSION = 20 +-+ IPV6CTL_USE_DEPRECATED = 21 +-+ IPV6CTL_RR_PRUNE = 22 +-+ IPV6CTL_MAPPED_ADDR = 23 +-+ IPV6CTL_BINDV6ONLY = 24 +-+ IPV6CTL_RTEXPIRE = 25 +-+ IPV6CTL_RTMINEXPIRE = 26 +-+ IPV6CTL_RTMAXCACHE = 27 +-+ IPV6CTL_MAXID = 28 +-*** misc/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:26:27 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:19:02 2005 +-*************** +-*** 0 **** +---- 1,3 ---- +-+ #! /bin/sh +-+ set -v +-+ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h +-*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:26:23 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:20:25 2005 +-*************** +-*** 0 **** +---- 1,355 ---- +-+ # Generated by h2py from /usr/include/netinet/in.h +-+ IPPROTO_IP = 0 +-+ IPPROTO_HOPOPTS = 0 +-+ IPPROTO_ICMP = 1 +-+ IPPROTO_IGMP = 2 +-+ IPPROTO_GGP = 3 +-+ IPPROTO_IPV4 = 4 +-+ IPPROTO_IPIP = IPPROTO_IPV4 +-+ IPPROTO_TCP = 6 +-+ IPPROTO_ST = 7 +-+ IPPROTO_EGP = 8 +-+ IPPROTO_PIGP = 9 +-+ IPPROTO_RCCMON = 10 +-+ IPPROTO_NVPII = 11 +-+ IPPROTO_PUP = 12 +-+ IPPROTO_ARGUS = 13 +-+ IPPROTO_EMCON = 14 +-+ IPPROTO_XNET = 15 +-+ IPPROTO_CHAOS = 16 +-+ IPPROTO_UDP = 17 +-+ IPPROTO_MUX = 18 +-+ IPPROTO_MEAS = 19 +-+ IPPROTO_HMP = 20 +-+ IPPROTO_PRM = 21 +-+ IPPROTO_IDP = 22 +-+ IPPROTO_TRUNK1 = 23 +-+ IPPROTO_TRUNK2 = 24 +-+ IPPROTO_LEAF1 = 25 +-+ IPPROTO_LEAF2 = 26 +-+ IPPROTO_RDP = 27 +-+ IPPROTO_IRTP = 28 +-+ IPPROTO_TP = 29 +-+ IPPROTO_BLT = 30 +-+ IPPROTO_NSP = 31 +-+ IPPROTO_INP = 32 +-+ IPPROTO_SEP = 33 +-+ IPPROTO_3PC = 34 +-+ IPPROTO_IDPR = 35 +-+ IPPROTO_XTP = 36 +-+ IPPROTO_DDP = 37 +-+ IPPROTO_CMTP = 38 +-+ IPPROTO_TPXX = 39 +-+ IPPROTO_IL = 40 +-+ IPPROTO_IPV6 = 41 +-+ IPPROTO_SDRP = 42 +-+ IPPROTO_ROUTING = 43 +-+ IPPROTO_FRAGMENT = 44 +-+ IPPROTO_IDRP = 45 +-+ IPPROTO_RSVP = 46 +-+ IPPROTO_GRE = 47 +-+ IPPROTO_MHRP = 48 +-+ IPPROTO_BHA = 49 +-+ IPPROTO_ESP = 50 +-+ IPPROTO_AH = 51 +-+ IPPROTO_INLSP = 52 +-+ IPPROTO_SWIPE = 53 +-+ IPPROTO_NHRP = 54 +-+ IPPROTO_ICMPV6 = 58 +-+ IPPROTO_NONE = 59 +-+ IPPROTO_DSTOPTS = 60 +-+ IPPROTO_AHIP = 61 +-+ IPPROTO_CFTP = 62 +-+ IPPROTO_HELLO = 63 +-+ IPPROTO_SATEXPAK = 64 +-+ IPPROTO_KRYPTOLAN = 65 +-+ IPPROTO_RVD = 66 +-+ IPPROTO_IPPC = 67 +-+ IPPROTO_ADFS = 68 +-+ IPPROTO_SATMON = 69 +-+ IPPROTO_VISA = 70 +-+ IPPROTO_IPCV = 71 +-+ IPPROTO_CPNX = 72 +-+ IPPROTO_CPHB = 73 +-+ IPPROTO_WSN = 74 +-+ IPPROTO_PVP = 75 +-+ IPPROTO_BRSATMON = 76 +-+ IPPROTO_ND = 77 +-+ IPPROTO_WBMON = 78 +-+ IPPROTO_WBEXPAK = 79 +-+ IPPROTO_EON = 80 +-+ IPPROTO_VMTP = 81 +-+ IPPROTO_SVMTP = 82 +-+ IPPROTO_VINES = 83 +-+ IPPROTO_TTP = 84 +-+ IPPROTO_IGP = 85 +-+ IPPROTO_DGP = 86 +-+ IPPROTO_TCF = 87 +-+ IPPROTO_IGRP = 88 +-+ IPPROTO_OSPFIGP = 89 +-+ IPPROTO_SRPC = 90 +-+ IPPROTO_LARP = 91 +-+ IPPROTO_MTP = 92 +-+ IPPROTO_AX25 = 93 +-+ IPPROTO_IPEIP = 94 +-+ IPPROTO_MICP = 95 +-+ IPPROTO_SCCSP = 96 +-+ IPPROTO_ETHERIP = 97 +-+ IPPROTO_ENCAP = 98 +-+ IPPROTO_APES = 99 +-+ IPPROTO_GMTP = 100 +-+ IPPROTO_IPCOMP = 108 +-+ IPPROTO_PIM = 103 +-+ IPPROTO_PGM = 113 +-+ IPPROTO_DIVERT = 254 +-+ IPPROTO_RAW = 255 +-+ IPPROTO_MAX = 256 +-+ IPPROTO_DONE = 257 +-+ IPPORT_RESERVED = 1024 +-+ IPPORT_USERRESERVED = 5000 +-+ IPPORT_HIFIRSTAUTO = 49152 +-+ IPPORT_HILASTAUTO = 65535 +-+ IPPORT_RESERVEDSTART = 600 +-+ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0) +-+ +-+ IN_CLASSA_NET = 0xff000000 +-+ IN_CLASSA_NSHIFT = 24 +-+ IN_CLASSA_HOST = 0x00ffffff +-+ IN_CLASSA_MAX = 128 +-+ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000) +-+ +-+ IN_CLASSB_NET = 0xffff0000 +-+ IN_CLASSB_NSHIFT = 16 +-+ IN_CLASSB_HOST = 0x0000ffff +-+ IN_CLASSB_MAX = 65536 +-+ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000) +-+ +-+ IN_CLASSC_NET = 0xffffff00 +-+ IN_CLASSC_NSHIFT = 8 +-+ IN_CLASSC_HOST = 0x000000ff +-+ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000) +-+ +-+ IN_CLASSD_NET = 0xf0000000 +-+ IN_CLASSD_NSHIFT = 28 +-+ IN_CLASSD_HOST = 0x0fffffff +-+ def IN_MULTICAST(i): return IN_CLASSD(i) +-+ +-+ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ INADDR_NONE = 0xffffffff +-+ IN_LOOPBACKNET = 127 +-+ INET_ADDRSTRLEN = 16 +-+ IP_OPTIONS = 1 +-+ IP_HDRINCL = 2 +-+ IP_TOS = 3 +-+ IP_TTL = 4 +-+ IP_RECVOPTS = 5 +-+ IP_RECVRETOPTS = 6 +-+ IP_RECVDSTADDR = 7 +-+ IP_RETOPTS = 8 +-+ IP_MULTICAST_IF = 9 +-+ IP_MULTICAST_TTL = 10 +-+ IP_MULTICAST_LOOP = 11 +-+ IP_ADD_MEMBERSHIP = 12 +-+ IP_DROP_MEMBERSHIP = 13 +-+ IP_MULTICAST_VIF = 14 +-+ IP_RSVP_ON = 15 +-+ IP_RSVP_OFF = 16 +-+ IP_RSVP_VIF_ON = 17 +-+ IP_RSVP_VIF_OFF = 18 +-+ IP_PORTRANGE = 19 +-+ IP_RECVIF = 20 +-+ IP_IPSEC_POLICY = 21 +-+ IP_FAITH = 22 +-+ IP_FW_ADD = 50 +-+ IP_FW_DEL = 51 +-+ IP_FW_FLUSH = 52 +-+ IP_FW_ZERO = 53 +-+ IP_FW_GET = 54 +-+ IP_FW_RESETLOG = 55 +-+ IP_DUMMYNET_CONFIGURE = 60 +-+ IP_DUMMYNET_DEL = 61 +-+ IP_DUMMYNET_FLUSH = 62 +-+ IP_DUMMYNET_GET = 64 +-+ IP_DEFAULT_MULTICAST_TTL = 1 +-+ IP_DEFAULT_MULTICAST_LOOP = 1 +-+ IP_MAX_MEMBERSHIPS = 20 +-+ IP_PORTRANGE_DEFAULT = 0 +-+ IP_PORTRANGE_HIGH = 1 +-+ IP_PORTRANGE_LOW = 2 +-+ IPPROTO_MAXID = (IPPROTO_AH + 1) +-+ IPCTL_FORWARDING = 1 +-+ IPCTL_SENDREDIRECTS = 2 +-+ IPCTL_DEFTTL = 3 +-+ IPCTL_DEFMTU = 4 +-+ IPCTL_RTEXPIRE = 5 +-+ IPCTL_RTMINEXPIRE = 6 +-+ IPCTL_RTMAXCACHE = 7 +-+ IPCTL_SOURCEROUTE = 8 +-+ IPCTL_DIRECTEDBROADCAST = 9 +-+ IPCTL_INTRQMAXLEN = 10 +-+ IPCTL_INTRQDROPS = 11 +-+ IPCTL_STATS = 12 +-+ IPCTL_ACCEPTSOURCEROUTE = 13 +-+ IPCTL_FASTFORWARDING = 14 +-+ IPCTL_KEEPFAITH = 15 +-+ IPCTL_GIF_TTL = 16 +-+ IPCTL_MAXID = 17 +-+ +-+ # Included from netinet6/in6.h +-+ +-+ # Included from sys/queue.h +-+ def SLIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def SLIST_ENTRY(type): return \ +-+ +-+ def STAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def STAILQ_ENTRY(type): return \ +-+ +-+ def LIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def LIST_ENTRY(type): return \ +-+ +-+ def TAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def TAILQ_ENTRY(type): return \ +-+ +-+ def CIRCLEQ_ENTRY(type): return \ +-+ +-+ __KAME_VERSION = "20000701/FreeBSD-current" +-+ IPV6PORT_RESERVED = 1024 +-+ IPV6PORT_ANONMIN = 49152 +-+ IPV6PORT_ANONMAX = 65535 +-+ IPV6PORT_RESERVEDMIN = 600 +-+ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +-+ INET6_ADDRSTRLEN = 46 +-+ IPV6_ADDR_INT32_ONE = 1 +-+ IPV6_ADDR_INT32_TWO = 2 +-+ IPV6_ADDR_INT32_MNL = 0xff010000 +-+ IPV6_ADDR_INT32_MLL = 0xff020000 +-+ IPV6_ADDR_INT32_SMP = 0x0000ffff +-+ IPV6_ADDR_INT16_ULL = 0xfe80 +-+ IPV6_ADDR_INT16_USL = 0xfec0 +-+ IPV6_ADDR_INT16_MLL = 0xff02 +-+ IPV6_ADDR_INT32_ONE = 0x01000000 +-+ IPV6_ADDR_INT32_TWO = 0x02000000 +-+ IPV6_ADDR_INT32_MNL = 0x000001ff +-+ IPV6_ADDR_INT32_MLL = 0x000002ff +-+ IPV6_ADDR_INT32_SMP = 0xffff0000 +-+ IPV6_ADDR_INT16_ULL = 0x80fe +-+ IPV6_ADDR_INT16_USL = 0xc0fe +-+ IPV6_ADDR_INT16_MLL = 0x02ff +-+ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +-+ +-+ def IN6_IS_ADDR_LOOPBACK(a): return \ +-+ +-+ def IN6_IS_ADDR_V4COMPAT(a): return \ +-+ +-+ def IN6_IS_ADDR_V4MAPPED(a): return \ +-+ +-+ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ def IN6_IS_ADDR_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +-+ +-+ IPV6_OPTIONS = 1 +-+ IPV6_RECVOPTS = 5 +-+ IPV6_RECVRETOPTS = 6 +-+ IPV6_RECVDSTADDR = 7 +-+ IPV6_RETOPTS = 8 +-+ IPV6_SOCKOPT_RESERVED1 = 3 +-+ IPV6_UNICAST_HOPS = 4 +-+ IPV6_MULTICAST_IF = 9 +-+ IPV6_MULTICAST_HOPS = 10 +-+ IPV6_MULTICAST_LOOP = 11 +-+ IPV6_JOIN_GROUP = 12 +-+ IPV6_LEAVE_GROUP = 13 +-+ IPV6_PORTRANGE = 14 +-+ ICMP6_FILTER = 18 +-+ IPV6_PKTINFO = 19 +-+ IPV6_HOPLIMIT = 20 +-+ IPV6_NEXTHOP = 21 +-+ IPV6_HOPOPTS = 22 +-+ IPV6_DSTOPTS = 23 +-+ IPV6_RTHDR = 24 +-+ IPV6_PKTOPTIONS = 25 +-+ IPV6_CHECKSUM = 26 +-+ IPV6_BINDV6ONLY = 27 +-+ IPV6_IPSEC_POLICY = 28 +-+ IPV6_FAITH = 29 +-+ IPV6_FW_ADD = 30 +-+ IPV6_FW_DEL = 31 +-+ IPV6_FW_FLUSH = 32 +-+ IPV6_FW_ZERO = 33 +-+ IPV6_FW_GET = 34 +-+ IPV6_RTHDR_LOOSE = 0 +-+ IPV6_RTHDR_STRICT = 1 +-+ IPV6_RTHDR_TYPE_0 = 0 +-+ IPV6_DEFAULT_MULTICAST_HOPS = 1 +-+ IPV6_DEFAULT_MULTICAST_LOOP = 1 +-+ IPV6_PORTRANGE_DEFAULT = 0 +-+ IPV6_PORTRANGE_HIGH = 1 +-+ IPV6_PORTRANGE_LOW = 2 +-+ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +-+ IPV6CTL_FORWARDING = 1 +-+ IPV6CTL_SENDREDIRECTS = 2 +-+ IPV6CTL_DEFHLIM = 3 +-+ IPV6CTL_DEFMTU = 4 +-+ IPV6CTL_FORWSRCRT = 5 +-+ IPV6CTL_STATS = 6 +-+ IPV6CTL_MRTSTATS = 7 +-+ IPV6CTL_MRTPROTO = 8 +-+ IPV6CTL_MAXFRAGPACKETS = 9 +-+ IPV6CTL_SOURCECHECK = 10 +-+ IPV6CTL_SOURCECHECK_LOGINT = 11 +-+ IPV6CTL_ACCEPT_RTADV = 12 +-+ IPV6CTL_KEEPFAITH = 13 +-+ IPV6CTL_LOG_INTERVAL = 14 +-+ IPV6CTL_HDRNESTLIMIT = 15 +-+ IPV6CTL_DAD_COUNT = 16 +-+ IPV6CTL_AUTO_FLOWLABEL = 17 +-+ IPV6CTL_DEFMCASTHLIM = 18 +-+ IPV6CTL_GIF_HLIM = 19 +-+ IPV6CTL_KAME_VERSION = 20 +-+ IPV6CTL_USE_DEPRECATED = 21 +-+ IPV6CTL_RR_PRUNE = 22 +-+ IPV6CTL_MAPPED_ADDR = 23 +-+ IPV6CTL_BINDV6ONLY = 24 +-+ IPV6CTL_RTEXPIRE = 25 +-+ IPV6CTL_RTMINEXPIRE = 26 +-+ IPV6CTL_RTMAXCACHE = 27 +-+ IPV6CTL_MAXID = 28 +-*** misc/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:26:27 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:19:02 2005 +-*************** +-*** 0 **** +---- 1,3 ---- +-+ #! /bin/sh +-+ set -v +-+ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h + *** misc/Python-2.3.4/configure Fri May 7 21:13:40 2004 + --- misc/build/Python-2.3.4/configure Wed Oct 17 14:01:02 2007 + *************** +@@ -16214,3 +17097,22 @@ + + /* Define the macros needed if on a UnixWare 7.x system. */ + #if defined(__USLC__) && defined(__SCO_VERSION__) ++*** misc/Python-2.3.4/setup.py Tue Oct 21 16:01:21 2003 ++--- misc/build/Python-2.3.4/setup.py Tue Jan 8 14:17:55 2008 ++*************** ++*** 770,776 **** ++ # Linux-specific modules ++ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) ++ ++! if platform in ('linux2', 'freebsd4'): ++ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) ++ ++ if platform == 'sunos5': ++--- 770,776 ---- ++ # Linux-specific modules ++ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) ++ ++! if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'): ++ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) ++ ++ if platform == 'sunos5': diff --git a/editors/openoffice.org-3-devel/Makefile b/editors/openoffice.org-3-devel/Makefile index 26150fc00034..18d714413dff 100644 --- a/editors/openoffice.org-3-devel/Makefile +++ b/editors/openoffice.org-3-devel/Makefile @@ -7,7 +7,6 @@ PORTNAME?= openoffice.org PORTVERSION?= 2.4.${SNAPDATE} -PORTREVISION= 1 CATEGORIES+= editors java MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \ http://openoffice.lunarshells.com/sources/ \ @@ -72,10 +71,10 @@ FREEBSD_ENV_SET= FreeBSDX86Env.Set .endif CODELINE= 680 -MILESTONE?= 241 +MILESTONE?= 242 OOOTAG?= SRC680_m${MILESTONE} OOOSRC?= OOo_${OOOTAG}_source${EXTRACT_SUFX} -SNAPDATE= 20071219 +SNAPDATE= 20080109 INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG} EXECBASE?= openoffice.org-${OOOTAG} .if defined(WITH_CWS) @@ -250,6 +249,10 @@ post-install: @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-spadmin @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-swriter @${ECHO_CMD} "" > ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ + ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} @${REINPLACE_CMD} -e '/^Exec/s/printeradmin/spadmin/' \ ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/*.desktop @for app in base calc draw impress math printeradmin writer; do \ @@ -264,6 +267,8 @@ post-install: ${DESKTOPDIR}/${EXECBASE} @${ECHO_CMD} "share/applications/${EXECBASE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE} + @${ECHO_CMD} "@exec ${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @for dir in `ls ${ICONS}/hicolor | ${GREP} -v CVS`; do \ for app in base calc draw impress math printeradmin writer; do \ if [ -r ${ICONS}/hicolor/$${dir}/apps/$${app}.png ]; then \ @@ -278,12 +283,10 @@ post-install: ${ECHO_CMD} "share/icons/hicolor/$${dir}/mimetypes/$${file}" >> ${TMPPLIST} ; \ done ; \ done - @${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE} - @${ECHO_CMD} "@exec ${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ - ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} + @${PREFIX}/bin/gtk-update-icon-cache -q -f ${PREFIX}/share/icons/hicolor 2>/dev/null || ${TRUE} + @${ECHO_CMD} "@unexec ${RM} %D/share/icons/hicolor/icon-theme.cache 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@exec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE} @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ -e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \ diff --git a/editors/openoffice.org-3-devel/distinfo b/editors/openoffice.org-3-devel/distinfo index d5b702adc439..25a9ef888a52 100644 --- a/editors/openoffice.org-3-devel/distinfo +++ b/editors/openoffice.org-3-devel/distinfo @@ -1,6 +1,6 @@ -MD5 (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = 5565be2383ff8a212e625f53b3a92e20 -SHA256 (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = ea8677d631cc6b1c98e764625a716517a63a6100a8a80c806ea466f86500ba61 -SIZE (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = 317799155 +MD5 (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = d7548f079437b7e3cb534ed45a7c5a13 +SHA256 (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = 807418dbfa7bed810be5080130a23f2718e4448db5016dd96947e80a0cdd3d21 +SIZE (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = 318276319 MD5 (openoffice.org2/unowinreg.dll) = e3a0b76dcd876f3d721ee7183729153d SHA256 (openoffice.org2/unowinreg.dll) = f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c SIZE (openoffice.org2/unowinreg.dll) = 6144 diff --git a/editors/openoffice.org-3-devel/files/patch-i85126 b/editors/openoffice.org-3-devel/files/patch-i85126 new file mode 100644 index 000000000000..f70616a998e1 --- /dev/null +++ b/editors/openoffice.org-3-devel/files/patch-i85126 @@ -0,0 +1,119 @@ +Merge from Linux CWS pj87 (#i83022#: Make bridges warning free) + +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 16 Sep 2006 15:46:23 -0000 1.3 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 8 Jan 2008 16:57:00 -0000 +@@ -358,6 +358,8 @@ + case X86_64_SSEDF_CLASS: + *pStructAlign++ = *reinterpret_cast<sal_uInt64 *>( *pSSE++ ); + break; ++ default: ++ break; + } + } + +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 16 Sep 2006 15:46:37 -0000 1.3 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 8 Jan 2008 16:57:00 -0000 +@@ -82,8 +82,8 @@ + void ** gpreg, void ** fpreg, void ** ovrflw, + sal_uInt64 * pRegisterReturn /* space for register return */ ) + { +- int nr_gpr = 0; //number of gpr registers used +- int nr_fpr = 0; //number of fpr regsiters used ++ unsigned int nr_gpr = 0; //number of gpr registers used ++ unsigned int nr_fpr = 0; //number of fpr registers used + + // return + typelib_TypeDescription * pReturnTypeDescr = 0; +@@ -492,7 +492,7 @@ + unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions( + void ** slots, unsigned char * code, + typelib_InterfaceTypeDescription const * type, sal_Int32 nFunctionOffset, +- sal_Int32 functionCount, sal_Int32 nVtableOffset ) ++ sal_Int32 /* functionCount */, sal_Int32 nVtableOffset ) + { + for ( sal_Int32 nPos = 0; nPos < type->nMembers; ++nPos ) + { +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 5 Jul 2007 09:01:44 -0000 1.4 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 8 Jan 2008 16:57:00 -0000 +@@ -180,8 +180,8 @@ + else + { + // try to lookup the symbol in the generated rtti map +- t_rtti_map::const_iterator iFind( m_generatedRttis.find( unoName ) ); +- if (iFind == m_generatedRttis.end()) ++ t_rtti_map::const_iterator iFind2( m_generatedRttis.find( unoName ) ); ++ if (iFind2 == m_generatedRttis.end()) + { + // we must generate it ! + // symbol and rtti-name is nearly identical, +@@ -210,7 +210,7 @@ + } + else // taking already generated rtti + { +- rtti = iFind->second; ++ rtti = iFind2->second; + } + } + } +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 5 Jul 2007 09:02:53 -0000 1.4 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 8 Jan 2008 16:57:00 -0000 +@@ -73,13 +73,13 @@ + // Let's figure out what is really going on here + { + fprintf( stderr, "= callVirtualMethod() =\nGPR's (%d): ", nGPR ); +- for ( int i = 0; i < nGPR; ++i ) ++ for ( unsigned int i = 0; i < nGPR; ++i ) + fprintf( stderr, "0x%lx, ", pGPR[i] ); + fprintf( stderr, "\nFPR's (%d): ", nFPR ); +- for ( int i = 0; i < nFPR; ++i ) ++ for ( unsigned int i = 0; i < nFPR; ++i ) + fprintf( stderr, "%f, ", pFPR[i] ); + fprintf( stderr, "\nStack (%d): ", nStack ); +- for ( int i = 0; i < nStack; ++i ) ++ for ( unsigned int i = 0; i < nStack; ++i ) + fprintf( stderr, "0x%lx, ", pStack[i] ); + fprintf( stderr, "\n" ); + } +@@ -328,6 +328,8 @@ + case typelib_TypeClass_DOUBLE: + INSERT_FLOAT_DOUBLE( pCppArgs[nPos], nFPR, pFPR, pStack ); + break; ++ default: ++ break; + } + + // no longer needed +@@ -440,16 +442,19 @@ + // is my surrogate + bridges::cpp_uno::shared::UnoInterfaceProxy * pThis + = static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy * >(pUnoI); ++#if OSL_DEBUG_LEVEL > 0 + typelib_InterfaceTypeDescription * pTypeDescr = pThis->pTypeDescr; ++#endif + + switch (pMemberDescr->eTypeClass) + { + case typelib_TypeClass_INTERFACE_ATTRIBUTE: + { ++#if OSL_DEBUG_LEVEL > 0 + // determine vtable call index + sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; + OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); +- ++#endif + VtableSlot aVtableSlot( + getVtableSlot( + reinterpret_cast< +@@ -494,10 +499,11 @@ + } + case typelib_TypeClass_INTERFACE_METHOD: + { ++#if OSL_DEBUG_LEVEL > 0 + // determine vtable call index + sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; + OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); +- ++#endif + VtableSlot aVtableSlot( + getVtableSlot( + reinterpret_cast< diff --git a/editors/openoffice.org-3-devel/files/patch-i85127 b/editors/openoffice.org-3-devel/files/patch-i85127 new file mode 100644 index 000000000000..3f50bdcb9668 --- /dev/null +++ b/editors/openoffice.org-3-devel/files/patch-i85127 @@ -0,0 +1,2397 @@ +- Add support for FreeBSD 8.x. +- Add patches for setup.py and Lib/posixfile.py. + +--- python/Python-2.3.4.patch 26 Oct 2007 11:27:52 -0000 1.20 ++++ python/Python-2.3.4.patch 8 Jan 2008 19:37:10 -0000 +@@ -131,6 +131,1625 @@ + name = 'posix' + linesep = '\n' + from posix import * ++*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Jan 8 14:12:12 2008 ++*************** ++*** 0 **** ++--- 1,515 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ __INTEL_COMPILER_with_FreeBSD_endian = 1 +++ __INTEL_COMPILER_with_FreeBSD_endian = 1 +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Jan 8 14:13:03 2008 ++*************** ++*** 0 **** ++--- 1,535 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ __GNUCLIKE_ASM = 3 +++ __GNUCLIKE_ASM = 2 +++ __GNUCLIKE___TYPEOF = 1 +++ __GNUCLIKE___OFFSETOF = 1 +++ __GNUCLIKE___SECTION = 1 +++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 +++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 +++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 +++ __GNUCLIKE_BUILTIN_VARARGS = 1 +++ __GNUCLIKE_BUILTIN_VAALIST = 1 +++ __GNUC_VA_LIST_COMPATIBILITY = 1 +++ __GNUCLIKE_BUILTIN_STDARG = 1 +++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 +++ __GNUCLIKE_BUILTIN_MEMCPY = 1 +++ __CC_SUPPORTS_INLINE = 1 +++ __CC_SUPPORTS___INLINE = 1 +++ __CC_SUPPORTS___INLINE__ = 1 +++ __CC_SUPPORTS___FUNC__ = 1 +++ __CC_SUPPORTS_WARNING = 1 +++ __CC_SUPPORTS_VARADIC_XXX = 1 +++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 +++ __CC_INT_IS_32BIT = 1 +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_CARP = 112 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPROTO_SPACER = 32767 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/plat-freebsd8/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd8/IN.py Tue Jan 8 14:13:22 2008 ++*************** ++*** 0 **** ++--- 1,535 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ __GNUCLIKE_ASM = 3 +++ __GNUCLIKE_ASM = 2 +++ __GNUCLIKE___TYPEOF = 1 +++ __GNUCLIKE___OFFSETOF = 1 +++ __GNUCLIKE___SECTION = 1 +++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 +++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 +++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 +++ __GNUCLIKE_BUILTIN_VARARGS = 1 +++ __GNUCLIKE_BUILTIN_VAALIST = 1 +++ __GNUC_VA_LIST_COMPATIBILITY = 1 +++ __GNUCLIKE_BUILTIN_STDARG = 1 +++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 +++ __GNUCLIKE_BUILTIN_MEMCPY = 1 +++ __CC_SUPPORTS_INLINE = 1 +++ __CC_SUPPORTS___INLINE = 1 +++ __CC_SUPPORTS___INLINE__ = 1 +++ __CC_SUPPORTS___FUNC__ = 1 +++ __CC_SUPPORTS_WARNING = 1 +++ __CC_SUPPORTS_VARADIC_XXX = 1 +++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 +++ __CC_INT_IS_32BIT = 1 +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_CARP = 112 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPROTO_SPACER = 32767 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/posixfile.py Wed Oct 24 18:03:35 2001 ++--- misc/build/Python-2.3.4/Lib/posixfile.py Tue Jan 8 14:16:12 2008 ++*************** ++*** 185,191 **** ++ if sys.platform in ('netbsd1', ++ 'openbsd2', ++ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', ++! 'bsdos2', 'bsdos3', 'bsdos4'): ++ flock = struct.pack('lxxxxlxxxxlhh', \ ++ l_start, l_len, os.getpid(), l_type, l_whence) ++ elif sys.platform in ['aix3', 'aix4']: ++--- 185,191 ---- ++ if sys.platform in ('netbsd1', ++ 'openbsd2', ++ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', ++! 'freebsd6', 'freebsd7', 'freebsd8', 'bsdos2', 'bsdos3', 'bsdos4'): ++ flock = struct.pack('lxxxxlxxxxlhh', \ ++ l_start, l_len, os.getpid(), l_type, l_whence) ++ elif sys.platform in ['aix3', 'aix4']: + *** misc/Python-2.3.4/Mac/OSX/Makefile Tue Nov 4 23:45:16 2003 + --- misc/build/Python-2.3.4/Mac/OSX/Makefile Wed Oct 17 14:01:01 2007 + *************** +@@ -14688,742 +16307,6 @@ + handler = signal(sig, SIG_IGN); + signal(sig, handler); + return handler; +-*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:26:23 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:20:25 2005 +-*************** +-*** 0 **** +---- 1,355 ---- +-+ # Generated by h2py from /usr/include/netinet/in.h +-+ IPPROTO_IP = 0 +-+ IPPROTO_HOPOPTS = 0 +-+ IPPROTO_ICMP = 1 +-+ IPPROTO_IGMP = 2 +-+ IPPROTO_GGP = 3 +-+ IPPROTO_IPV4 = 4 +-+ IPPROTO_IPIP = IPPROTO_IPV4 +-+ IPPROTO_TCP = 6 +-+ IPPROTO_ST = 7 +-+ IPPROTO_EGP = 8 +-+ IPPROTO_PIGP = 9 +-+ IPPROTO_RCCMON = 10 +-+ IPPROTO_NVPII = 11 +-+ IPPROTO_PUP = 12 +-+ IPPROTO_ARGUS = 13 +-+ IPPROTO_EMCON = 14 +-+ IPPROTO_XNET = 15 +-+ IPPROTO_CHAOS = 16 +-+ IPPROTO_UDP = 17 +-+ IPPROTO_MUX = 18 +-+ IPPROTO_MEAS = 19 +-+ IPPROTO_HMP = 20 +-+ IPPROTO_PRM = 21 +-+ IPPROTO_IDP = 22 +-+ IPPROTO_TRUNK1 = 23 +-+ IPPROTO_TRUNK2 = 24 +-+ IPPROTO_LEAF1 = 25 +-+ IPPROTO_LEAF2 = 26 +-+ IPPROTO_RDP = 27 +-+ IPPROTO_IRTP = 28 +-+ IPPROTO_TP = 29 +-+ IPPROTO_BLT = 30 +-+ IPPROTO_NSP = 31 +-+ IPPROTO_INP = 32 +-+ IPPROTO_SEP = 33 +-+ IPPROTO_3PC = 34 +-+ IPPROTO_IDPR = 35 +-+ IPPROTO_XTP = 36 +-+ IPPROTO_DDP = 37 +-+ IPPROTO_CMTP = 38 +-+ IPPROTO_TPXX = 39 +-+ IPPROTO_IL = 40 +-+ IPPROTO_IPV6 = 41 +-+ IPPROTO_SDRP = 42 +-+ IPPROTO_ROUTING = 43 +-+ IPPROTO_FRAGMENT = 44 +-+ IPPROTO_IDRP = 45 +-+ IPPROTO_RSVP = 46 +-+ IPPROTO_GRE = 47 +-+ IPPROTO_MHRP = 48 +-+ IPPROTO_BHA = 49 +-+ IPPROTO_ESP = 50 +-+ IPPROTO_AH = 51 +-+ IPPROTO_INLSP = 52 +-+ IPPROTO_SWIPE = 53 +-+ IPPROTO_NHRP = 54 +-+ IPPROTO_ICMPV6 = 58 +-+ IPPROTO_NONE = 59 +-+ IPPROTO_DSTOPTS = 60 +-+ IPPROTO_AHIP = 61 +-+ IPPROTO_CFTP = 62 +-+ IPPROTO_HELLO = 63 +-+ IPPROTO_SATEXPAK = 64 +-+ IPPROTO_KRYPTOLAN = 65 +-+ IPPROTO_RVD = 66 +-+ IPPROTO_IPPC = 67 +-+ IPPROTO_ADFS = 68 +-+ IPPROTO_SATMON = 69 +-+ IPPROTO_VISA = 70 +-+ IPPROTO_IPCV = 71 +-+ IPPROTO_CPNX = 72 +-+ IPPROTO_CPHB = 73 +-+ IPPROTO_WSN = 74 +-+ IPPROTO_PVP = 75 +-+ IPPROTO_BRSATMON = 76 +-+ IPPROTO_ND = 77 +-+ IPPROTO_WBMON = 78 +-+ IPPROTO_WBEXPAK = 79 +-+ IPPROTO_EON = 80 +-+ IPPROTO_VMTP = 81 +-+ IPPROTO_SVMTP = 82 +-+ IPPROTO_VINES = 83 +-+ IPPROTO_TTP = 84 +-+ IPPROTO_IGP = 85 +-+ IPPROTO_DGP = 86 +-+ IPPROTO_TCF = 87 +-+ IPPROTO_IGRP = 88 +-+ IPPROTO_OSPFIGP = 89 +-+ IPPROTO_SRPC = 90 +-+ IPPROTO_LARP = 91 +-+ IPPROTO_MTP = 92 +-+ IPPROTO_AX25 = 93 +-+ IPPROTO_IPEIP = 94 +-+ IPPROTO_MICP = 95 +-+ IPPROTO_SCCSP = 96 +-+ IPPROTO_ETHERIP = 97 +-+ IPPROTO_ENCAP = 98 +-+ IPPROTO_APES = 99 +-+ IPPROTO_GMTP = 100 +-+ IPPROTO_IPCOMP = 108 +-+ IPPROTO_PIM = 103 +-+ IPPROTO_PGM = 113 +-+ IPPROTO_DIVERT = 254 +-+ IPPROTO_RAW = 255 +-+ IPPROTO_MAX = 256 +-+ IPPROTO_DONE = 257 +-+ IPPORT_RESERVED = 1024 +-+ IPPORT_USERRESERVED = 5000 +-+ IPPORT_HIFIRSTAUTO = 49152 +-+ IPPORT_HILASTAUTO = 65535 +-+ IPPORT_RESERVEDSTART = 600 +-+ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0) +-+ +-+ IN_CLASSA_NET = 0xff000000 +-+ IN_CLASSA_NSHIFT = 24 +-+ IN_CLASSA_HOST = 0x00ffffff +-+ IN_CLASSA_MAX = 128 +-+ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000) +-+ +-+ IN_CLASSB_NET = 0xffff0000 +-+ IN_CLASSB_NSHIFT = 16 +-+ IN_CLASSB_HOST = 0x0000ffff +-+ IN_CLASSB_MAX = 65536 +-+ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000) +-+ +-+ IN_CLASSC_NET = 0xffffff00 +-+ IN_CLASSC_NSHIFT = 8 +-+ IN_CLASSC_HOST = 0x000000ff +-+ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000) +-+ +-+ IN_CLASSD_NET = 0xf0000000 +-+ IN_CLASSD_NSHIFT = 28 +-+ IN_CLASSD_HOST = 0x0fffffff +-+ def IN_MULTICAST(i): return IN_CLASSD(i) +-+ +-+ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ INADDR_NONE = 0xffffffff +-+ IN_LOOPBACKNET = 127 +-+ INET_ADDRSTRLEN = 16 +-+ IP_OPTIONS = 1 +-+ IP_HDRINCL = 2 +-+ IP_TOS = 3 +-+ IP_TTL = 4 +-+ IP_RECVOPTS = 5 +-+ IP_RECVRETOPTS = 6 +-+ IP_RECVDSTADDR = 7 +-+ IP_RETOPTS = 8 +-+ IP_MULTICAST_IF = 9 +-+ IP_MULTICAST_TTL = 10 +-+ IP_MULTICAST_LOOP = 11 +-+ IP_ADD_MEMBERSHIP = 12 +-+ IP_DROP_MEMBERSHIP = 13 +-+ IP_MULTICAST_VIF = 14 +-+ IP_RSVP_ON = 15 +-+ IP_RSVP_OFF = 16 +-+ IP_RSVP_VIF_ON = 17 +-+ IP_RSVP_VIF_OFF = 18 +-+ IP_PORTRANGE = 19 +-+ IP_RECVIF = 20 +-+ IP_IPSEC_POLICY = 21 +-+ IP_FAITH = 22 +-+ IP_FW_ADD = 50 +-+ IP_FW_DEL = 51 +-+ IP_FW_FLUSH = 52 +-+ IP_FW_ZERO = 53 +-+ IP_FW_GET = 54 +-+ IP_FW_RESETLOG = 55 +-+ IP_DUMMYNET_CONFIGURE = 60 +-+ IP_DUMMYNET_DEL = 61 +-+ IP_DUMMYNET_FLUSH = 62 +-+ IP_DUMMYNET_GET = 64 +-+ IP_DEFAULT_MULTICAST_TTL = 1 +-+ IP_DEFAULT_MULTICAST_LOOP = 1 +-+ IP_MAX_MEMBERSHIPS = 20 +-+ IP_PORTRANGE_DEFAULT = 0 +-+ IP_PORTRANGE_HIGH = 1 +-+ IP_PORTRANGE_LOW = 2 +-+ IPPROTO_MAXID = (IPPROTO_AH + 1) +-+ IPCTL_FORWARDING = 1 +-+ IPCTL_SENDREDIRECTS = 2 +-+ IPCTL_DEFTTL = 3 +-+ IPCTL_DEFMTU = 4 +-+ IPCTL_RTEXPIRE = 5 +-+ IPCTL_RTMINEXPIRE = 6 +-+ IPCTL_RTMAXCACHE = 7 +-+ IPCTL_SOURCEROUTE = 8 +-+ IPCTL_DIRECTEDBROADCAST = 9 +-+ IPCTL_INTRQMAXLEN = 10 +-+ IPCTL_INTRQDROPS = 11 +-+ IPCTL_STATS = 12 +-+ IPCTL_ACCEPTSOURCEROUTE = 13 +-+ IPCTL_FASTFORWARDING = 14 +-+ IPCTL_KEEPFAITH = 15 +-+ IPCTL_GIF_TTL = 16 +-+ IPCTL_MAXID = 17 +-+ +-+ # Included from netinet6/in6.h +-+ +-+ # Included from sys/queue.h +-+ def SLIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def SLIST_ENTRY(type): return \ +-+ +-+ def STAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def STAILQ_ENTRY(type): return \ +-+ +-+ def LIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def LIST_ENTRY(type): return \ +-+ +-+ def TAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def TAILQ_ENTRY(type): return \ +-+ +-+ def CIRCLEQ_ENTRY(type): return \ +-+ +-+ __KAME_VERSION = "20000701/FreeBSD-current" +-+ IPV6PORT_RESERVED = 1024 +-+ IPV6PORT_ANONMIN = 49152 +-+ IPV6PORT_ANONMAX = 65535 +-+ IPV6PORT_RESERVEDMIN = 600 +-+ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +-+ INET6_ADDRSTRLEN = 46 +-+ IPV6_ADDR_INT32_ONE = 1 +-+ IPV6_ADDR_INT32_TWO = 2 +-+ IPV6_ADDR_INT32_MNL = 0xff010000 +-+ IPV6_ADDR_INT32_MLL = 0xff020000 +-+ IPV6_ADDR_INT32_SMP = 0x0000ffff +-+ IPV6_ADDR_INT16_ULL = 0xfe80 +-+ IPV6_ADDR_INT16_USL = 0xfec0 +-+ IPV6_ADDR_INT16_MLL = 0xff02 +-+ IPV6_ADDR_INT32_ONE = 0x01000000 +-+ IPV6_ADDR_INT32_TWO = 0x02000000 +-+ IPV6_ADDR_INT32_MNL = 0x000001ff +-+ IPV6_ADDR_INT32_MLL = 0x000002ff +-+ IPV6_ADDR_INT32_SMP = 0xffff0000 +-+ IPV6_ADDR_INT16_ULL = 0x80fe +-+ IPV6_ADDR_INT16_USL = 0xc0fe +-+ IPV6_ADDR_INT16_MLL = 0x02ff +-+ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +-+ +-+ def IN6_IS_ADDR_LOOPBACK(a): return \ +-+ +-+ def IN6_IS_ADDR_V4COMPAT(a): return \ +-+ +-+ def IN6_IS_ADDR_V4MAPPED(a): return \ +-+ +-+ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ def IN6_IS_ADDR_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +-+ +-+ IPV6_OPTIONS = 1 +-+ IPV6_RECVOPTS = 5 +-+ IPV6_RECVRETOPTS = 6 +-+ IPV6_RECVDSTADDR = 7 +-+ IPV6_RETOPTS = 8 +-+ IPV6_SOCKOPT_RESERVED1 = 3 +-+ IPV6_UNICAST_HOPS = 4 +-+ IPV6_MULTICAST_IF = 9 +-+ IPV6_MULTICAST_HOPS = 10 +-+ IPV6_MULTICAST_LOOP = 11 +-+ IPV6_JOIN_GROUP = 12 +-+ IPV6_LEAVE_GROUP = 13 +-+ IPV6_PORTRANGE = 14 +-+ ICMP6_FILTER = 18 +-+ IPV6_PKTINFO = 19 +-+ IPV6_HOPLIMIT = 20 +-+ IPV6_NEXTHOP = 21 +-+ IPV6_HOPOPTS = 22 +-+ IPV6_DSTOPTS = 23 +-+ IPV6_RTHDR = 24 +-+ IPV6_PKTOPTIONS = 25 +-+ IPV6_CHECKSUM = 26 +-+ IPV6_BINDV6ONLY = 27 +-+ IPV6_IPSEC_POLICY = 28 +-+ IPV6_FAITH = 29 +-+ IPV6_FW_ADD = 30 +-+ IPV6_FW_DEL = 31 +-+ IPV6_FW_FLUSH = 32 +-+ IPV6_FW_ZERO = 33 +-+ IPV6_FW_GET = 34 +-+ IPV6_RTHDR_LOOSE = 0 +-+ IPV6_RTHDR_STRICT = 1 +-+ IPV6_RTHDR_TYPE_0 = 0 +-+ IPV6_DEFAULT_MULTICAST_HOPS = 1 +-+ IPV6_DEFAULT_MULTICAST_LOOP = 1 +-+ IPV6_PORTRANGE_DEFAULT = 0 +-+ IPV6_PORTRANGE_HIGH = 1 +-+ IPV6_PORTRANGE_LOW = 2 +-+ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +-+ IPV6CTL_FORWARDING = 1 +-+ IPV6CTL_SENDREDIRECTS = 2 +-+ IPV6CTL_DEFHLIM = 3 +-+ IPV6CTL_DEFMTU = 4 +-+ IPV6CTL_FORWSRCRT = 5 +-+ IPV6CTL_STATS = 6 +-+ IPV6CTL_MRTSTATS = 7 +-+ IPV6CTL_MRTPROTO = 8 +-+ IPV6CTL_MAXFRAGPACKETS = 9 +-+ IPV6CTL_SOURCECHECK = 10 +-+ IPV6CTL_SOURCECHECK_LOGINT = 11 +-+ IPV6CTL_ACCEPT_RTADV = 12 +-+ IPV6CTL_KEEPFAITH = 13 +-+ IPV6CTL_LOG_INTERVAL = 14 +-+ IPV6CTL_HDRNESTLIMIT = 15 +-+ IPV6CTL_DAD_COUNT = 16 +-+ IPV6CTL_AUTO_FLOWLABEL = 17 +-+ IPV6CTL_DEFMCASTHLIM = 18 +-+ IPV6CTL_GIF_HLIM = 19 +-+ IPV6CTL_KAME_VERSION = 20 +-+ IPV6CTL_USE_DEPRECATED = 21 +-+ IPV6CTL_RR_PRUNE = 22 +-+ IPV6CTL_MAPPED_ADDR = 23 +-+ IPV6CTL_BINDV6ONLY = 24 +-+ IPV6CTL_RTEXPIRE = 25 +-+ IPV6CTL_RTMINEXPIRE = 26 +-+ IPV6CTL_RTMAXCACHE = 27 +-+ IPV6CTL_MAXID = 28 +-*** misc/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:26:27 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:19:02 2005 +-*************** +-*** 0 **** +---- 1,3 ---- +-+ #! /bin/sh +-+ set -v +-+ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h +-*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:26:23 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:20:25 2005 +-*************** +-*** 0 **** +---- 1,355 ---- +-+ # Generated by h2py from /usr/include/netinet/in.h +-+ IPPROTO_IP = 0 +-+ IPPROTO_HOPOPTS = 0 +-+ IPPROTO_ICMP = 1 +-+ IPPROTO_IGMP = 2 +-+ IPPROTO_GGP = 3 +-+ IPPROTO_IPV4 = 4 +-+ IPPROTO_IPIP = IPPROTO_IPV4 +-+ IPPROTO_TCP = 6 +-+ IPPROTO_ST = 7 +-+ IPPROTO_EGP = 8 +-+ IPPROTO_PIGP = 9 +-+ IPPROTO_RCCMON = 10 +-+ IPPROTO_NVPII = 11 +-+ IPPROTO_PUP = 12 +-+ IPPROTO_ARGUS = 13 +-+ IPPROTO_EMCON = 14 +-+ IPPROTO_XNET = 15 +-+ IPPROTO_CHAOS = 16 +-+ IPPROTO_UDP = 17 +-+ IPPROTO_MUX = 18 +-+ IPPROTO_MEAS = 19 +-+ IPPROTO_HMP = 20 +-+ IPPROTO_PRM = 21 +-+ IPPROTO_IDP = 22 +-+ IPPROTO_TRUNK1 = 23 +-+ IPPROTO_TRUNK2 = 24 +-+ IPPROTO_LEAF1 = 25 +-+ IPPROTO_LEAF2 = 26 +-+ IPPROTO_RDP = 27 +-+ IPPROTO_IRTP = 28 +-+ IPPROTO_TP = 29 +-+ IPPROTO_BLT = 30 +-+ IPPROTO_NSP = 31 +-+ IPPROTO_INP = 32 +-+ IPPROTO_SEP = 33 +-+ IPPROTO_3PC = 34 +-+ IPPROTO_IDPR = 35 +-+ IPPROTO_XTP = 36 +-+ IPPROTO_DDP = 37 +-+ IPPROTO_CMTP = 38 +-+ IPPROTO_TPXX = 39 +-+ IPPROTO_IL = 40 +-+ IPPROTO_IPV6 = 41 +-+ IPPROTO_SDRP = 42 +-+ IPPROTO_ROUTING = 43 +-+ IPPROTO_FRAGMENT = 44 +-+ IPPROTO_IDRP = 45 +-+ IPPROTO_RSVP = 46 +-+ IPPROTO_GRE = 47 +-+ IPPROTO_MHRP = 48 +-+ IPPROTO_BHA = 49 +-+ IPPROTO_ESP = 50 +-+ IPPROTO_AH = 51 +-+ IPPROTO_INLSP = 52 +-+ IPPROTO_SWIPE = 53 +-+ IPPROTO_NHRP = 54 +-+ IPPROTO_ICMPV6 = 58 +-+ IPPROTO_NONE = 59 +-+ IPPROTO_DSTOPTS = 60 +-+ IPPROTO_AHIP = 61 +-+ IPPROTO_CFTP = 62 +-+ IPPROTO_HELLO = 63 +-+ IPPROTO_SATEXPAK = 64 +-+ IPPROTO_KRYPTOLAN = 65 +-+ IPPROTO_RVD = 66 +-+ IPPROTO_IPPC = 67 +-+ IPPROTO_ADFS = 68 +-+ IPPROTO_SATMON = 69 +-+ IPPROTO_VISA = 70 +-+ IPPROTO_IPCV = 71 +-+ IPPROTO_CPNX = 72 +-+ IPPROTO_CPHB = 73 +-+ IPPROTO_WSN = 74 +-+ IPPROTO_PVP = 75 +-+ IPPROTO_BRSATMON = 76 +-+ IPPROTO_ND = 77 +-+ IPPROTO_WBMON = 78 +-+ IPPROTO_WBEXPAK = 79 +-+ IPPROTO_EON = 80 +-+ IPPROTO_VMTP = 81 +-+ IPPROTO_SVMTP = 82 +-+ IPPROTO_VINES = 83 +-+ IPPROTO_TTP = 84 +-+ IPPROTO_IGP = 85 +-+ IPPROTO_DGP = 86 +-+ IPPROTO_TCF = 87 +-+ IPPROTO_IGRP = 88 +-+ IPPROTO_OSPFIGP = 89 +-+ IPPROTO_SRPC = 90 +-+ IPPROTO_LARP = 91 +-+ IPPROTO_MTP = 92 +-+ IPPROTO_AX25 = 93 +-+ IPPROTO_IPEIP = 94 +-+ IPPROTO_MICP = 95 +-+ IPPROTO_SCCSP = 96 +-+ IPPROTO_ETHERIP = 97 +-+ IPPROTO_ENCAP = 98 +-+ IPPROTO_APES = 99 +-+ IPPROTO_GMTP = 100 +-+ IPPROTO_IPCOMP = 108 +-+ IPPROTO_PIM = 103 +-+ IPPROTO_PGM = 113 +-+ IPPROTO_DIVERT = 254 +-+ IPPROTO_RAW = 255 +-+ IPPROTO_MAX = 256 +-+ IPPROTO_DONE = 257 +-+ IPPORT_RESERVED = 1024 +-+ IPPORT_USERRESERVED = 5000 +-+ IPPORT_HIFIRSTAUTO = 49152 +-+ IPPORT_HILASTAUTO = 65535 +-+ IPPORT_RESERVEDSTART = 600 +-+ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0) +-+ +-+ IN_CLASSA_NET = 0xff000000 +-+ IN_CLASSA_NSHIFT = 24 +-+ IN_CLASSA_HOST = 0x00ffffff +-+ IN_CLASSA_MAX = 128 +-+ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000) +-+ +-+ IN_CLASSB_NET = 0xffff0000 +-+ IN_CLASSB_NSHIFT = 16 +-+ IN_CLASSB_HOST = 0x0000ffff +-+ IN_CLASSB_MAX = 65536 +-+ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000) +-+ +-+ IN_CLASSC_NET = 0xffffff00 +-+ IN_CLASSC_NSHIFT = 8 +-+ IN_CLASSC_HOST = 0x000000ff +-+ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000) +-+ +-+ IN_CLASSD_NET = 0xf0000000 +-+ IN_CLASSD_NSHIFT = 28 +-+ IN_CLASSD_HOST = 0x0fffffff +-+ def IN_MULTICAST(i): return IN_CLASSD(i) +-+ +-+ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ INADDR_NONE = 0xffffffff +-+ IN_LOOPBACKNET = 127 +-+ INET_ADDRSTRLEN = 16 +-+ IP_OPTIONS = 1 +-+ IP_HDRINCL = 2 +-+ IP_TOS = 3 +-+ IP_TTL = 4 +-+ IP_RECVOPTS = 5 +-+ IP_RECVRETOPTS = 6 +-+ IP_RECVDSTADDR = 7 +-+ IP_RETOPTS = 8 +-+ IP_MULTICAST_IF = 9 +-+ IP_MULTICAST_TTL = 10 +-+ IP_MULTICAST_LOOP = 11 +-+ IP_ADD_MEMBERSHIP = 12 +-+ IP_DROP_MEMBERSHIP = 13 +-+ IP_MULTICAST_VIF = 14 +-+ IP_RSVP_ON = 15 +-+ IP_RSVP_OFF = 16 +-+ IP_RSVP_VIF_ON = 17 +-+ IP_RSVP_VIF_OFF = 18 +-+ IP_PORTRANGE = 19 +-+ IP_RECVIF = 20 +-+ IP_IPSEC_POLICY = 21 +-+ IP_FAITH = 22 +-+ IP_FW_ADD = 50 +-+ IP_FW_DEL = 51 +-+ IP_FW_FLUSH = 52 +-+ IP_FW_ZERO = 53 +-+ IP_FW_GET = 54 +-+ IP_FW_RESETLOG = 55 +-+ IP_DUMMYNET_CONFIGURE = 60 +-+ IP_DUMMYNET_DEL = 61 +-+ IP_DUMMYNET_FLUSH = 62 +-+ IP_DUMMYNET_GET = 64 +-+ IP_DEFAULT_MULTICAST_TTL = 1 +-+ IP_DEFAULT_MULTICAST_LOOP = 1 +-+ IP_MAX_MEMBERSHIPS = 20 +-+ IP_PORTRANGE_DEFAULT = 0 +-+ IP_PORTRANGE_HIGH = 1 +-+ IP_PORTRANGE_LOW = 2 +-+ IPPROTO_MAXID = (IPPROTO_AH + 1) +-+ IPCTL_FORWARDING = 1 +-+ IPCTL_SENDREDIRECTS = 2 +-+ IPCTL_DEFTTL = 3 +-+ IPCTL_DEFMTU = 4 +-+ IPCTL_RTEXPIRE = 5 +-+ IPCTL_RTMINEXPIRE = 6 +-+ IPCTL_RTMAXCACHE = 7 +-+ IPCTL_SOURCEROUTE = 8 +-+ IPCTL_DIRECTEDBROADCAST = 9 +-+ IPCTL_INTRQMAXLEN = 10 +-+ IPCTL_INTRQDROPS = 11 +-+ IPCTL_STATS = 12 +-+ IPCTL_ACCEPTSOURCEROUTE = 13 +-+ IPCTL_FASTFORWARDING = 14 +-+ IPCTL_KEEPFAITH = 15 +-+ IPCTL_GIF_TTL = 16 +-+ IPCTL_MAXID = 17 +-+ +-+ # Included from netinet6/in6.h +-+ +-+ # Included from sys/queue.h +-+ def SLIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def SLIST_ENTRY(type): return \ +-+ +-+ def STAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def STAILQ_ENTRY(type): return \ +-+ +-+ def LIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def LIST_ENTRY(type): return \ +-+ +-+ def TAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def TAILQ_ENTRY(type): return \ +-+ +-+ def CIRCLEQ_ENTRY(type): return \ +-+ +-+ __KAME_VERSION = "20000701/FreeBSD-current" +-+ IPV6PORT_RESERVED = 1024 +-+ IPV6PORT_ANONMIN = 49152 +-+ IPV6PORT_ANONMAX = 65535 +-+ IPV6PORT_RESERVEDMIN = 600 +-+ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +-+ INET6_ADDRSTRLEN = 46 +-+ IPV6_ADDR_INT32_ONE = 1 +-+ IPV6_ADDR_INT32_TWO = 2 +-+ IPV6_ADDR_INT32_MNL = 0xff010000 +-+ IPV6_ADDR_INT32_MLL = 0xff020000 +-+ IPV6_ADDR_INT32_SMP = 0x0000ffff +-+ IPV6_ADDR_INT16_ULL = 0xfe80 +-+ IPV6_ADDR_INT16_USL = 0xfec0 +-+ IPV6_ADDR_INT16_MLL = 0xff02 +-+ IPV6_ADDR_INT32_ONE = 0x01000000 +-+ IPV6_ADDR_INT32_TWO = 0x02000000 +-+ IPV6_ADDR_INT32_MNL = 0x000001ff +-+ IPV6_ADDR_INT32_MLL = 0x000002ff +-+ IPV6_ADDR_INT32_SMP = 0xffff0000 +-+ IPV6_ADDR_INT16_ULL = 0x80fe +-+ IPV6_ADDR_INT16_USL = 0xc0fe +-+ IPV6_ADDR_INT16_MLL = 0x02ff +-+ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +-+ +-+ def IN6_IS_ADDR_LOOPBACK(a): return \ +-+ +-+ def IN6_IS_ADDR_V4COMPAT(a): return \ +-+ +-+ def IN6_IS_ADDR_V4MAPPED(a): return \ +-+ +-+ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ def IN6_IS_ADDR_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +-+ +-+ IPV6_OPTIONS = 1 +-+ IPV6_RECVOPTS = 5 +-+ IPV6_RECVRETOPTS = 6 +-+ IPV6_RECVDSTADDR = 7 +-+ IPV6_RETOPTS = 8 +-+ IPV6_SOCKOPT_RESERVED1 = 3 +-+ IPV6_UNICAST_HOPS = 4 +-+ IPV6_MULTICAST_IF = 9 +-+ IPV6_MULTICAST_HOPS = 10 +-+ IPV6_MULTICAST_LOOP = 11 +-+ IPV6_JOIN_GROUP = 12 +-+ IPV6_LEAVE_GROUP = 13 +-+ IPV6_PORTRANGE = 14 +-+ ICMP6_FILTER = 18 +-+ IPV6_PKTINFO = 19 +-+ IPV6_HOPLIMIT = 20 +-+ IPV6_NEXTHOP = 21 +-+ IPV6_HOPOPTS = 22 +-+ IPV6_DSTOPTS = 23 +-+ IPV6_RTHDR = 24 +-+ IPV6_PKTOPTIONS = 25 +-+ IPV6_CHECKSUM = 26 +-+ IPV6_BINDV6ONLY = 27 +-+ IPV6_IPSEC_POLICY = 28 +-+ IPV6_FAITH = 29 +-+ IPV6_FW_ADD = 30 +-+ IPV6_FW_DEL = 31 +-+ IPV6_FW_FLUSH = 32 +-+ IPV6_FW_ZERO = 33 +-+ IPV6_FW_GET = 34 +-+ IPV6_RTHDR_LOOSE = 0 +-+ IPV6_RTHDR_STRICT = 1 +-+ IPV6_RTHDR_TYPE_0 = 0 +-+ IPV6_DEFAULT_MULTICAST_HOPS = 1 +-+ IPV6_DEFAULT_MULTICAST_LOOP = 1 +-+ IPV6_PORTRANGE_DEFAULT = 0 +-+ IPV6_PORTRANGE_HIGH = 1 +-+ IPV6_PORTRANGE_LOW = 2 +-+ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +-+ IPV6CTL_FORWARDING = 1 +-+ IPV6CTL_SENDREDIRECTS = 2 +-+ IPV6CTL_DEFHLIM = 3 +-+ IPV6CTL_DEFMTU = 4 +-+ IPV6CTL_FORWSRCRT = 5 +-+ IPV6CTL_STATS = 6 +-+ IPV6CTL_MRTSTATS = 7 +-+ IPV6CTL_MRTPROTO = 8 +-+ IPV6CTL_MAXFRAGPACKETS = 9 +-+ IPV6CTL_SOURCECHECK = 10 +-+ IPV6CTL_SOURCECHECK_LOGINT = 11 +-+ IPV6CTL_ACCEPT_RTADV = 12 +-+ IPV6CTL_KEEPFAITH = 13 +-+ IPV6CTL_LOG_INTERVAL = 14 +-+ IPV6CTL_HDRNESTLIMIT = 15 +-+ IPV6CTL_DAD_COUNT = 16 +-+ IPV6CTL_AUTO_FLOWLABEL = 17 +-+ IPV6CTL_DEFMCASTHLIM = 18 +-+ IPV6CTL_GIF_HLIM = 19 +-+ IPV6CTL_KAME_VERSION = 20 +-+ IPV6CTL_USE_DEPRECATED = 21 +-+ IPV6CTL_RR_PRUNE = 22 +-+ IPV6CTL_MAPPED_ADDR = 23 +-+ IPV6CTL_BINDV6ONLY = 24 +-+ IPV6CTL_RTEXPIRE = 25 +-+ IPV6CTL_RTMINEXPIRE = 26 +-+ IPV6CTL_RTMAXCACHE = 27 +-+ IPV6CTL_MAXID = 28 +-*** misc/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:26:27 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:19:02 2005 +-*************** +-*** 0 **** +---- 1,3 ---- +-+ #! /bin/sh +-+ set -v +-+ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h + *** misc/Python-2.3.4/configure Fri May 7 21:13:40 2004 + --- misc/build/Python-2.3.4/configure Wed Oct 17 14:01:02 2007 + *************** +@@ -16214,3 +17097,22 @@ + + /* Define the macros needed if on a UnixWare 7.x system. */ + #if defined(__USLC__) && defined(__SCO_VERSION__) ++*** misc/Python-2.3.4/setup.py Tue Oct 21 16:01:21 2003 ++--- misc/build/Python-2.3.4/setup.py Tue Jan 8 14:17:55 2008 ++*************** ++*** 770,776 **** ++ # Linux-specific modules ++ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) ++ ++! if platform in ('linux2', 'freebsd4'): ++ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) ++ ++ if platform == 'sunos5': ++--- 770,776 ---- ++ # Linux-specific modules ++ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) ++ ++! if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'): ++ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) ++ ++ if platform == 'sunos5': diff --git a/editors/openoffice.org-vcltesttool/Makefile b/editors/openoffice.org-vcltesttool/Makefile index 26150fc00034..18d714413dff 100644 --- a/editors/openoffice.org-vcltesttool/Makefile +++ b/editors/openoffice.org-vcltesttool/Makefile @@ -7,7 +7,6 @@ PORTNAME?= openoffice.org PORTVERSION?= 2.4.${SNAPDATE} -PORTREVISION= 1 CATEGORIES+= editors java MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \ http://openoffice.lunarshells.com/sources/ \ @@ -72,10 +71,10 @@ FREEBSD_ENV_SET= FreeBSDX86Env.Set .endif CODELINE= 680 -MILESTONE?= 241 +MILESTONE?= 242 OOOTAG?= SRC680_m${MILESTONE} OOOSRC?= OOo_${OOOTAG}_source${EXTRACT_SUFX} -SNAPDATE= 20071219 +SNAPDATE= 20080109 INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG} EXECBASE?= openoffice.org-${OOOTAG} .if defined(WITH_CWS) @@ -250,6 +249,10 @@ post-install: @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-spadmin @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-swriter @${ECHO_CMD} "" > ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} + @cd ${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ + ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} @${REINPLACE_CMD} -e '/^Exec/s/printeradmin/spadmin/' \ ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg/*.desktop @for app in base calc draw impress math printeradmin writer; do \ @@ -264,6 +267,8 @@ post-install: ${DESKTOPDIR}/${EXECBASE} @${ECHO_CMD} "share/applications/${EXECBASE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE} + @${ECHO_CMD} "@exec ${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @for dir in `ls ${ICONS}/hicolor | ${GREP} -v CVS`; do \ for app in base calc draw impress math printeradmin writer; do \ if [ -r ${ICONS}/hicolor/$${dir}/apps/$${app}.png ]; then \ @@ -278,12 +283,10 @@ post-install: ${ECHO_CMD} "share/icons/hicolor/$${dir}/mimetypes/$${file}" >> ${TMPPLIST} ; \ done ; \ done - @${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE} - @${ECHO_CMD} "@exec ${PREFIX}/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} - @cd ${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ - ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} + @${PREFIX}/bin/gtk-update-icon-cache -q -f ${PREFIX}/share/icons/hicolor 2>/dev/null || ${TRUE} + @${ECHO_CMD} "@unexec ${RM} %D/share/icons/hicolor/icon-theme.cache 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@exec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE} @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ -e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \ diff --git a/editors/openoffice.org-vcltesttool/distinfo b/editors/openoffice.org-vcltesttool/distinfo index d5b702adc439..25a9ef888a52 100644 --- a/editors/openoffice.org-vcltesttool/distinfo +++ b/editors/openoffice.org-vcltesttool/distinfo @@ -1,6 +1,6 @@ -MD5 (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = 5565be2383ff8a212e625f53b3a92e20 -SHA256 (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = ea8677d631cc6b1c98e764625a716517a63a6100a8a80c806ea466f86500ba61 -SIZE (openoffice.org2/OOo_SRC680_m241_source.tar.bz2) = 317799155 +MD5 (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = d7548f079437b7e3cb534ed45a7c5a13 +SHA256 (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = 807418dbfa7bed810be5080130a23f2718e4448db5016dd96947e80a0cdd3d21 +SIZE (openoffice.org2/OOo_SRC680_m242_source.tar.bz2) = 318276319 MD5 (openoffice.org2/unowinreg.dll) = e3a0b76dcd876f3d721ee7183729153d SHA256 (openoffice.org2/unowinreg.dll) = f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c SIZE (openoffice.org2/unowinreg.dll) = 6144 diff --git a/editors/openoffice.org-vcltesttool/files/patch-i85126 b/editors/openoffice.org-vcltesttool/files/patch-i85126 new file mode 100644 index 000000000000..f70616a998e1 --- /dev/null +++ b/editors/openoffice.org-vcltesttool/files/patch-i85126 @@ -0,0 +1,119 @@ +Merge from Linux CWS pj87 (#i83022#: Make bridges warning free) + +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 16 Sep 2006 15:46:23 -0000 1.3 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 8 Jan 2008 16:57:00 -0000 +@@ -358,6 +358,8 @@ + case X86_64_SSEDF_CLASS: + *pStructAlign++ = *reinterpret_cast<sal_uInt64 *>( *pSSE++ ); + break; ++ default: ++ break; + } + } + +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 16 Sep 2006 15:46:37 -0000 1.3 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 8 Jan 2008 16:57:00 -0000 +@@ -82,8 +82,8 @@ + void ** gpreg, void ** fpreg, void ** ovrflw, + sal_uInt64 * pRegisterReturn /* space for register return */ ) + { +- int nr_gpr = 0; //number of gpr registers used +- int nr_fpr = 0; //number of fpr regsiters used ++ unsigned int nr_gpr = 0; //number of gpr registers used ++ unsigned int nr_fpr = 0; //number of fpr registers used + + // return + typelib_TypeDescription * pReturnTypeDescr = 0; +@@ -492,7 +492,7 @@ + unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions( + void ** slots, unsigned char * code, + typelib_InterfaceTypeDescription const * type, sal_Int32 nFunctionOffset, +- sal_Int32 functionCount, sal_Int32 nVtableOffset ) ++ sal_Int32 /* functionCount */, sal_Int32 nVtableOffset ) + { + for ( sal_Int32 nPos = 0; nPos < type->nMembers; ++nPos ) + { +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 5 Jul 2007 09:01:44 -0000 1.4 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 8 Jan 2008 16:57:00 -0000 +@@ -180,8 +180,8 @@ + else + { + // try to lookup the symbol in the generated rtti map +- t_rtti_map::const_iterator iFind( m_generatedRttis.find( unoName ) ); +- if (iFind == m_generatedRttis.end()) ++ t_rtti_map::const_iterator iFind2( m_generatedRttis.find( unoName ) ); ++ if (iFind2 == m_generatedRttis.end()) + { + // we must generate it ! + // symbol and rtti-name is nearly identical, +@@ -210,7 +210,7 @@ + } + else // taking already generated rtti + { +- rtti = iFind->second; ++ rtti = iFind2->second; + } + } + } +--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 5 Jul 2007 09:02:53 -0000 1.4 ++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 8 Jan 2008 16:57:00 -0000 +@@ -73,13 +73,13 @@ + // Let's figure out what is really going on here + { + fprintf( stderr, "= callVirtualMethod() =\nGPR's (%d): ", nGPR ); +- for ( int i = 0; i < nGPR; ++i ) ++ for ( unsigned int i = 0; i < nGPR; ++i ) + fprintf( stderr, "0x%lx, ", pGPR[i] ); + fprintf( stderr, "\nFPR's (%d): ", nFPR ); +- for ( int i = 0; i < nFPR; ++i ) ++ for ( unsigned int i = 0; i < nFPR; ++i ) + fprintf( stderr, "%f, ", pFPR[i] ); + fprintf( stderr, "\nStack (%d): ", nStack ); +- for ( int i = 0; i < nStack; ++i ) ++ for ( unsigned int i = 0; i < nStack; ++i ) + fprintf( stderr, "0x%lx, ", pStack[i] ); + fprintf( stderr, "\n" ); + } +@@ -328,6 +328,8 @@ + case typelib_TypeClass_DOUBLE: + INSERT_FLOAT_DOUBLE( pCppArgs[nPos], nFPR, pFPR, pStack ); + break; ++ default: ++ break; + } + + // no longer needed +@@ -440,16 +442,19 @@ + // is my surrogate + bridges::cpp_uno::shared::UnoInterfaceProxy * pThis + = static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy * >(pUnoI); ++#if OSL_DEBUG_LEVEL > 0 + typelib_InterfaceTypeDescription * pTypeDescr = pThis->pTypeDescr; ++#endif + + switch (pMemberDescr->eTypeClass) + { + case typelib_TypeClass_INTERFACE_ATTRIBUTE: + { ++#if OSL_DEBUG_LEVEL > 0 + // determine vtable call index + sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; + OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); +- ++#endif + VtableSlot aVtableSlot( + getVtableSlot( + reinterpret_cast< +@@ -494,10 +499,11 @@ + } + case typelib_TypeClass_INTERFACE_METHOD: + { ++#if OSL_DEBUG_LEVEL > 0 + // determine vtable call index + sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; + OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); +- ++#endif + VtableSlot aVtableSlot( + getVtableSlot( + reinterpret_cast< diff --git a/editors/openoffice.org-vcltesttool/files/patch-i85127 b/editors/openoffice.org-vcltesttool/files/patch-i85127 new file mode 100644 index 000000000000..3f50bdcb9668 --- /dev/null +++ b/editors/openoffice.org-vcltesttool/files/patch-i85127 @@ -0,0 +1,2397 @@ +- Add support for FreeBSD 8.x. +- Add patches for setup.py and Lib/posixfile.py. + +--- python/Python-2.3.4.patch 26 Oct 2007 11:27:52 -0000 1.20 ++++ python/Python-2.3.4.patch 8 Jan 2008 19:37:10 -0000 +@@ -131,6 +131,1625 @@ + name = 'posix' + linesep = '\n' + from posix import * ++*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Jan 8 14:12:12 2008 ++*************** ++*** 0 **** ++--- 1,515 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ __INTEL_COMPILER_with_FreeBSD_endian = 1 +++ __INTEL_COMPILER_with_FreeBSD_endian = 1 +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Jan 8 14:13:03 2008 ++*************** ++*** 0 **** ++--- 1,535 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ __GNUCLIKE_ASM = 3 +++ __GNUCLIKE_ASM = 2 +++ __GNUCLIKE___TYPEOF = 1 +++ __GNUCLIKE___OFFSETOF = 1 +++ __GNUCLIKE___SECTION = 1 +++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 +++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 +++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 +++ __GNUCLIKE_BUILTIN_VARARGS = 1 +++ __GNUCLIKE_BUILTIN_VAALIST = 1 +++ __GNUC_VA_LIST_COMPATIBILITY = 1 +++ __GNUCLIKE_BUILTIN_STDARG = 1 +++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 +++ __GNUCLIKE_BUILTIN_MEMCPY = 1 +++ __CC_SUPPORTS_INLINE = 1 +++ __CC_SUPPORTS___INLINE = 1 +++ __CC_SUPPORTS___INLINE__ = 1 +++ __CC_SUPPORTS___FUNC__ = 1 +++ __CC_SUPPORTS_WARNING = 1 +++ __CC_SUPPORTS_VARADIC_XXX = 1 +++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 +++ __CC_INT_IS_32BIT = 1 +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_CARP = 112 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPROTO_SPACER = 32767 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/plat-freebsd8/IN.py Wed Dec 31 19:00:00 1969 ++--- misc/build/Python-2.3.4/Lib/plat-freebsd8/IN.py Tue Jan 8 14:13:22 2008 ++*************** ++*** 0 **** ++--- 1,535 ---- +++ # Generated by h2py from /usr/include/netinet/in.h +++ +++ # Included from sys/cdefs.h +++ __GNUCLIKE_ASM = 3 +++ __GNUCLIKE_ASM = 2 +++ __GNUCLIKE___TYPEOF = 1 +++ __GNUCLIKE___OFFSETOF = 1 +++ __GNUCLIKE___SECTION = 1 +++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 +++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 +++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 +++ __GNUCLIKE_BUILTIN_VARARGS = 1 +++ __GNUCLIKE_BUILTIN_VAALIST = 1 +++ __GNUC_VA_LIST_COMPATIBILITY = 1 +++ __GNUCLIKE_BUILTIN_STDARG = 1 +++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 +++ __GNUCLIKE_BUILTIN_MEMCPY = 1 +++ __CC_SUPPORTS_INLINE = 1 +++ __CC_SUPPORTS___INLINE = 1 +++ __CC_SUPPORTS___INLINE__ = 1 +++ __CC_SUPPORTS___FUNC__ = 1 +++ __CC_SUPPORTS_WARNING = 1 +++ __CC_SUPPORTS_VARADIC_XXX = 1 +++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 +++ __CC_INT_IS_32BIT = 1 +++ def __P(protos): return protos +++ +++ def __STRING(x): return #x +++ +++ def __XSTRING(x): return __STRING(x) +++ +++ def __P(protos): return () +++ +++ def __STRING(x): return "x" +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __aligned(x): return __attribute__((__aligned__(x))) +++ +++ def __section(x): return __attribute__((__section__(x))) +++ +++ def __nonnull(x): return __attribute__((__nonnull__(x))) +++ +++ def __predict_true(exp): return __builtin_expect((exp), 1) +++ +++ def __predict_false(exp): return __builtin_expect((exp), 0) +++ +++ def __predict_true(exp): return (exp) +++ +++ def __predict_false(exp): return (exp) +++ +++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +++ +++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) +++ +++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) +++ +++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) +++ +++ _POSIX_C_SOURCE = 199009 +++ _POSIX_C_SOURCE = 199209 +++ __XSI_VISIBLE = 600 +++ _POSIX_C_SOURCE = 200112 +++ __XSI_VISIBLE = 500 +++ _POSIX_C_SOURCE = 199506 +++ _POSIX_C_SOURCE = 198808 +++ __POSIX_VISIBLE = 200112 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 199506 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199309 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199209 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 199009 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 198808 +++ __ISO_C_VISIBLE = 0 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1990 +++ __POSIX_VISIBLE = 0 +++ __XSI_VISIBLE = 0 +++ __BSD_VISIBLE = 0 +++ __ISO_C_VISIBLE = 1999 +++ __POSIX_VISIBLE = 200112 +++ __XSI_VISIBLE = 600 +++ __BSD_VISIBLE = 1 +++ __ISO_C_VISIBLE = 1999 +++ +++ # Included from sys/_types.h +++ +++ # Included from machine/_types.h +++ +++ # Included from machine/endian.h +++ _QUAD_HIGHWORD = 1 +++ _QUAD_LOWWORD = 0 +++ _LITTLE_ENDIAN = 1234 +++ _BIG_ENDIAN = 4321 +++ _PDP_ENDIAN = 3412 +++ _BYTE_ORDER = _LITTLE_ENDIAN +++ LITTLE_ENDIAN = _LITTLE_ENDIAN +++ BIG_ENDIAN = _BIG_ENDIAN +++ PDP_ENDIAN = _PDP_ENDIAN +++ BYTE_ORDER = _BYTE_ORDER +++ def __word_swap_int_var(x): return \ +++ +++ def __word_swap_int_const(x): return \ +++ +++ def __word_swap_int(x): return __word_swap_int_var(x) +++ +++ def __byte_swap_int_var(x): return \ +++ +++ def __byte_swap_int_const(x): return \ +++ +++ def __byte_swap_int(x): return __byte_swap_int_var(x) +++ +++ def __byte_swap_word_var(x): return \ +++ +++ def __byte_swap_word_const(x): return \ +++ +++ def __byte_swap_word(x): return __byte_swap_word_var(x) +++ +++ def __htonl(x): return __bswap32(x) +++ +++ def __htons(x): return __bswap16(x) +++ +++ def __ntohl(x): return __bswap32(x) +++ +++ def __ntohs(x): return __bswap16(x) +++ +++ IPPROTO_IP = 0 +++ IPPROTO_ICMP = 1 +++ IPPROTO_TCP = 6 +++ IPPROTO_UDP = 17 +++ def htonl(x): return __htonl(x) +++ +++ def htons(x): return __htons(x) +++ +++ def ntohl(x): return __ntohl(x) +++ +++ def ntohs(x): return __ntohs(x) +++ +++ IPPROTO_RAW = 255 +++ INET_ADDRSTRLEN = 16 +++ IPPROTO_HOPOPTS = 0 +++ IPPROTO_IGMP = 2 +++ IPPROTO_GGP = 3 +++ IPPROTO_IPV4 = 4 +++ IPPROTO_IPIP = IPPROTO_IPV4 +++ IPPROTO_ST = 7 +++ IPPROTO_EGP = 8 +++ IPPROTO_PIGP = 9 +++ IPPROTO_RCCMON = 10 +++ IPPROTO_NVPII = 11 +++ IPPROTO_PUP = 12 +++ IPPROTO_ARGUS = 13 +++ IPPROTO_EMCON = 14 +++ IPPROTO_XNET = 15 +++ IPPROTO_CHAOS = 16 +++ IPPROTO_MUX = 18 +++ IPPROTO_MEAS = 19 +++ IPPROTO_HMP = 20 +++ IPPROTO_PRM = 21 +++ IPPROTO_IDP = 22 +++ IPPROTO_TRUNK1 = 23 +++ IPPROTO_TRUNK2 = 24 +++ IPPROTO_LEAF1 = 25 +++ IPPROTO_LEAF2 = 26 +++ IPPROTO_RDP = 27 +++ IPPROTO_IRTP = 28 +++ IPPROTO_TP = 29 +++ IPPROTO_BLT = 30 +++ IPPROTO_NSP = 31 +++ IPPROTO_INP = 32 +++ IPPROTO_SEP = 33 +++ IPPROTO_3PC = 34 +++ IPPROTO_IDPR = 35 +++ IPPROTO_XTP = 36 +++ IPPROTO_DDP = 37 +++ IPPROTO_CMTP = 38 +++ IPPROTO_TPXX = 39 +++ IPPROTO_IL = 40 +++ IPPROTO_IPV6 = 41 +++ IPPROTO_SDRP = 42 +++ IPPROTO_ROUTING = 43 +++ IPPROTO_FRAGMENT = 44 +++ IPPROTO_IDRP = 45 +++ IPPROTO_RSVP = 46 +++ IPPROTO_GRE = 47 +++ IPPROTO_MHRP = 48 +++ IPPROTO_BHA = 49 +++ IPPROTO_ESP = 50 +++ IPPROTO_AH = 51 +++ IPPROTO_INLSP = 52 +++ IPPROTO_SWIPE = 53 +++ IPPROTO_NHRP = 54 +++ IPPROTO_MOBILE = 55 +++ IPPROTO_TLSP = 56 +++ IPPROTO_SKIP = 57 +++ IPPROTO_ICMPV6 = 58 +++ IPPROTO_NONE = 59 +++ IPPROTO_DSTOPTS = 60 +++ IPPROTO_AHIP = 61 +++ IPPROTO_CFTP = 62 +++ IPPROTO_HELLO = 63 +++ IPPROTO_SATEXPAK = 64 +++ IPPROTO_KRYPTOLAN = 65 +++ IPPROTO_RVD = 66 +++ IPPROTO_IPPC = 67 +++ IPPROTO_ADFS = 68 +++ IPPROTO_SATMON = 69 +++ IPPROTO_VISA = 70 +++ IPPROTO_IPCV = 71 +++ IPPROTO_CPNX = 72 +++ IPPROTO_CPHB = 73 +++ IPPROTO_WSN = 74 +++ IPPROTO_PVP = 75 +++ IPPROTO_BRSATMON = 76 +++ IPPROTO_ND = 77 +++ IPPROTO_WBMON = 78 +++ IPPROTO_WBEXPAK = 79 +++ IPPROTO_EON = 80 +++ IPPROTO_VMTP = 81 +++ IPPROTO_SVMTP = 82 +++ IPPROTO_VINES = 83 +++ IPPROTO_TTP = 84 +++ IPPROTO_IGP = 85 +++ IPPROTO_DGP = 86 +++ IPPROTO_TCF = 87 +++ IPPROTO_IGRP = 88 +++ IPPROTO_OSPFIGP = 89 +++ IPPROTO_SRPC = 90 +++ IPPROTO_LARP = 91 +++ IPPROTO_MTP = 92 +++ IPPROTO_AX25 = 93 +++ IPPROTO_IPEIP = 94 +++ IPPROTO_MICP = 95 +++ IPPROTO_SCCSP = 96 +++ IPPROTO_ETHERIP = 97 +++ IPPROTO_ENCAP = 98 +++ IPPROTO_APES = 99 +++ IPPROTO_GMTP = 100 +++ IPPROTO_IPCOMP = 108 +++ IPPROTO_PIM = 103 +++ IPPROTO_CARP = 112 +++ IPPROTO_PGM = 113 +++ IPPROTO_PFSYNC = 240 +++ IPPROTO_OLD_DIVERT = 254 +++ IPPROTO_MAX = 256 +++ IPPROTO_DONE = 257 +++ IPPROTO_DIVERT = 258 +++ IPPROTO_SPACER = 32767 +++ IPPORT_RESERVED = 1024 +++ IPPORT_HIFIRSTAUTO = 49152 +++ IPPORT_HILASTAUTO = 65535 +++ IPPORT_RESERVEDSTART = 600 +++ IPPORT_MAX = 65535 +++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) +++ +++ IN_CLASSA_NET = (-16777216) +++ IN_CLASSA_NSHIFT = 24 +++ IN_CLASSA_HOST = 0x00ffffff +++ IN_CLASSA_MAX = 128 +++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) +++ +++ IN_CLASSB_NET = (-65536) +++ IN_CLASSB_NSHIFT = 16 +++ IN_CLASSB_HOST = 0x0000ffff +++ IN_CLASSB_MAX = 65536 +++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) +++ +++ IN_CLASSC_NET = (-256) +++ IN_CLASSC_NSHIFT = 8 +++ IN_CLASSC_HOST = 0x000000ff +++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) +++ +++ IN_CLASSD_NET = (-268435456) +++ IN_CLASSD_NSHIFT = 28 +++ IN_CLASSD_HOST = 0x0fffffff +++ def IN_MULTICAST(i): return IN_CLASSD(i) +++ +++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) +++ +++ INADDR_NONE = (-1) +++ IN_LOOPBACKNET = 127 +++ IP_OPTIONS = 1 +++ IP_HDRINCL = 2 +++ IP_TOS = 3 +++ IP_TTL = 4 +++ IP_RECVOPTS = 5 +++ IP_RECVRETOPTS = 6 +++ IP_RECVDSTADDR = 7 +++ IP_SENDSRCADDR = IP_RECVDSTADDR +++ IP_RETOPTS = 8 +++ IP_MULTICAST_IF = 9 +++ IP_MULTICAST_TTL = 10 +++ IP_MULTICAST_LOOP = 11 +++ IP_ADD_MEMBERSHIP = 12 +++ IP_DROP_MEMBERSHIP = 13 +++ IP_MULTICAST_VIF = 14 +++ IP_RSVP_ON = 15 +++ IP_RSVP_OFF = 16 +++ IP_RSVP_VIF_ON = 17 +++ IP_RSVP_VIF_OFF = 18 +++ IP_PORTRANGE = 19 +++ IP_RECVIF = 20 +++ IP_IPSEC_POLICY = 21 +++ IP_FAITH = 22 +++ IP_ONESBCAST = 23 +++ IP_FW_TABLE_ADD = 40 +++ IP_FW_TABLE_DEL = 41 +++ IP_FW_TABLE_FLUSH = 42 +++ IP_FW_TABLE_GETSIZE = 43 +++ IP_FW_TABLE_LIST = 44 +++ IP_FW_ADD = 50 +++ IP_FW_DEL = 51 +++ IP_FW_FLUSH = 52 +++ IP_FW_ZERO = 53 +++ IP_FW_GET = 54 +++ IP_FW_RESETLOG = 55 +++ IP_DUMMYNET_CONFIGURE = 60 +++ IP_DUMMYNET_DEL = 61 +++ IP_DUMMYNET_FLUSH = 62 +++ IP_DUMMYNET_GET = 64 +++ IP_RECVTTL = 65 +++ IP_DEFAULT_MULTICAST_TTL = 1 +++ IP_DEFAULT_MULTICAST_LOOP = 1 +++ IP_MAX_MEMBERSHIPS = 20 +++ IP_PORTRANGE_DEFAULT = 0 +++ IP_PORTRANGE_HIGH = 1 +++ IP_PORTRANGE_LOW = 2 +++ IPPROTO_MAXID = (IPPROTO_AH + 1) +++ IPCTL_FORWARDING = 1 +++ IPCTL_SENDREDIRECTS = 2 +++ IPCTL_DEFTTL = 3 +++ IPCTL_DEFMTU = 4 +++ IPCTL_RTEXPIRE = 5 +++ IPCTL_RTMINEXPIRE = 6 +++ IPCTL_RTMAXCACHE = 7 +++ IPCTL_SOURCEROUTE = 8 +++ IPCTL_DIRECTEDBROADCAST = 9 +++ IPCTL_INTRQMAXLEN = 10 +++ IPCTL_INTRQDROPS = 11 +++ IPCTL_STATS = 12 +++ IPCTL_ACCEPTSOURCEROUTE = 13 +++ IPCTL_FASTFORWARDING = 14 +++ IPCTL_KEEPFAITH = 15 +++ IPCTL_GIF_TTL = 16 +++ IPCTL_MAXID = 17 +++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) +++ +++ +++ # Included from netinet6/in6.h +++ __KAME_VERSION = "20010528/FreeBSD" +++ IPV6PORT_RESERVED = 1024 +++ IPV6PORT_ANONMIN = 49152 +++ IPV6PORT_ANONMAX = 65535 +++ IPV6PORT_RESERVEDMIN = 600 +++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +++ INET6_ADDRSTRLEN = 46 +++ IPV6_ADDR_INT32_ONE = 1 +++ IPV6_ADDR_INT32_TWO = 2 +++ IPV6_ADDR_INT32_MNL = (-16711680) +++ IPV6_ADDR_INT32_MLL = (-16646144) +++ IPV6_ADDR_INT32_SMP = 0x0000ffff +++ IPV6_ADDR_INT16_ULL = 0xfe80 +++ IPV6_ADDR_INT16_USL = 0xfec0 +++ IPV6_ADDR_INT16_MLL = 0xff02 +++ IPV6_ADDR_INT32_ONE = 0x01000000 +++ IPV6_ADDR_INT32_TWO = 0x02000000 +++ IPV6_ADDR_INT32_MNL = 0x000001ff +++ IPV6_ADDR_INT32_MLL = 0x000002ff +++ IPV6_ADDR_INT32_SMP = (-65536) +++ IPV6_ADDR_INT16_ULL = 0x80fe +++ IPV6_ADDR_INT16_USL = 0xc0fe +++ IPV6_ADDR_INT16_MLL = 0x02ff +++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +++ +++ def IN6_IS_ADDR_LOOPBACK(a): return \ +++ +++ def IN6_IS_ADDR_V4COMPAT(a): return \ +++ +++ def IN6_IS_ADDR_V4MAPPED(a): return \ +++ +++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 +++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +++ def IN6_IS_ADDR_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +++ +++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +++ +++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +++ +++ def IFA6_IS_DEPRECATED(a): return \ +++ +++ def IFA6_IS_INVALID(a): return \ +++ +++ IPV6_OPTIONS = 1 +++ IPV6_RECVOPTS = 5 +++ IPV6_RECVRETOPTS = 6 +++ IPV6_RECVDSTADDR = 7 +++ IPV6_RETOPTS = 8 +++ IPV6_SOCKOPT_RESERVED1 = 3 +++ IPV6_UNICAST_HOPS = 4 +++ IPV6_MULTICAST_IF = 9 +++ IPV6_MULTICAST_HOPS = 10 +++ IPV6_MULTICAST_LOOP = 11 +++ IPV6_JOIN_GROUP = 12 +++ IPV6_LEAVE_GROUP = 13 +++ IPV6_PORTRANGE = 14 +++ ICMP6_FILTER = 18 +++ IPV6_2292PKTINFO = 19 +++ IPV6_2292HOPLIMIT = 20 +++ IPV6_2292NEXTHOP = 21 +++ IPV6_2292HOPOPTS = 22 +++ IPV6_2292DSTOPTS = 23 +++ IPV6_2292RTHDR = 24 +++ IPV6_2292PKTOPTIONS = 25 +++ IPV6_CHECKSUM = 26 +++ IPV6_V6ONLY = 27 +++ IPV6_BINDV6ONLY = IPV6_V6ONLY +++ IPV6_IPSEC_POLICY = 28 +++ IPV6_FAITH = 29 +++ IPV6_FW_ADD = 30 +++ IPV6_FW_DEL = 31 +++ IPV6_FW_FLUSH = 32 +++ IPV6_FW_ZERO = 33 +++ IPV6_FW_GET = 34 +++ IPV6_RTHDRDSTOPTS = 35 +++ IPV6_RECVPKTINFO = 36 +++ IPV6_RECVHOPLIMIT = 37 +++ IPV6_RECVRTHDR = 38 +++ IPV6_RECVHOPOPTS = 39 +++ IPV6_RECVDSTOPTS = 40 +++ IPV6_RECVRTHDRDSTOPTS = 41 +++ IPV6_USE_MIN_MTU = 42 +++ IPV6_RECVPATHMTU = 43 +++ IPV6_PATHMTU = 44 +++ IPV6_REACHCONF = 45 +++ IPV6_PKTINFO = 46 +++ IPV6_HOPLIMIT = 47 +++ IPV6_NEXTHOP = 48 +++ IPV6_HOPOPTS = 49 +++ IPV6_DSTOPTS = 50 +++ IPV6_RTHDR = 51 +++ IPV6_PKTOPTIONS = 52 +++ IPV6_RECVTCLASS = 57 +++ IPV6_AUTOFLOWLABEL = 59 +++ IPV6_TCLASS = 61 +++ IPV6_DONTFRAG = 62 +++ IPV6_PREFER_TEMPADDR = 63 +++ IPV6_RTHDR_LOOSE = 0 +++ IPV6_RTHDR_STRICT = 1 +++ IPV6_RTHDR_TYPE_0 = 0 +++ IPV6_DEFAULT_MULTICAST_HOPS = 1 +++ IPV6_DEFAULT_MULTICAST_LOOP = 1 +++ IPV6_PORTRANGE_DEFAULT = 0 +++ IPV6_PORTRANGE_HIGH = 1 +++ IPV6_PORTRANGE_LOW = 2 +++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +++ IPV6CTL_FORWARDING = 1 +++ IPV6CTL_SENDREDIRECTS = 2 +++ IPV6CTL_DEFHLIM = 3 +++ IPV6CTL_DEFMTU = 4 +++ IPV6CTL_FORWSRCRT = 5 +++ IPV6CTL_STATS = 6 +++ IPV6CTL_MRTSTATS = 7 +++ IPV6CTL_MRTPROTO = 8 +++ IPV6CTL_MAXFRAGPACKETS = 9 +++ IPV6CTL_SOURCECHECK = 10 +++ IPV6CTL_SOURCECHECK_LOGINT = 11 +++ IPV6CTL_ACCEPT_RTADV = 12 +++ IPV6CTL_KEEPFAITH = 13 +++ IPV6CTL_LOG_INTERVAL = 14 +++ IPV6CTL_HDRNESTLIMIT = 15 +++ IPV6CTL_DAD_COUNT = 16 +++ IPV6CTL_AUTO_FLOWLABEL = 17 +++ IPV6CTL_DEFMCASTHLIM = 18 +++ IPV6CTL_GIF_HLIM = 19 +++ IPV6CTL_KAME_VERSION = 20 +++ IPV6CTL_USE_DEPRECATED = 21 +++ IPV6CTL_RR_PRUNE = 22 +++ IPV6CTL_MAPPED_ADDR = 23 +++ IPV6CTL_V6ONLY = 24 +++ IPV6CTL_RTEXPIRE = 25 +++ IPV6CTL_RTMINEXPIRE = 26 +++ IPV6CTL_RTMAXCACHE = 27 +++ IPV6CTL_USETEMPADDR = 32 +++ IPV6CTL_TEMPPLTIME = 33 +++ IPV6CTL_TEMPVLTIME = 34 +++ IPV6CTL_AUTO_LINKLOCAL = 35 +++ IPV6CTL_RIP6STATS = 36 +++ IPV6CTL_PREFER_TEMPADDR = 37 +++ IPV6CTL_ADDRCTLPOLICY = 38 +++ IPV6CTL_MAXFRAGS = 41 +++ IPV6CTL_MAXID = 42 ++*** misc/Python-2.3.4/Lib/posixfile.py Wed Oct 24 18:03:35 2001 ++--- misc/build/Python-2.3.4/Lib/posixfile.py Tue Jan 8 14:16:12 2008 ++*************** ++*** 185,191 **** ++ if sys.platform in ('netbsd1', ++ 'openbsd2', ++ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', ++! 'bsdos2', 'bsdos3', 'bsdos4'): ++ flock = struct.pack('lxxxxlxxxxlhh', \ ++ l_start, l_len, os.getpid(), l_type, l_whence) ++ elif sys.platform in ['aix3', 'aix4']: ++--- 185,191 ---- ++ if sys.platform in ('netbsd1', ++ 'openbsd2', ++ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', ++! 'freebsd6', 'freebsd7', 'freebsd8', 'bsdos2', 'bsdos3', 'bsdos4'): ++ flock = struct.pack('lxxxxlxxxxlhh', \ ++ l_start, l_len, os.getpid(), l_type, l_whence) ++ elif sys.platform in ['aix3', 'aix4']: + *** misc/Python-2.3.4/Mac/OSX/Makefile Tue Nov 4 23:45:16 2003 + --- misc/build/Python-2.3.4/Mac/OSX/Makefile Wed Oct 17 14:01:01 2007 + *************** +@@ -14688,742 +16307,6 @@ + handler = signal(sig, SIG_IGN); + signal(sig, handler); + return handler; +-*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:26:23 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:20:25 2005 +-*************** +-*** 0 **** +---- 1,355 ---- +-+ # Generated by h2py from /usr/include/netinet/in.h +-+ IPPROTO_IP = 0 +-+ IPPROTO_HOPOPTS = 0 +-+ IPPROTO_ICMP = 1 +-+ IPPROTO_IGMP = 2 +-+ IPPROTO_GGP = 3 +-+ IPPROTO_IPV4 = 4 +-+ IPPROTO_IPIP = IPPROTO_IPV4 +-+ IPPROTO_TCP = 6 +-+ IPPROTO_ST = 7 +-+ IPPROTO_EGP = 8 +-+ IPPROTO_PIGP = 9 +-+ IPPROTO_RCCMON = 10 +-+ IPPROTO_NVPII = 11 +-+ IPPROTO_PUP = 12 +-+ IPPROTO_ARGUS = 13 +-+ IPPROTO_EMCON = 14 +-+ IPPROTO_XNET = 15 +-+ IPPROTO_CHAOS = 16 +-+ IPPROTO_UDP = 17 +-+ IPPROTO_MUX = 18 +-+ IPPROTO_MEAS = 19 +-+ IPPROTO_HMP = 20 +-+ IPPROTO_PRM = 21 +-+ IPPROTO_IDP = 22 +-+ IPPROTO_TRUNK1 = 23 +-+ IPPROTO_TRUNK2 = 24 +-+ IPPROTO_LEAF1 = 25 +-+ IPPROTO_LEAF2 = 26 +-+ IPPROTO_RDP = 27 +-+ IPPROTO_IRTP = 28 +-+ IPPROTO_TP = 29 +-+ IPPROTO_BLT = 30 +-+ IPPROTO_NSP = 31 +-+ IPPROTO_INP = 32 +-+ IPPROTO_SEP = 33 +-+ IPPROTO_3PC = 34 +-+ IPPROTO_IDPR = 35 +-+ IPPROTO_XTP = 36 +-+ IPPROTO_DDP = 37 +-+ IPPROTO_CMTP = 38 +-+ IPPROTO_TPXX = 39 +-+ IPPROTO_IL = 40 +-+ IPPROTO_IPV6 = 41 +-+ IPPROTO_SDRP = 42 +-+ IPPROTO_ROUTING = 43 +-+ IPPROTO_FRAGMENT = 44 +-+ IPPROTO_IDRP = 45 +-+ IPPROTO_RSVP = 46 +-+ IPPROTO_GRE = 47 +-+ IPPROTO_MHRP = 48 +-+ IPPROTO_BHA = 49 +-+ IPPROTO_ESP = 50 +-+ IPPROTO_AH = 51 +-+ IPPROTO_INLSP = 52 +-+ IPPROTO_SWIPE = 53 +-+ IPPROTO_NHRP = 54 +-+ IPPROTO_ICMPV6 = 58 +-+ IPPROTO_NONE = 59 +-+ IPPROTO_DSTOPTS = 60 +-+ IPPROTO_AHIP = 61 +-+ IPPROTO_CFTP = 62 +-+ IPPROTO_HELLO = 63 +-+ IPPROTO_SATEXPAK = 64 +-+ IPPROTO_KRYPTOLAN = 65 +-+ IPPROTO_RVD = 66 +-+ IPPROTO_IPPC = 67 +-+ IPPROTO_ADFS = 68 +-+ IPPROTO_SATMON = 69 +-+ IPPROTO_VISA = 70 +-+ IPPROTO_IPCV = 71 +-+ IPPROTO_CPNX = 72 +-+ IPPROTO_CPHB = 73 +-+ IPPROTO_WSN = 74 +-+ IPPROTO_PVP = 75 +-+ IPPROTO_BRSATMON = 76 +-+ IPPROTO_ND = 77 +-+ IPPROTO_WBMON = 78 +-+ IPPROTO_WBEXPAK = 79 +-+ IPPROTO_EON = 80 +-+ IPPROTO_VMTP = 81 +-+ IPPROTO_SVMTP = 82 +-+ IPPROTO_VINES = 83 +-+ IPPROTO_TTP = 84 +-+ IPPROTO_IGP = 85 +-+ IPPROTO_DGP = 86 +-+ IPPROTO_TCF = 87 +-+ IPPROTO_IGRP = 88 +-+ IPPROTO_OSPFIGP = 89 +-+ IPPROTO_SRPC = 90 +-+ IPPROTO_LARP = 91 +-+ IPPROTO_MTP = 92 +-+ IPPROTO_AX25 = 93 +-+ IPPROTO_IPEIP = 94 +-+ IPPROTO_MICP = 95 +-+ IPPROTO_SCCSP = 96 +-+ IPPROTO_ETHERIP = 97 +-+ IPPROTO_ENCAP = 98 +-+ IPPROTO_APES = 99 +-+ IPPROTO_GMTP = 100 +-+ IPPROTO_IPCOMP = 108 +-+ IPPROTO_PIM = 103 +-+ IPPROTO_PGM = 113 +-+ IPPROTO_DIVERT = 254 +-+ IPPROTO_RAW = 255 +-+ IPPROTO_MAX = 256 +-+ IPPROTO_DONE = 257 +-+ IPPORT_RESERVED = 1024 +-+ IPPORT_USERRESERVED = 5000 +-+ IPPORT_HIFIRSTAUTO = 49152 +-+ IPPORT_HILASTAUTO = 65535 +-+ IPPORT_RESERVEDSTART = 600 +-+ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0) +-+ +-+ IN_CLASSA_NET = 0xff000000 +-+ IN_CLASSA_NSHIFT = 24 +-+ IN_CLASSA_HOST = 0x00ffffff +-+ IN_CLASSA_MAX = 128 +-+ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000) +-+ +-+ IN_CLASSB_NET = 0xffff0000 +-+ IN_CLASSB_NSHIFT = 16 +-+ IN_CLASSB_HOST = 0x0000ffff +-+ IN_CLASSB_MAX = 65536 +-+ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000) +-+ +-+ IN_CLASSC_NET = 0xffffff00 +-+ IN_CLASSC_NSHIFT = 8 +-+ IN_CLASSC_HOST = 0x000000ff +-+ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000) +-+ +-+ IN_CLASSD_NET = 0xf0000000 +-+ IN_CLASSD_NSHIFT = 28 +-+ IN_CLASSD_HOST = 0x0fffffff +-+ def IN_MULTICAST(i): return IN_CLASSD(i) +-+ +-+ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ INADDR_NONE = 0xffffffff +-+ IN_LOOPBACKNET = 127 +-+ INET_ADDRSTRLEN = 16 +-+ IP_OPTIONS = 1 +-+ IP_HDRINCL = 2 +-+ IP_TOS = 3 +-+ IP_TTL = 4 +-+ IP_RECVOPTS = 5 +-+ IP_RECVRETOPTS = 6 +-+ IP_RECVDSTADDR = 7 +-+ IP_RETOPTS = 8 +-+ IP_MULTICAST_IF = 9 +-+ IP_MULTICAST_TTL = 10 +-+ IP_MULTICAST_LOOP = 11 +-+ IP_ADD_MEMBERSHIP = 12 +-+ IP_DROP_MEMBERSHIP = 13 +-+ IP_MULTICAST_VIF = 14 +-+ IP_RSVP_ON = 15 +-+ IP_RSVP_OFF = 16 +-+ IP_RSVP_VIF_ON = 17 +-+ IP_RSVP_VIF_OFF = 18 +-+ IP_PORTRANGE = 19 +-+ IP_RECVIF = 20 +-+ IP_IPSEC_POLICY = 21 +-+ IP_FAITH = 22 +-+ IP_FW_ADD = 50 +-+ IP_FW_DEL = 51 +-+ IP_FW_FLUSH = 52 +-+ IP_FW_ZERO = 53 +-+ IP_FW_GET = 54 +-+ IP_FW_RESETLOG = 55 +-+ IP_DUMMYNET_CONFIGURE = 60 +-+ IP_DUMMYNET_DEL = 61 +-+ IP_DUMMYNET_FLUSH = 62 +-+ IP_DUMMYNET_GET = 64 +-+ IP_DEFAULT_MULTICAST_TTL = 1 +-+ IP_DEFAULT_MULTICAST_LOOP = 1 +-+ IP_MAX_MEMBERSHIPS = 20 +-+ IP_PORTRANGE_DEFAULT = 0 +-+ IP_PORTRANGE_HIGH = 1 +-+ IP_PORTRANGE_LOW = 2 +-+ IPPROTO_MAXID = (IPPROTO_AH + 1) +-+ IPCTL_FORWARDING = 1 +-+ IPCTL_SENDREDIRECTS = 2 +-+ IPCTL_DEFTTL = 3 +-+ IPCTL_DEFMTU = 4 +-+ IPCTL_RTEXPIRE = 5 +-+ IPCTL_RTMINEXPIRE = 6 +-+ IPCTL_RTMAXCACHE = 7 +-+ IPCTL_SOURCEROUTE = 8 +-+ IPCTL_DIRECTEDBROADCAST = 9 +-+ IPCTL_INTRQMAXLEN = 10 +-+ IPCTL_INTRQDROPS = 11 +-+ IPCTL_STATS = 12 +-+ IPCTL_ACCEPTSOURCEROUTE = 13 +-+ IPCTL_FASTFORWARDING = 14 +-+ IPCTL_KEEPFAITH = 15 +-+ IPCTL_GIF_TTL = 16 +-+ IPCTL_MAXID = 17 +-+ +-+ # Included from netinet6/in6.h +-+ +-+ # Included from sys/queue.h +-+ def SLIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def SLIST_ENTRY(type): return \ +-+ +-+ def STAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def STAILQ_ENTRY(type): return \ +-+ +-+ def LIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def LIST_ENTRY(type): return \ +-+ +-+ def TAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def TAILQ_ENTRY(type): return \ +-+ +-+ def CIRCLEQ_ENTRY(type): return \ +-+ +-+ __KAME_VERSION = "20000701/FreeBSD-current" +-+ IPV6PORT_RESERVED = 1024 +-+ IPV6PORT_ANONMIN = 49152 +-+ IPV6PORT_ANONMAX = 65535 +-+ IPV6PORT_RESERVEDMIN = 600 +-+ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +-+ INET6_ADDRSTRLEN = 46 +-+ IPV6_ADDR_INT32_ONE = 1 +-+ IPV6_ADDR_INT32_TWO = 2 +-+ IPV6_ADDR_INT32_MNL = 0xff010000 +-+ IPV6_ADDR_INT32_MLL = 0xff020000 +-+ IPV6_ADDR_INT32_SMP = 0x0000ffff +-+ IPV6_ADDR_INT16_ULL = 0xfe80 +-+ IPV6_ADDR_INT16_USL = 0xfec0 +-+ IPV6_ADDR_INT16_MLL = 0xff02 +-+ IPV6_ADDR_INT32_ONE = 0x01000000 +-+ IPV6_ADDR_INT32_TWO = 0x02000000 +-+ IPV6_ADDR_INT32_MNL = 0x000001ff +-+ IPV6_ADDR_INT32_MLL = 0x000002ff +-+ IPV6_ADDR_INT32_SMP = 0xffff0000 +-+ IPV6_ADDR_INT16_ULL = 0x80fe +-+ IPV6_ADDR_INT16_USL = 0xc0fe +-+ IPV6_ADDR_INT16_MLL = 0x02ff +-+ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +-+ +-+ def IN6_IS_ADDR_LOOPBACK(a): return \ +-+ +-+ def IN6_IS_ADDR_V4COMPAT(a): return \ +-+ +-+ def IN6_IS_ADDR_V4MAPPED(a): return \ +-+ +-+ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ def IN6_IS_ADDR_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +-+ +-+ IPV6_OPTIONS = 1 +-+ IPV6_RECVOPTS = 5 +-+ IPV6_RECVRETOPTS = 6 +-+ IPV6_RECVDSTADDR = 7 +-+ IPV6_RETOPTS = 8 +-+ IPV6_SOCKOPT_RESERVED1 = 3 +-+ IPV6_UNICAST_HOPS = 4 +-+ IPV6_MULTICAST_IF = 9 +-+ IPV6_MULTICAST_HOPS = 10 +-+ IPV6_MULTICAST_LOOP = 11 +-+ IPV6_JOIN_GROUP = 12 +-+ IPV6_LEAVE_GROUP = 13 +-+ IPV6_PORTRANGE = 14 +-+ ICMP6_FILTER = 18 +-+ IPV6_PKTINFO = 19 +-+ IPV6_HOPLIMIT = 20 +-+ IPV6_NEXTHOP = 21 +-+ IPV6_HOPOPTS = 22 +-+ IPV6_DSTOPTS = 23 +-+ IPV6_RTHDR = 24 +-+ IPV6_PKTOPTIONS = 25 +-+ IPV6_CHECKSUM = 26 +-+ IPV6_BINDV6ONLY = 27 +-+ IPV6_IPSEC_POLICY = 28 +-+ IPV6_FAITH = 29 +-+ IPV6_FW_ADD = 30 +-+ IPV6_FW_DEL = 31 +-+ IPV6_FW_FLUSH = 32 +-+ IPV6_FW_ZERO = 33 +-+ IPV6_FW_GET = 34 +-+ IPV6_RTHDR_LOOSE = 0 +-+ IPV6_RTHDR_STRICT = 1 +-+ IPV6_RTHDR_TYPE_0 = 0 +-+ IPV6_DEFAULT_MULTICAST_HOPS = 1 +-+ IPV6_DEFAULT_MULTICAST_LOOP = 1 +-+ IPV6_PORTRANGE_DEFAULT = 0 +-+ IPV6_PORTRANGE_HIGH = 1 +-+ IPV6_PORTRANGE_LOW = 2 +-+ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +-+ IPV6CTL_FORWARDING = 1 +-+ IPV6CTL_SENDREDIRECTS = 2 +-+ IPV6CTL_DEFHLIM = 3 +-+ IPV6CTL_DEFMTU = 4 +-+ IPV6CTL_FORWSRCRT = 5 +-+ IPV6CTL_STATS = 6 +-+ IPV6CTL_MRTSTATS = 7 +-+ IPV6CTL_MRTPROTO = 8 +-+ IPV6CTL_MAXFRAGPACKETS = 9 +-+ IPV6CTL_SOURCECHECK = 10 +-+ IPV6CTL_SOURCECHECK_LOGINT = 11 +-+ IPV6CTL_ACCEPT_RTADV = 12 +-+ IPV6CTL_KEEPFAITH = 13 +-+ IPV6CTL_LOG_INTERVAL = 14 +-+ IPV6CTL_HDRNESTLIMIT = 15 +-+ IPV6CTL_DAD_COUNT = 16 +-+ IPV6CTL_AUTO_FLOWLABEL = 17 +-+ IPV6CTL_DEFMCASTHLIM = 18 +-+ IPV6CTL_GIF_HLIM = 19 +-+ IPV6CTL_KAME_VERSION = 20 +-+ IPV6CTL_USE_DEPRECATED = 21 +-+ IPV6CTL_RR_PRUNE = 22 +-+ IPV6CTL_MAPPED_ADDR = 23 +-+ IPV6CTL_BINDV6ONLY = 24 +-+ IPV6CTL_RTEXPIRE = 25 +-+ IPV6CTL_RTMINEXPIRE = 26 +-+ IPV6CTL_RTMAXCACHE = 27 +-+ IPV6CTL_MAXID = 28 +-*** misc/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:26:27 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:19:02 2005 +-*************** +-*** 0 **** +---- 1,3 ---- +-+ #! /bin/sh +-+ set -v +-+ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h +-*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:26:23 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:20:25 2005 +-*************** +-*** 0 **** +---- 1,355 ---- +-+ # Generated by h2py from /usr/include/netinet/in.h +-+ IPPROTO_IP = 0 +-+ IPPROTO_HOPOPTS = 0 +-+ IPPROTO_ICMP = 1 +-+ IPPROTO_IGMP = 2 +-+ IPPROTO_GGP = 3 +-+ IPPROTO_IPV4 = 4 +-+ IPPROTO_IPIP = IPPROTO_IPV4 +-+ IPPROTO_TCP = 6 +-+ IPPROTO_ST = 7 +-+ IPPROTO_EGP = 8 +-+ IPPROTO_PIGP = 9 +-+ IPPROTO_RCCMON = 10 +-+ IPPROTO_NVPII = 11 +-+ IPPROTO_PUP = 12 +-+ IPPROTO_ARGUS = 13 +-+ IPPROTO_EMCON = 14 +-+ IPPROTO_XNET = 15 +-+ IPPROTO_CHAOS = 16 +-+ IPPROTO_UDP = 17 +-+ IPPROTO_MUX = 18 +-+ IPPROTO_MEAS = 19 +-+ IPPROTO_HMP = 20 +-+ IPPROTO_PRM = 21 +-+ IPPROTO_IDP = 22 +-+ IPPROTO_TRUNK1 = 23 +-+ IPPROTO_TRUNK2 = 24 +-+ IPPROTO_LEAF1 = 25 +-+ IPPROTO_LEAF2 = 26 +-+ IPPROTO_RDP = 27 +-+ IPPROTO_IRTP = 28 +-+ IPPROTO_TP = 29 +-+ IPPROTO_BLT = 30 +-+ IPPROTO_NSP = 31 +-+ IPPROTO_INP = 32 +-+ IPPROTO_SEP = 33 +-+ IPPROTO_3PC = 34 +-+ IPPROTO_IDPR = 35 +-+ IPPROTO_XTP = 36 +-+ IPPROTO_DDP = 37 +-+ IPPROTO_CMTP = 38 +-+ IPPROTO_TPXX = 39 +-+ IPPROTO_IL = 40 +-+ IPPROTO_IPV6 = 41 +-+ IPPROTO_SDRP = 42 +-+ IPPROTO_ROUTING = 43 +-+ IPPROTO_FRAGMENT = 44 +-+ IPPROTO_IDRP = 45 +-+ IPPROTO_RSVP = 46 +-+ IPPROTO_GRE = 47 +-+ IPPROTO_MHRP = 48 +-+ IPPROTO_BHA = 49 +-+ IPPROTO_ESP = 50 +-+ IPPROTO_AH = 51 +-+ IPPROTO_INLSP = 52 +-+ IPPROTO_SWIPE = 53 +-+ IPPROTO_NHRP = 54 +-+ IPPROTO_ICMPV6 = 58 +-+ IPPROTO_NONE = 59 +-+ IPPROTO_DSTOPTS = 60 +-+ IPPROTO_AHIP = 61 +-+ IPPROTO_CFTP = 62 +-+ IPPROTO_HELLO = 63 +-+ IPPROTO_SATEXPAK = 64 +-+ IPPROTO_KRYPTOLAN = 65 +-+ IPPROTO_RVD = 66 +-+ IPPROTO_IPPC = 67 +-+ IPPROTO_ADFS = 68 +-+ IPPROTO_SATMON = 69 +-+ IPPROTO_VISA = 70 +-+ IPPROTO_IPCV = 71 +-+ IPPROTO_CPNX = 72 +-+ IPPROTO_CPHB = 73 +-+ IPPROTO_WSN = 74 +-+ IPPROTO_PVP = 75 +-+ IPPROTO_BRSATMON = 76 +-+ IPPROTO_ND = 77 +-+ IPPROTO_WBMON = 78 +-+ IPPROTO_WBEXPAK = 79 +-+ IPPROTO_EON = 80 +-+ IPPROTO_VMTP = 81 +-+ IPPROTO_SVMTP = 82 +-+ IPPROTO_VINES = 83 +-+ IPPROTO_TTP = 84 +-+ IPPROTO_IGP = 85 +-+ IPPROTO_DGP = 86 +-+ IPPROTO_TCF = 87 +-+ IPPROTO_IGRP = 88 +-+ IPPROTO_OSPFIGP = 89 +-+ IPPROTO_SRPC = 90 +-+ IPPROTO_LARP = 91 +-+ IPPROTO_MTP = 92 +-+ IPPROTO_AX25 = 93 +-+ IPPROTO_IPEIP = 94 +-+ IPPROTO_MICP = 95 +-+ IPPROTO_SCCSP = 96 +-+ IPPROTO_ETHERIP = 97 +-+ IPPROTO_ENCAP = 98 +-+ IPPROTO_APES = 99 +-+ IPPROTO_GMTP = 100 +-+ IPPROTO_IPCOMP = 108 +-+ IPPROTO_PIM = 103 +-+ IPPROTO_PGM = 113 +-+ IPPROTO_DIVERT = 254 +-+ IPPROTO_RAW = 255 +-+ IPPROTO_MAX = 256 +-+ IPPROTO_DONE = 257 +-+ IPPORT_RESERVED = 1024 +-+ IPPORT_USERRESERVED = 5000 +-+ IPPORT_HIFIRSTAUTO = 49152 +-+ IPPORT_HILASTAUTO = 65535 +-+ IPPORT_RESERVEDSTART = 600 +-+ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0) +-+ +-+ IN_CLASSA_NET = 0xff000000 +-+ IN_CLASSA_NSHIFT = 24 +-+ IN_CLASSA_HOST = 0x00ffffff +-+ IN_CLASSA_MAX = 128 +-+ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000) +-+ +-+ IN_CLASSB_NET = 0xffff0000 +-+ IN_CLASSB_NSHIFT = 16 +-+ IN_CLASSB_HOST = 0x0000ffff +-+ IN_CLASSB_MAX = 65536 +-+ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000) +-+ +-+ IN_CLASSC_NET = 0xffffff00 +-+ IN_CLASSC_NSHIFT = 8 +-+ IN_CLASSC_HOST = 0x000000ff +-+ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000) +-+ +-+ IN_CLASSD_NET = 0xf0000000 +-+ IN_CLASSD_NSHIFT = 28 +-+ IN_CLASSD_HOST = 0x0fffffff +-+ def IN_MULTICAST(i): return IN_CLASSD(i) +-+ +-+ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) +-+ +-+ INADDR_NONE = 0xffffffff +-+ IN_LOOPBACKNET = 127 +-+ INET_ADDRSTRLEN = 16 +-+ IP_OPTIONS = 1 +-+ IP_HDRINCL = 2 +-+ IP_TOS = 3 +-+ IP_TTL = 4 +-+ IP_RECVOPTS = 5 +-+ IP_RECVRETOPTS = 6 +-+ IP_RECVDSTADDR = 7 +-+ IP_RETOPTS = 8 +-+ IP_MULTICAST_IF = 9 +-+ IP_MULTICAST_TTL = 10 +-+ IP_MULTICAST_LOOP = 11 +-+ IP_ADD_MEMBERSHIP = 12 +-+ IP_DROP_MEMBERSHIP = 13 +-+ IP_MULTICAST_VIF = 14 +-+ IP_RSVP_ON = 15 +-+ IP_RSVP_OFF = 16 +-+ IP_RSVP_VIF_ON = 17 +-+ IP_RSVP_VIF_OFF = 18 +-+ IP_PORTRANGE = 19 +-+ IP_RECVIF = 20 +-+ IP_IPSEC_POLICY = 21 +-+ IP_FAITH = 22 +-+ IP_FW_ADD = 50 +-+ IP_FW_DEL = 51 +-+ IP_FW_FLUSH = 52 +-+ IP_FW_ZERO = 53 +-+ IP_FW_GET = 54 +-+ IP_FW_RESETLOG = 55 +-+ IP_DUMMYNET_CONFIGURE = 60 +-+ IP_DUMMYNET_DEL = 61 +-+ IP_DUMMYNET_FLUSH = 62 +-+ IP_DUMMYNET_GET = 64 +-+ IP_DEFAULT_MULTICAST_TTL = 1 +-+ IP_DEFAULT_MULTICAST_LOOP = 1 +-+ IP_MAX_MEMBERSHIPS = 20 +-+ IP_PORTRANGE_DEFAULT = 0 +-+ IP_PORTRANGE_HIGH = 1 +-+ IP_PORTRANGE_LOW = 2 +-+ IPPROTO_MAXID = (IPPROTO_AH + 1) +-+ IPCTL_FORWARDING = 1 +-+ IPCTL_SENDREDIRECTS = 2 +-+ IPCTL_DEFTTL = 3 +-+ IPCTL_DEFMTU = 4 +-+ IPCTL_RTEXPIRE = 5 +-+ IPCTL_RTMINEXPIRE = 6 +-+ IPCTL_RTMAXCACHE = 7 +-+ IPCTL_SOURCEROUTE = 8 +-+ IPCTL_DIRECTEDBROADCAST = 9 +-+ IPCTL_INTRQMAXLEN = 10 +-+ IPCTL_INTRQDROPS = 11 +-+ IPCTL_STATS = 12 +-+ IPCTL_ACCEPTSOURCEROUTE = 13 +-+ IPCTL_FASTFORWARDING = 14 +-+ IPCTL_KEEPFAITH = 15 +-+ IPCTL_GIF_TTL = 16 +-+ IPCTL_MAXID = 17 +-+ +-+ # Included from netinet6/in6.h +-+ +-+ # Included from sys/queue.h +-+ def SLIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def SLIST_ENTRY(type): return \ +-+ +-+ def STAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def STAILQ_ENTRY(type): return \ +-+ +-+ def LIST_HEAD_INITIALIZER(head): return \ +-+ +-+ def LIST_ENTRY(type): return \ +-+ +-+ def TAILQ_HEAD_INITIALIZER(head): return \ +-+ +-+ def TAILQ_ENTRY(type): return \ +-+ +-+ def CIRCLEQ_ENTRY(type): return \ +-+ +-+ __KAME_VERSION = "20000701/FreeBSD-current" +-+ IPV6PORT_RESERVED = 1024 +-+ IPV6PORT_ANONMIN = 49152 +-+ IPV6PORT_ANONMAX = 65535 +-+ IPV6PORT_RESERVEDMIN = 600 +-+ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) +-+ INET6_ADDRSTRLEN = 46 +-+ IPV6_ADDR_INT32_ONE = 1 +-+ IPV6_ADDR_INT32_TWO = 2 +-+ IPV6_ADDR_INT32_MNL = 0xff010000 +-+ IPV6_ADDR_INT32_MLL = 0xff020000 +-+ IPV6_ADDR_INT32_SMP = 0x0000ffff +-+ IPV6_ADDR_INT16_ULL = 0xfe80 +-+ IPV6_ADDR_INT16_USL = 0xfec0 +-+ IPV6_ADDR_INT16_MLL = 0xff02 +-+ IPV6_ADDR_INT32_ONE = 0x01000000 +-+ IPV6_ADDR_INT32_TWO = 0x02000000 +-+ IPV6_ADDR_INT32_MNL = 0x000001ff +-+ IPV6_ADDR_INT32_MLL = 0x000002ff +-+ IPV6_ADDR_INT32_SMP = 0xffff0000 +-+ IPV6_ADDR_INT16_ULL = 0x80fe +-+ IPV6_ADDR_INT16_USL = 0xc0fe +-+ IPV6_ADDR_INT16_MLL = 0x02ff +-+ def IN6_IS_ADDR_UNSPECIFIED(a): return \ +-+ +-+ def IN6_IS_ADDR_LOOPBACK(a): return \ +-+ +-+ def IN6_IS_ADDR_V4COMPAT(a): return \ +-+ +-+ def IN6_IS_ADDR_V4MAPPED(a): return \ +-+ +-+ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 +-+ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 +-+ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 +-+ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 +-+ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e +-+ def IN6_IS_ADDR_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ +-+ +-+ def IN6_IS_ADDR_MC_GLOBAL(a): return \ +-+ +-+ def IN6_IS_SCOPE_LINKLOCAL(a): return \ +-+ +-+ IPV6_OPTIONS = 1 +-+ IPV6_RECVOPTS = 5 +-+ IPV6_RECVRETOPTS = 6 +-+ IPV6_RECVDSTADDR = 7 +-+ IPV6_RETOPTS = 8 +-+ IPV6_SOCKOPT_RESERVED1 = 3 +-+ IPV6_UNICAST_HOPS = 4 +-+ IPV6_MULTICAST_IF = 9 +-+ IPV6_MULTICAST_HOPS = 10 +-+ IPV6_MULTICAST_LOOP = 11 +-+ IPV6_JOIN_GROUP = 12 +-+ IPV6_LEAVE_GROUP = 13 +-+ IPV6_PORTRANGE = 14 +-+ ICMP6_FILTER = 18 +-+ IPV6_PKTINFO = 19 +-+ IPV6_HOPLIMIT = 20 +-+ IPV6_NEXTHOP = 21 +-+ IPV6_HOPOPTS = 22 +-+ IPV6_DSTOPTS = 23 +-+ IPV6_RTHDR = 24 +-+ IPV6_PKTOPTIONS = 25 +-+ IPV6_CHECKSUM = 26 +-+ IPV6_BINDV6ONLY = 27 +-+ IPV6_IPSEC_POLICY = 28 +-+ IPV6_FAITH = 29 +-+ IPV6_FW_ADD = 30 +-+ IPV6_FW_DEL = 31 +-+ IPV6_FW_FLUSH = 32 +-+ IPV6_FW_ZERO = 33 +-+ IPV6_FW_GET = 34 +-+ IPV6_RTHDR_LOOSE = 0 +-+ IPV6_RTHDR_STRICT = 1 +-+ IPV6_RTHDR_TYPE_0 = 0 +-+ IPV6_DEFAULT_MULTICAST_HOPS = 1 +-+ IPV6_DEFAULT_MULTICAST_LOOP = 1 +-+ IPV6_PORTRANGE_DEFAULT = 0 +-+ IPV6_PORTRANGE_HIGH = 1 +-+ IPV6_PORTRANGE_LOW = 2 +-+ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) +-+ IPV6CTL_FORWARDING = 1 +-+ IPV6CTL_SENDREDIRECTS = 2 +-+ IPV6CTL_DEFHLIM = 3 +-+ IPV6CTL_DEFMTU = 4 +-+ IPV6CTL_FORWSRCRT = 5 +-+ IPV6CTL_STATS = 6 +-+ IPV6CTL_MRTSTATS = 7 +-+ IPV6CTL_MRTPROTO = 8 +-+ IPV6CTL_MAXFRAGPACKETS = 9 +-+ IPV6CTL_SOURCECHECK = 10 +-+ IPV6CTL_SOURCECHECK_LOGINT = 11 +-+ IPV6CTL_ACCEPT_RTADV = 12 +-+ IPV6CTL_KEEPFAITH = 13 +-+ IPV6CTL_LOG_INTERVAL = 14 +-+ IPV6CTL_HDRNESTLIMIT = 15 +-+ IPV6CTL_DAD_COUNT = 16 +-+ IPV6CTL_AUTO_FLOWLABEL = 17 +-+ IPV6CTL_DEFMCASTHLIM = 18 +-+ IPV6CTL_GIF_HLIM = 19 +-+ IPV6CTL_KAME_VERSION = 20 +-+ IPV6CTL_USE_DEPRECATED = 21 +-+ IPV6CTL_RR_PRUNE = 22 +-+ IPV6CTL_MAPPED_ADDR = 23 +-+ IPV6CTL_BINDV6ONLY = 24 +-+ IPV6CTL_RTEXPIRE = 25 +-+ IPV6CTL_RTMINEXPIRE = 26 +-+ IPV6CTL_RTMAXCACHE = 27 +-+ IPV6CTL_MAXID = 28 +-*** misc/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:26:27 2005 +---- misc/build/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:19:02 2005 +-*************** +-*** 0 **** +---- 1,3 ---- +-+ #! /bin/sh +-+ set -v +-+ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h + *** misc/Python-2.3.4/configure Fri May 7 21:13:40 2004 + --- misc/build/Python-2.3.4/configure Wed Oct 17 14:01:02 2007 + *************** +@@ -16214,3 +17097,22 @@ + + /* Define the macros needed if on a UnixWare 7.x system. */ + #if defined(__USLC__) && defined(__SCO_VERSION__) ++*** misc/Python-2.3.4/setup.py Tue Oct 21 16:01:21 2003 ++--- misc/build/Python-2.3.4/setup.py Tue Jan 8 14:17:55 2008 ++*************** ++*** 770,776 **** ++ # Linux-specific modules ++ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) ++ ++! if platform in ('linux2', 'freebsd4'): ++ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) ++ ++ if platform == 'sunos5': ++--- 770,776 ---- ++ # Linux-specific modules ++ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) ++ ++! if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'): ++ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) ++ ++ if platform == 'sunos5': |