summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-08 18:38:46 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-09-08 18:38:46 (GMT)
commit20737cc91e823b6b17fff16574283c034c99d641 (patch)
tree6b2a4ea17a54ba493a2b75e4196b1426e37f8031
parent1699757901c8374b063fb585110780bb82faa3b2 (diff)
downloadcpython-20737cc91e823b6b17fff16574283c034c99d641.zip
cpython-20737cc91e823b6b17fff16574283c034c99d641.tar.gz
cpython-20737cc91e823b6b17fff16574283c034c99d641.tar.bz2
Issue #28027: Remove Lib/plat-* files
-rw-r--r--Doc/whatsnew/3.6.rst7
-rw-r--r--Lib/plat-aix4/IN.py165
-rwxr-xr-xLib/plat-aix4/regen8
-rw-r--r--Lib/plat-darwin/IN.py662
-rwxr-xr-xLib/plat-darwin/regen3
-rw-r--r--Lib/plat-freebsd4/IN.py355
-rwxr-xr-xLib/plat-freebsd4/regen3
-rw-r--r--Lib/plat-freebsd5/IN.py355
-rwxr-xr-xLib/plat-freebsd5/regen3
-rw-r--r--Lib/plat-freebsd6/IN.py551
-rwxr-xr-xLib/plat-freebsd6/regen3
-rw-r--r--Lib/plat-freebsd7/IN.py571
-rwxr-xr-xLib/plat-freebsd7/regen3
-rw-r--r--Lib/plat-freebsd8/IN.py571
-rwxr-xr-xLib/plat-freebsd8/regen3
-rwxr-xr-xLib/plat-generic/regen3
-rw-r--r--Lib/plat-linux/CDROM.py207
-rw-r--r--Lib/plat-linux/DLFCN.py83
-rw-r--r--Lib/plat-linux/IN.py615
-rw-r--r--Lib/plat-linux/TYPES.py170
-rwxr-xr-xLib/plat-linux/regen33
-rw-r--r--Lib/plat-netbsd1/IN.py56
-rwxr-xr-xLib/plat-netbsd1/regen3
-rwxr-xr-xLib/plat-next3/regen6
-rw-r--r--Lib/plat-sunos5/CDIO.py73
-rw-r--r--Lib/plat-sunos5/DLFCN.py27
-rw-r--r--Lib/plat-sunos5/IN.py1421
-rw-r--r--Lib/plat-sunos5/STROPTS.py1813
-rw-r--r--Lib/plat-sunos5/TYPES.py313
-rwxr-xr-xLib/plat-sunos5/regen9
-rw-r--r--Lib/plat-unixware7/IN.py836
-rw-r--r--Lib/plat-unixware7/STROPTS.py328
-rwxr-xr-xLib/plat-unixware7/regen9
-rw-r--r--Makefile.pre.in22
-rw-r--r--Misc/NEWS2
35 files changed, 9 insertions, 9283 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index 57ac728..38ff5ad 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -987,6 +987,13 @@ API and Feature Removals
Use :class:`io.TextIOWrapper` for reading compressed text files in
:term:`universal newlines` mode.
+* The undocumented ``IN``, ``CDROM``, ``DLFCN``, ``TYPES``, ``CDIO``, and
+ ``STROPTS`` modules have been removed. They had been available in the
+ platform specific ``Lib/plat-*/`` directories, but were chronically out of
+ date, inconsistently available across platforms, and unmaintained. The
+ script that created these modules is still available in the source
+ distribution at :source:`Tools/scripts/h2py.py`.
+
Porting to Python 3.6
=====================
diff --git a/Lib/plat-aix4/IN.py b/Lib/plat-aix4/IN.py
deleted file mode 100644
index 43f8f23..0000000
--- a/Lib/plat-aix4/IN.py
+++ /dev/null
@@ -1,165 +0,0 @@
-# Generated by h2py from /usr/include/netinet/in.h
-
-# Included from net/nh.h
-
-# Included from sys/machine.h
-LITTLE_ENDIAN = 1234
-BIG_ENDIAN = 4321
-PDP_ENDIAN = 3412
-BYTE_ORDER = BIG_ENDIAN
-DEFAULT_GPR = 0xDEADBEEF
-MSR_EE = 0x8000
-MSR_PR = 0x4000
-MSR_FP = 0x2000
-MSR_ME = 0x1000
-MSR_FE = 0x0800
-MSR_FE0 = 0x0800
-MSR_SE = 0x0400
-MSR_BE = 0x0200
-MSR_IE = 0x0100
-MSR_FE1 = 0x0100
-MSR_AL = 0x0080
-MSR_IP = 0x0040
-MSR_IR = 0x0020
-MSR_DR = 0x0010
-MSR_PM = 0x0004
-DEFAULT_MSR = (MSR_EE | MSR_ME | MSR_AL | MSR_IR | MSR_DR)
-DEFAULT_USER_MSR = (DEFAULT_MSR | MSR_PR)
-CR_LT = 0x80000000
-CR_GT = 0x40000000
-CR_EQ = 0x20000000
-CR_SO = 0x10000000
-CR_FX = 0x08000000
-CR_FEX = 0x04000000
-CR_VX = 0x02000000
-CR_OX = 0x01000000
-XER_SO = 0x80000000
-XER_OV = 0x40000000
-XER_CA = 0x20000000
-def XER_COMP_BYTE(xer): return ((xer >> 8) & 0x000000FF)
-
-def XER_LENGTH(xer): return (xer & 0x0000007F)
-
-DSISR_IO = 0x80000000
-DSISR_PFT = 0x40000000
-DSISR_LOCK = 0x20000000
-DSISR_FPIO = 0x10000000
-DSISR_PROT = 0x08000000
-DSISR_LOOP = 0x04000000
-DSISR_DRST = 0x04000000
-DSISR_ST = 0x02000000
-DSISR_SEGB = 0x01000000
-DSISR_DABR = 0x00400000
-DSISR_EAR = 0x00100000
-SRR_IS_PFT = 0x40000000
-SRR_IS_ISPEC = 0x20000000
-SRR_IS_IIO = 0x10000000
-SRR_IS_GUARD = 0x10000000
-SRR_IS_PROT = 0x08000000
-SRR_IS_LOOP = 0x04000000
-SRR_PR_FPEN = 0x00100000
-SRR_PR_INVAL = 0x00080000
-SRR_PR_PRIV = 0x00040000
-SRR_PR_TRAP = 0x00020000
-SRR_PR_IMPRE = 0x00010000
-def BUID_7F_SRVAL(raddr): return (0x87F00000 | (((uint)(raddr)) >> 28))
-
-BT_256M = 0x1FFC
-BT_128M = 0x0FFC
-BT_64M = 0x07FC
-BT_32M = 0x03FC
-BT_16M = 0x01FC
-BT_8M = 0x00FC
-BT_4M = 0x007C
-BT_2M = 0x003C
-BT_1M = 0x001C
-BT_512K = 0x000C
-BT_256K = 0x0004
-BT_128K = 0x0000
-BT_NOACCESS = 0x0
-BT_RDONLY = 0x1
-BT_WRITE = 0x2
-BT_VS = 0x2
-BT_VP = 0x1
-def BAT_ESEG(dbatu): return (((uint)(dbatu) >> 28))
-
-MIN_BAT_SIZE = 0x00020000
-MAX_BAT_SIZE = 0x10000000
-def ntohl(x): return (x)
-
-def ntohs(x): return (x)
-
-def htonl(x): return (x)
-
-def htons(x): return (x)
-
-IPPROTO_IP = 0
-IPPROTO_ICMP = 1
-IPPROTO_IGMP = 2
-IPPROTO_GGP = 3
-IPPROTO_TCP = 6
-IPPROTO_EGP = 8
-IPPROTO_PUP = 12
-IPPROTO_UDP = 17
-IPPROTO_IDP = 22
-IPPROTO_TP = 29
-IPPROTO_LOCAL = 63
-IPPROTO_EON = 80
-IPPROTO_BIP = 0x53
-IPPROTO_RAW = 255
-IPPROTO_MAX = 256
-IPPORT_RESERVED = 1024
-IPPORT_USERRESERVED = 5000
-IPPORT_TIMESERVER = 37
-def IN_CLASSA(i): return (((int)(i) & 0x80000000) == 0)
-
-IN_CLASSA_NET = 0xff000000
-IN_CLASSA_NSHIFT = 24
-IN_CLASSA_HOST = 0x00ffffff
-IN_CLASSA_MAX = 128
-def IN_CLASSB(i): return (((int)(i) & 0xc0000000) == 0x80000000)
-
-IN_CLASSB_NET = 0xffff0000
-IN_CLASSB_NSHIFT = 16
-IN_CLASSB_HOST = 0x0000ffff
-IN_CLASSB_MAX = 65536
-def IN_CLASSC(i): return (((int)(i) & 0xe0000000) == 0xc0000000)
-
-IN_CLASSC_NET = 0xffffff00
-IN_CLASSC_NSHIFT = 8
-IN_CLASSC_HOST = 0x000000ff
-def IN_CLASSD(i): return (((int)(i) & 0xf0000000) == 0xe0000000)
-
-def IN_MULTICAST(i): return IN_CLASSD(i)
-
-IN_CLASSD_NET = 0xf0000000
-IN_CLASSD_NSHIFT = 28
-IN_CLASSD_HOST = 0x0fffffff
-INADDR_UNSPEC_GROUP = 0xe0000000
-INADDR_ALLHOSTS_GROUP = 0xe0000001
-INADDR_MAX_LOCAL_GROUP = 0xe00000ff
-def IN_EXPERIMENTAL(i): return (((int)(i) & 0xe0000000) == 0xe0000000)
-
-def IN_BADCLASS(i): return (((int)(i) & 0xf0000000) == 0xf0000000)
-
-INADDR_ANY = 0x00000000
-INADDR_BROADCAST = 0xffffffff
-INADDR_LOOPBACK = 0x7f000001
-INADDR_NONE = 0xffffffff
-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_RETOPTS = 8
-IP_MULTICAST_IF = 9
-IP_MULTICAST_TTL = 10
-IP_MULTICAST_LOOP = 11
-IP_ADD_MEMBERSHIP = 12
-IP_DROP_MEMBERSHIP = 13
-IP_DEFAULT_MULTICAST_TTL = 1
-IP_DEFAULT_MULTICAST_LOOP = 1
-IP_MAX_MEMBERSHIPS = 20
diff --git a/Lib/plat-aix4/regen b/Lib/plat-aix4/regen
deleted file mode 100755
index 57a71c4..0000000
--- a/Lib/plat-aix4/regen
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /bin/sh
-case `uname -sv` in
-'AIX 4'*) ;;
-*) echo Probably not on an AIX 4 system 1>&2
- exit 1;;
-esac
-set -v
-h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/Lib/plat-darwin/IN.py b/Lib/plat-darwin/IN.py
deleted file mode 100644
index 6b6be33..0000000
--- a/Lib/plat-darwin/IN.py
+++ /dev/null
@@ -1,662 +0,0 @@
-# Generated by h2py from /usr/include/netinet/in.h
-
-# Included from sys/appleapiopts.h
-
-# Included from sys/_types.h
-
-# Included from sys/cdefs.h
-def __P(protos): return protos
-
-def __STRING(x): return #x
-
-def __P(protos): return ()
-
-def __STRING(x): return "x"
-
-def __attribute__(x): return
-
-def __COPYRIGHT(s): return __IDSTRING(copyright,s)
-
-def __RCSID(s): return __IDSTRING(rcsid,s)
-
-def __SCCSID(s): return __IDSTRING(sccsid,s)
-
-def __PROJECT_VERSION(s): return __IDSTRING(project_version,s)
-
-__DARWIN_UNIX03 = 1
-__DARWIN_UNIX03 = 0
-__DARWIN_UNIX03 = 0
-__DARWIN_UNIX03 = 1
-__DARWIN_64_BIT_INO_T = 1
-__DARWIN_64_BIT_INO_T = 0
-__DARWIN_64_BIT_INO_T = 0
-__DARWIN_NON_CANCELABLE = 0
-__DARWIN_VERS_1050 = 1
-__DARWIN_VERS_1050 = 0
-__DARWIN_SUF_UNIX03 = "$UNIX2003"
-__DARWIN_SUF_UNIX03_SET = 1
-__DARWIN_SUF_UNIX03_SET = 0
-__DARWIN_SUF_64_BIT_INO_T = "$INODE64"
-__DARWIN_SUF_NON_CANCELABLE = "$NOCANCEL"
-__DARWIN_SUF_1050 = "$1050"
-__DARWIN_SUF_UNIX03_SET = 0
-__DARWIN_SUF_EXTSN = "$DARWIN_EXTSN"
-__DARWIN_LONG_DOUBLE_IS_DOUBLE = 0
-def __DARWIN_LDBL_COMPAT(x): return
-
-def __DARWIN_LDBL_COMPAT2(x): return
-
-__DARWIN_LONG_DOUBLE_IS_DOUBLE = 1
-def __DARWIN_LDBL_COMPAT(x): return
-
-def __DARWIN_LDBL_COMPAT2(x): return
-
-__DARWIN_LONG_DOUBLE_IS_DOUBLE = 0
-_DARWIN_FEATURE_LONG_DOUBLE_IS_DOUBLE = 1
-_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
-_DARWIN_FEATURE_64_BIT_INODE = 1
-
-# Included from machine/_types.h
-__PTHREAD_SIZE__ = 1168
-__PTHREAD_ATTR_SIZE__ = 56
-__PTHREAD_MUTEXATTR_SIZE__ = 8
-__PTHREAD_MUTEX_SIZE__ = 56
-__PTHREAD_CONDATTR_SIZE__ = 8
-__PTHREAD_COND_SIZE__ = 40
-__PTHREAD_ONCE_SIZE__ = 8
-__PTHREAD_RWLOCK_SIZE__ = 192
-__PTHREAD_RWLOCKATTR_SIZE__ = 16
-__PTHREAD_SIZE__ = 596
-__PTHREAD_ATTR_SIZE__ = 36
-__PTHREAD_MUTEXATTR_SIZE__ = 8
-__PTHREAD_MUTEX_SIZE__ = 40
-__PTHREAD_CONDATTR_SIZE__ = 4
-__PTHREAD_COND_SIZE__ = 24
-__PTHREAD_ONCE_SIZE__ = 4
-__PTHREAD_RWLOCK_SIZE__ = 124
-__PTHREAD_RWLOCKATTR_SIZE__ = 12
-__DARWIN_NULL = 0
-
-# Included from stdint.h
-__WORDSIZE = 64
-__WORDSIZE = 32
-INT8_MAX = 127
-INT16_MAX = 32767
-INT32_MAX = 2147483647
-INT8_MIN = -128
-INT16_MIN = -32768
-INT32_MIN = (-INT32_MAX-1)
-UINT8_MAX = 255
-UINT16_MAX = 65535
-INT_LEAST8_MIN = INT8_MIN
-INT_LEAST16_MIN = INT16_MIN
-INT_LEAST32_MIN = INT32_MIN
-INT_LEAST8_MAX = INT8_MAX
-INT_LEAST16_MAX = INT16_MAX
-INT_LEAST32_MAX = INT32_MAX
-UINT_LEAST8_MAX = UINT8_MAX
-UINT_LEAST16_MAX = UINT16_MAX
-INT_FAST8_MIN = INT8_MIN
-INT_FAST16_MIN = INT16_MIN
-INT_FAST32_MIN = INT32_MIN
-INT_FAST8_MAX = INT8_MAX
-INT_FAST16_MAX = INT16_MAX
-INT_FAST32_MAX = INT32_MAX
-UINT_FAST8_MAX = UINT8_MAX
-UINT_FAST16_MAX = UINT16_MAX
-INTPTR_MIN = INT32_MIN
-INTPTR_MAX = INT32_MAX
-PTRDIFF_MIN = INT32_MIN
-PTRDIFF_MAX = INT32_MAX
-WCHAR_MAX = 0x7fffffff
-WCHAR_MIN = 0
-WCHAR_MIN = (-WCHAR_MAX-1)
-WINT_MIN = INT32_MIN
-WINT_MAX = INT32_MAX
-SIG_ATOMIC_MIN = INT32_MIN
-SIG_ATOMIC_MAX = INT32_MAX
-def INT8_C(v): return (v)
-
-def INT16_C(v): return (v)
-
-def INT32_C(v): return (v)
-
-
-# Included from sys/socket.h
-
-# Included from machine/_param.h
-SOCK_STREAM = 1
-SOCK_DGRAM = 2
-SOCK_RAW = 3
-SOCK_RDM = 4
-SOCK_SEQPACKET = 5
-SO_DEBUG = 0x0001
-SO_ACCEPTCONN = 0x0002
-SO_REUSEADDR = 0x0004
-SO_KEEPALIVE = 0x0008
-SO_DONTROUTE = 0x0010
-SO_BROADCAST = 0x0020
-SO_USELOOPBACK = 0x0040
-SO_LINGER = 0x0080
-SO_LINGER = 0x1080
-SO_OOBINLINE = 0x0100
-SO_REUSEPORT = 0x0200
-SO_TIMESTAMP = 0x0400
-SO_ACCEPTFILTER = 0x1000
-SO_DONTTRUNC = 0x2000
-SO_WANTMORE = 0x4000
-SO_WANTOOBFLAG = 0x8000
-SO_SNDBUF = 0x1001
-SO_RCVBUF = 0x1002
-SO_SNDLOWAT = 0x1003
-SO_RCVLOWAT = 0x1004
-SO_SNDTIMEO = 0x1005
-SO_RCVTIMEO = 0x1006
-SO_ERROR = 0x1007
-SO_TYPE = 0x1008
-SO_NREAD = 0x1020
-SO_NKE = 0x1021
-SO_NOSIGPIPE = 0x1022
-SO_NOADDRERR = 0x1023
-SO_NWRITE = 0x1024
-SO_REUSESHAREUID = 0x1025
-SO_NOTIFYCONFLICT = 0x1026
-SO_LINGER_SEC = 0x1080
-SO_RESTRICTIONS = 0x1081
-SO_RESTRICT_DENYIN = 0x00000001
-SO_RESTRICT_DENYOUT = 0x00000002
-SO_RESTRICT_DENYSET = (-2147483648)
-SO_LABEL = 0x1010
-SO_PEERLABEL = 0x1011
-SOL_SOCKET = 0xffff
-AF_UNSPEC = 0
-AF_UNIX = 1
-AF_LOCAL = AF_UNIX
-AF_INET = 2
-AF_IMPLINK = 3
-AF_PUP = 4
-AF_CHAOS = 5
-AF_NS = 6
-AF_ISO = 7
-AF_OSI = AF_ISO
-AF_ECMA = 8
-AF_DATAKIT = 9
-AF_CCITT = 10
-AF_SNA = 11
-AF_DECnet = 12
-AF_DLI = 13
-AF_LAT = 14
-AF_HYLINK = 15
-AF_APPLETALK = 16
-AF_ROUTE = 17
-AF_LINK = 18
-pseudo_AF_XTP = 19
-AF_COIP = 20
-AF_CNT = 21
-pseudo_AF_RTIP = 22
-AF_IPX = 23
-AF_SIP = 24
-pseudo_AF_PIP = 25
-AF_NDRV = 27
-AF_ISDN = 28
-AF_E164 = AF_ISDN
-pseudo_AF_KEY = 29
-AF_INET6 = 30
-AF_NATM = 31
-AF_SYSTEM = 32
-AF_NETBIOS = 33
-AF_PPP = 34
-AF_ATM = 30
-pseudo_AF_HDRCMPLT = 35
-AF_RESERVED_36 = 36
-AF_NETGRAPH = 32
-AF_MAX = 37
-SOCK_MAXADDRLEN = 255
-_SS_MAXSIZE = 128
-PF_UNSPEC = AF_UNSPEC
-PF_LOCAL = AF_LOCAL
-PF_UNIX = PF_LOCAL
-PF_INET = AF_INET
-PF_IMPLINK = AF_IMPLINK
-PF_PUP = AF_PUP
-PF_CHAOS = AF_CHAOS
-PF_NS = AF_NS
-PF_ISO = AF_ISO
-PF_OSI = AF_ISO
-PF_ECMA = AF_ECMA
-PF_DATAKIT = AF_DATAKIT
-PF_CCITT = AF_CCITT
-PF_SNA = AF_SNA
-PF_DECnet = AF_DECnet
-PF_DLI = AF_DLI
-PF_LAT = AF_LAT
-PF_HYLINK = AF_HYLINK
-PF_APPLETALK = AF_APPLETALK
-PF_ROUTE = AF_ROUTE
-PF_LINK = AF_LINK
-PF_XTP = pseudo_AF_XTP
-PF_COIP = AF_COIP
-PF_CNT = AF_CNT
-PF_SIP = AF_SIP
-PF_IPX = AF_IPX
-PF_RTIP = pseudo_AF_RTIP
-PF_PIP = pseudo_AF_PIP
-PF_NDRV = AF_NDRV
-PF_ISDN = AF_ISDN
-PF_KEY = pseudo_AF_KEY
-PF_INET6 = AF_INET6
-PF_NATM = AF_NATM
-PF_SYSTEM = AF_SYSTEM
-PF_NETBIOS = AF_NETBIOS
-PF_PPP = AF_PPP
-PF_RESERVED_36 = AF_RESERVED_36
-PF_ATM = AF_ATM
-PF_NETGRAPH = AF_NETGRAPH
-PF_MAX = AF_MAX
-NET_MAXID = AF_MAX
-NET_RT_DUMP = 1
-NET_RT_FLAGS = 2
-NET_RT_IFLIST = 3
-NET_RT_STAT = 4
-NET_RT_TRASH = 5
-NET_RT_IFLIST2 = 6
-NET_RT_DUMP2 = 7
-NET_RT_MAXID = 8
-SOMAXCONN = 128
-MSG_OOB = 0x1
-MSG_PEEK = 0x2
-MSG_DONTROUTE = 0x4
-MSG_EOR = 0x8
-MSG_TRUNC = 0x10
-MSG_CTRUNC = 0x20
-MSG_WAITALL = 0x40
-MSG_DONTWAIT = 0x80
-MSG_EOF = 0x100
-MSG_WAITSTREAM = 0x200
-MSG_FLUSH = 0x400
-MSG_HOLD = 0x800
-MSG_SEND = 0x1000
-MSG_HAVEMORE = 0x2000
-MSG_RCVMORE = 0x4000
-MSG_NEEDSA = 0x10000
-CMGROUP_MAX = 16
-SCM_RIGHTS = 0x01
-SCM_TIMESTAMP = 0x02
-SCM_CREDS = 0x03
-SHUT_RD = 0
-SHUT_WR = 1
-SHUT_RDWR = 2
-
-# Included from machine/endian.h
-
-# Included from sys/_endian.h
-def ntohl(x): return (x)
-
-def ntohs(x): return (x)
-
-def htonl(x): return (x)
-
-def htons(x): return (x)
-
-def NTOHL(x): return (x)
-
-def NTOHS(x): return (x)
-
-def HTONL(x): return (x)
-
-def HTONS(x): return (x)
-
-
-# Included from libkern/_OSByteOrder.h
-def __DARWIN_OSSwapConstInt16(x): return \
-
-def __DARWIN_OSSwapConstInt32(x): return \
-
-def __DARWIN_OSSwapConstInt64(x): return \
-
-
-# Included from libkern/i386/_OSByteOrder.h
-def __DARWIN_OSSwapInt16(x): return \
-
-def __DARWIN_OSSwapInt32(x): return \
-
-def __DARWIN_OSSwapInt64(x): return \
-
-def __DARWIN_OSSwapInt16(x): return _OSSwapInt16(x)
-
-def __DARWIN_OSSwapInt32(x): return _OSSwapInt32(x)
-
-def __DARWIN_OSSwapInt64(x): return _OSSwapInt64(x)
-
-def ntohs(x): return __DARWIN_OSSwapInt16(x)
-
-def htons(x): return __DARWIN_OSSwapInt16(x)
-
-def ntohl(x): return __DARWIN_OSSwapInt32(x)
-
-def htonl(x): return __DARWIN_OSSwapInt32(x)
-
-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
-__DARWIN_IPPORT_RESERVED = 1024
-IPPORT_RESERVED = __DARWIN_IPPORT_RESERVED
-IPPORT_USERRESERVED = 5000
-IPPORT_HIFIRSTAUTO = 49152
-IPPORT_HILASTAUTO = 65535
-IPPORT_RESERVEDSTART = 600
-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)
-def IN_LINKLOCAL(i): return (((u_int32_t)(i) & IN_CLASSB_NET) == IN_LINKLOCALNETNUM)
-
-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_STRIPHDR = 23
-IP_RECVTTL = 24
-IP_FW_ADD = 40
-IP_FW_DEL = 41
-IP_FW_FLUSH = 42
-IP_FW_ZERO = 43
-IP_FW_GET = 44
-IP_FW_RESETLOG = 45
-IP_OLD_FW_ADD = 50
-IP_OLD_FW_DEL = 51
-IP_OLD_FW_FLUSH = 52
-IP_OLD_FW_ZERO = 53
-IP_OLD_FW_GET = 54
-IP_NAT__XXX = 55
-IP_OLD_FW_RESETLOG = 56
-IP_DUMMYNET_CONFIGURE = 60
-IP_DUMMYNET_DEL = 61
-IP_DUMMYNET_FLUSH = 62
-IP_DUMMYNET_GET = 64
-IP_TRAFFIC_MGT_BACKGROUND = 65
-IP_FORCE_OUT_IFP = 69
-TRAFFIC_MGT_SO_BACKGROUND = 0x0001
-TRAFFIC_MGT_SO_BG_SUPPRESSED = 0x0002
-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
-__KAME_VERSION = "20010528/apple-darwin"
-IPV6PORT_RESERVED = 1024
-IPV6PORT_ANONMIN = 49152
-IPV6PORT_ANONMAX = 65535
-IPV6PORT_RESERVEDMIN = 600
-IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-INET6_ADDRSTRLEN = 46
-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
-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 \
-
-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_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_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_MAXFRAGS = 41
-IPV6CTL_MAXID = 42
diff --git a/Lib/plat-darwin/regen b/Lib/plat-darwin/regen
deleted file mode 100755
index a20cdc1..0000000
--- a/Lib/plat-darwin/regen
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-set -v
-python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/Lib/plat-freebsd4/IN.py b/Lib/plat-freebsd4/IN.py
deleted file mode 100644
index bca2418..0000000
--- a/Lib/plat-freebsd4/IN.py
+++ /dev/null
@@ -1,355 +0,0 @@
-# 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
diff --git a/Lib/plat-freebsd4/regen b/Lib/plat-freebsd4/regen
deleted file mode 100755
index 8aa6898..0000000
--- a/Lib/plat-freebsd4/regen
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-set -v
-python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/Lib/plat-freebsd5/IN.py b/Lib/plat-freebsd5/IN.py
deleted file mode 100644
index bca2418..0000000
--- a/Lib/plat-freebsd5/IN.py
+++ /dev/null
@@ -1,355 +0,0 @@
-# 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
diff --git a/Lib/plat-freebsd5/regen b/Lib/plat-freebsd5/regen
deleted file mode 100755
index 8aa6898..0000000
--- a/Lib/plat-freebsd5/regen
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-set -v
-python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/Lib/plat-freebsd6/IN.py b/Lib/plat-freebsd6/IN.py
deleted file mode 100644
index 560bf84..0000000
--- a/Lib/plat-freebsd6/IN.py
+++ /dev/null
@@ -1,551 +0,0 @@
-# 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_STDARG = 1
-__GNUCLIKE_BUILTIN_VAALIST = 1
-__GNUC_VA_LIST_COMPATIBILITY = 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 __format_arg(fmtarg): return __attribute__((__format_arg__ (fmtarg)))
-
-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_long_var(x): return \
-
-def __byte_swap_long_const(x): return \
-
-def __byte_swap_long(x): return __byte_swap_long_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_SCTP = 132
-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) & 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
-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_MINTTL = 66
-IP_DONTFRAG = 67
-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 = "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 = 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_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_USE_DEFAULTZONE = 39
-IPV6CTL_MAXFRAGS = 41
-IPV6CTL_IFQ = 42
-IPV6CTL_ISATAPRTR = 43
-IPV6CTL_MCAST_PMTU = 44
-IPV6CTL_STEALTH = 45
-IPV6CTL_MAXID = 46
diff --git a/Lib/plat-freebsd6/regen b/Lib/plat-freebsd6/regen
deleted file mode 100755
index 8aa6898..0000000
--- a/Lib/plat-freebsd6/regen
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-set -v
-python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/Lib/plat-freebsd7/IN.py b/Lib/plat-freebsd7/IN.py
deleted file mode 100644
index 4e3b3a2..0000000
--- a/Lib/plat-freebsd7/IN.py
+++ /dev/null
@@ -1,571 +0,0 @@
-# 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_STDARG = 1
-__GNUCLIKE_BUILTIN_VAALIST = 1
-__GNUC_VA_LIST_COMPATIBILITY = 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 __format_arg(fmtarg): return __attribute__((__format_arg__ (fmtarg)))
-
-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_SCTP = 132
-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))
-
-def IN_LINKLOCAL(i): return (((u_int32_t)(i) & (-65536)) == (-1442971648))
-
-def IN_LOCAL_GROUP(i): return (((u_int32_t)(i) & (-256)) == (-536870912))
-
-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_FW_NAT_CFG = 56
-IP_FW_NAT_DEL = 57
-IP_FW_NAT_GET_CONFIG = 58
-IP_FW_NAT_GET_LOG = 59
-IP_DUMMYNET_CONFIGURE = 60
-IP_DUMMYNET_DEL = 61
-IP_DUMMYNET_FLUSH = 62
-IP_DUMMYNET_GET = 64
-IP_RECVTTL = 65
-IP_MINTTL = 66
-IP_DONTFRAG = 67
-IP_ADD_SOURCE_MEMBERSHIP = 70
-IP_DROP_SOURCE_MEMBERSHIP = 71
-IP_BLOCK_SOURCE = 72
-IP_UNBLOCK_SOURCE = 73
-IP_MSFILTER = 74
-MCAST_JOIN_GROUP = 80
-MCAST_LEAVE_GROUP = 81
-MCAST_JOIN_SOURCE_GROUP = 82
-MCAST_LEAVE_SOURCE_GROUP = 83
-MCAST_BLOCK_SOURCE = 84
-MCAST_UNBLOCK_SOURCE = 85
-IP_DEFAULT_MULTICAST_TTL = 1
-IP_DEFAULT_MULTICAST_LOOP = 1
-IP_MIN_MEMBERSHIPS = 31
-IP_MAX_MEMBERSHIPS = 4095
-IP_MAX_SOURCE_FILTER = 1024
-MCAST_INCLUDE = 1
-MCAST_EXCLUDE = 2
-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 = "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 IN6_IS_SCOPE_EMBED(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_MSFILTER = 74
-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_USE_DEFAULTZONE = 39
-IPV6CTL_MAXFRAGS = 41
-IPV6CTL_IFQ = 42
-IPV6CTL_ISATAPRTR = 43
-IPV6CTL_MCAST_PMTU = 44
-IPV6CTL_STEALTH = 45
-IPV6CTL_MAXID = 46
diff --git a/Lib/plat-freebsd7/regen b/Lib/plat-freebsd7/regen
deleted file mode 100755
index 8aa6898..0000000
--- a/Lib/plat-freebsd7/regen
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-set -v
-python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/Lib/plat-freebsd8/IN.py b/Lib/plat-freebsd8/IN.py
deleted file mode 100644
index 4e3b3a2..0000000
--- a/Lib/plat-freebsd8/IN.py
+++ /dev/null
@@ -1,571 +0,0 @@
-# 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_STDARG = 1
-__GNUCLIKE_BUILTIN_VAALIST = 1
-__GNUC_VA_LIST_COMPATIBILITY = 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 __format_arg(fmtarg): return __attribute__((__format_arg__ (fmtarg)))
-
-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_SCTP = 132
-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))
-
-def IN_LINKLOCAL(i): return (((u_int32_t)(i) & (-65536)) == (-1442971648))
-
-def IN_LOCAL_GROUP(i): return (((u_int32_t)(i) & (-256)) == (-536870912))
-
-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_FW_NAT_CFG = 56
-IP_FW_NAT_DEL = 57
-IP_FW_NAT_GET_CONFIG = 58
-IP_FW_NAT_GET_LOG = 59
-IP_DUMMYNET_CONFIGURE = 60
-IP_DUMMYNET_DEL = 61
-IP_DUMMYNET_FLUSH = 62
-IP_DUMMYNET_GET = 64
-IP_RECVTTL = 65
-IP_MINTTL = 66
-IP_DONTFRAG = 67
-IP_ADD_SOURCE_MEMBERSHIP = 70
-IP_DROP_SOURCE_MEMBERSHIP = 71
-IP_BLOCK_SOURCE = 72
-IP_UNBLOCK_SOURCE = 73
-IP_MSFILTER = 74
-MCAST_JOIN_GROUP = 80
-MCAST_LEAVE_GROUP = 81
-MCAST_JOIN_SOURCE_GROUP = 82
-MCAST_LEAVE_SOURCE_GROUP = 83
-MCAST_BLOCK_SOURCE = 84
-MCAST_UNBLOCK_SOURCE = 85
-IP_DEFAULT_MULTICAST_TTL = 1
-IP_DEFAULT_MULTICAST_LOOP = 1
-IP_MIN_MEMBERSHIPS = 31
-IP_MAX_MEMBERSHIPS = 4095
-IP_MAX_SOURCE_FILTER = 1024
-MCAST_INCLUDE = 1
-MCAST_EXCLUDE = 2
-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 = "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 IN6_IS_SCOPE_EMBED(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_MSFILTER = 74
-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_USE_DEFAULTZONE = 39
-IPV6CTL_MAXFRAGS = 41
-IPV6CTL_IFQ = 42
-IPV6CTL_ISATAPRTR = 43
-IPV6CTL_MCAST_PMTU = 44
-IPV6CTL_STEALTH = 45
-IPV6CTL_MAXID = 46
diff --git a/Lib/plat-freebsd8/regen b/Lib/plat-freebsd8/regen
deleted file mode 100755
index 8aa6898..0000000
--- a/Lib/plat-freebsd8/regen
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-set -v
-python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/Lib/plat-generic/regen b/Lib/plat-generic/regen
deleted file mode 100755
index c96167d..0000000
--- a/Lib/plat-generic/regen
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-set -v
-eval $PYTHON_FOR_BUILD ../../Tools/scripts/h2py.py -i "'(u_long)'" /usr/include/netinet/in.h
diff --git a/Lib/plat-linux/CDROM.py b/Lib/plat-linux/CDROM.py
deleted file mode 100644
index 4340936..0000000
--- a/Lib/plat-linux/CDROM.py
+++ /dev/null
@@ -1,207 +0,0 @@
-# Generated by h2py from /usr/include/linux/cdrom.h
-
-CDROMPAUSE = 0x5301
-CDROMRESUME = 0x5302
-CDROMPLAYMSF = 0x5303
-CDROMPLAYTRKIND = 0x5304
-CDROMREADTOCHDR = 0x5305
-CDROMREADTOCENTRY = 0x5306
-CDROMSTOP = 0x5307
-CDROMSTART = 0x5308
-CDROMEJECT = 0x5309
-CDROMVOLCTRL = 0x530a
-CDROMSUBCHNL = 0x530b
-CDROMREADMODE2 = 0x530c
-CDROMREADMODE1 = 0x530d
-CDROMREADAUDIO = 0x530e
-CDROMEJECT_SW = 0x530f
-CDROMMULTISESSION = 0x5310
-CDROM_GET_MCN = 0x5311
-CDROM_GET_UPC = CDROM_GET_MCN
-CDROMRESET = 0x5312
-CDROMVOLREAD = 0x5313
-CDROMREADRAW = 0x5314
-CDROMREADCOOKED = 0x5315
-CDROMSEEK = 0x5316
-CDROMPLAYBLK = 0x5317
-CDROMREADALL = 0x5318
-CDROMGETSPINDOWN = 0x531d
-CDROMSETSPINDOWN = 0x531e
-CDROMCLOSETRAY = 0x5319
-CDROM_SET_OPTIONS = 0x5320
-CDROM_CLEAR_OPTIONS = 0x5321
-CDROM_SELECT_SPEED = 0x5322
-CDROM_SELECT_DISC = 0x5323
-CDROM_MEDIA_CHANGED = 0x5325
-CDROM_DRIVE_STATUS = 0x5326
-CDROM_DISC_STATUS = 0x5327
-CDROM_CHANGER_NSLOTS = 0x5328
-CDROM_LOCKDOOR = 0x5329
-CDROM_DEBUG = 0x5330
-CDROM_GET_CAPABILITY = 0x5331
-CDROMAUDIOBUFSIZ = 0x5382
-DVD_READ_STRUCT = 0x5390
-DVD_WRITE_STRUCT = 0x5391
-DVD_AUTH = 0x5392
-CDROM_SEND_PACKET = 0x5393
-CDROM_NEXT_WRITABLE = 0x5394
-CDROM_LAST_WRITTEN = 0x5395
-CDROM_PACKET_SIZE = 12
-CGC_DATA_UNKNOWN = 0
-CGC_DATA_WRITE = 1
-CGC_DATA_READ = 2
-CGC_DATA_NONE = 3
-CD_MINS = 74
-CD_SECS = 60
-CD_FRAMES = 75
-CD_SYNC_SIZE = 12
-CD_MSF_OFFSET = 150
-CD_CHUNK_SIZE = 24
-CD_NUM_OF_CHUNKS = 98
-CD_FRAMESIZE_SUB = 96
-CD_HEAD_SIZE = 4
-CD_SUBHEAD_SIZE = 8
-CD_EDC_SIZE = 4
-CD_ZERO_SIZE = 8
-CD_ECC_SIZE = 276
-CD_FRAMESIZE = 2048
-CD_FRAMESIZE_RAW = 2352
-CD_FRAMESIZE_RAWER = 2646
-CD_FRAMESIZE_RAW1 = (CD_FRAMESIZE_RAW-CD_SYNC_SIZE)
-CD_FRAMESIZE_RAW0 = (CD_FRAMESIZE_RAW-CD_SYNC_SIZE-CD_HEAD_SIZE)
-CD_XA_HEAD = (CD_HEAD_SIZE+CD_SUBHEAD_SIZE)
-CD_XA_TAIL = (CD_EDC_SIZE+CD_ECC_SIZE)
-CD_XA_SYNC_HEAD = (CD_SYNC_SIZE+CD_XA_HEAD)
-CDROM_LBA = 0x01
-CDROM_MSF = 0x02
-CDROM_DATA_TRACK = 0x04
-CDROM_LEADOUT = 0xAA
-CDROM_AUDIO_INVALID = 0x00
-CDROM_AUDIO_PLAY = 0x11
-CDROM_AUDIO_PAUSED = 0x12
-CDROM_AUDIO_COMPLETED = 0x13
-CDROM_AUDIO_ERROR = 0x14
-CDROM_AUDIO_NO_STATUS = 0x15
-CDC_CLOSE_TRAY = 0x1
-CDC_OPEN_TRAY = 0x2
-CDC_LOCK = 0x4
-CDC_SELECT_SPEED = 0x8
-CDC_SELECT_DISC = 0x10
-CDC_MULTI_SESSION = 0x20
-CDC_MCN = 0x40
-CDC_MEDIA_CHANGED = 0x80
-CDC_PLAY_AUDIO = 0x100
-CDC_RESET = 0x200
-CDC_IOCTLS = 0x400
-CDC_DRIVE_STATUS = 0x800
-CDC_GENERIC_PACKET = 0x1000
-CDC_CD_R = 0x2000
-CDC_CD_RW = 0x4000
-CDC_DVD = 0x8000
-CDC_DVD_R = 0x10000
-CDC_DVD_RAM = 0x20000
-CDS_NO_INFO = 0
-CDS_NO_DISC = 1
-CDS_TRAY_OPEN = 2
-CDS_DRIVE_NOT_READY = 3
-CDS_DISC_OK = 4
-CDS_AUDIO = 100
-CDS_DATA_1 = 101
-CDS_DATA_2 = 102
-CDS_XA_2_1 = 103
-CDS_XA_2_2 = 104
-CDS_MIXED = 105
-CDO_AUTO_CLOSE = 0x1
-CDO_AUTO_EJECT = 0x2
-CDO_USE_FFLAGS = 0x4
-CDO_LOCK = 0x8
-CDO_CHECK_TYPE = 0x10
-CD_PART_MAX = 64
-CD_PART_MASK = (CD_PART_MAX - 1)
-GPCMD_BLANK = 0xa1
-GPCMD_CLOSE_TRACK = 0x5b
-GPCMD_FLUSH_CACHE = 0x35
-GPCMD_FORMAT_UNIT = 0x04
-GPCMD_GET_CONFIGURATION = 0x46
-GPCMD_GET_EVENT_STATUS_NOTIFICATION = 0x4a
-GPCMD_GET_PERFORMANCE = 0xac
-GPCMD_INQUIRY = 0x12
-GPCMD_LOAD_UNLOAD = 0xa6
-GPCMD_MECHANISM_STATUS = 0xbd
-GPCMD_MODE_SELECT_10 = 0x55
-GPCMD_MODE_SENSE_10 = 0x5a
-GPCMD_PAUSE_RESUME = 0x4b
-GPCMD_PLAY_AUDIO_10 = 0x45
-GPCMD_PLAY_AUDIO_MSF = 0x47
-GPCMD_PLAY_AUDIO_TI = 0x48
-GPCMD_PLAY_CD = 0xbc
-GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL = 0x1e
-GPCMD_READ_10 = 0x28
-GPCMD_READ_12 = 0xa8
-GPCMD_READ_CDVD_CAPACITY = 0x25
-GPCMD_READ_CD = 0xbe
-GPCMD_READ_CD_MSF = 0xb9
-GPCMD_READ_DISC_INFO = 0x51
-GPCMD_READ_DVD_STRUCTURE = 0xad
-GPCMD_READ_FORMAT_CAPACITIES = 0x23
-GPCMD_READ_HEADER = 0x44
-GPCMD_READ_TRACK_RZONE_INFO = 0x52
-GPCMD_READ_SUBCHANNEL = 0x42
-GPCMD_READ_TOC_PMA_ATIP = 0x43
-GPCMD_REPAIR_RZONE_TRACK = 0x58
-GPCMD_REPORT_KEY = 0xa4
-GPCMD_REQUEST_SENSE = 0x03
-GPCMD_RESERVE_RZONE_TRACK = 0x53
-GPCMD_SCAN = 0xba
-GPCMD_SEEK = 0x2b
-GPCMD_SEND_DVD_STRUCTURE = 0xad
-GPCMD_SEND_EVENT = 0xa2
-GPCMD_SEND_KEY = 0xa3
-GPCMD_SEND_OPC = 0x54
-GPCMD_SET_READ_AHEAD = 0xa7
-GPCMD_SET_STREAMING = 0xb6
-GPCMD_START_STOP_UNIT = 0x1b
-GPCMD_STOP_PLAY_SCAN = 0x4e
-GPCMD_TEST_UNIT_READY = 0x00
-GPCMD_VERIFY_10 = 0x2f
-GPCMD_WRITE_10 = 0x2a
-GPCMD_WRITE_AND_VERIFY_10 = 0x2e
-GPCMD_SET_SPEED = 0xbb
-GPCMD_PLAYAUDIO_TI = 0x48
-GPCMD_GET_MEDIA_STATUS = 0xda
-GPMODE_R_W_ERROR_PAGE = 0x01
-GPMODE_WRITE_PARMS_PAGE = 0x05
-GPMODE_AUDIO_CTL_PAGE = 0x0e
-GPMODE_POWER_PAGE = 0x1a
-GPMODE_FAULT_FAIL_PAGE = 0x1c
-GPMODE_TO_PROTECT_PAGE = 0x1d
-GPMODE_CAPABILITIES_PAGE = 0x2a
-GPMODE_ALL_PAGES = 0x3f
-GPMODE_CDROM_PAGE = 0x0d
-DVD_STRUCT_PHYSICAL = 0x00
-DVD_STRUCT_COPYRIGHT = 0x01
-DVD_STRUCT_DISCKEY = 0x02
-DVD_STRUCT_BCA = 0x03
-DVD_STRUCT_MANUFACT = 0x04
-DVD_LAYERS = 4
-DVD_LU_SEND_AGID = 0
-DVD_HOST_SEND_CHALLENGE = 1
-DVD_LU_SEND_KEY1 = 2
-DVD_LU_SEND_CHALLENGE = 3
-DVD_HOST_SEND_KEY2 = 4
-DVD_AUTH_ESTABLISHED = 5
-DVD_AUTH_FAILURE = 6
-DVD_LU_SEND_TITLE_KEY = 7
-DVD_LU_SEND_ASF = 8
-DVD_INVALIDATE_AGID = 9
-DVD_LU_SEND_RPC_STATE = 10
-DVD_HOST_SEND_RPC_STATE = 11
-DVD_CPM_NO_COPYRIGHT = 0
-DVD_CPM_COPYRIGHTED = 1
-DVD_CP_SEC_NONE = 0
-DVD_CP_SEC_EXIST = 1
-DVD_CGMS_UNRESTRICTED = 0
-DVD_CGMS_SINGLE = 2
-DVD_CGMS_RESTRICTED = 3
-
-CDROM_MAX_SLOTS = 256
diff --git a/Lib/plat-linux/DLFCN.py b/Lib/plat-linux/DLFCN.py
deleted file mode 100644
index dd10ac4..0000000
--- a/Lib/plat-linux/DLFCN.py
+++ /dev/null
@@ -1,83 +0,0 @@
-# Generated by h2py from /usr/include/dlfcn.h
-_DLFCN_H = 1
-
-# Included from features.h
-_FEATURES_H = 1
-__USE_ANSI = 1
-__FAVOR_BSD = 1
-_ISOC99_SOURCE = 1
-_POSIX_SOURCE = 1
-_POSIX_C_SOURCE = 199506
-_XOPEN_SOURCE = 600
-_XOPEN_SOURCE_EXTENDED = 1
-_LARGEFILE64_SOURCE = 1
-_BSD_SOURCE = 1
-_SVID_SOURCE = 1
-_BSD_SOURCE = 1
-_SVID_SOURCE = 1
-__USE_ISOC99 = 1
-_POSIX_SOURCE = 1
-_POSIX_C_SOURCE = 2
-_POSIX_C_SOURCE = 199506
-__USE_POSIX = 1
-__USE_POSIX2 = 1
-__USE_POSIX199309 = 1
-__USE_POSIX199506 = 1
-__USE_XOPEN = 1
-__USE_XOPEN_EXTENDED = 1
-__USE_UNIX98 = 1
-_LARGEFILE_SOURCE = 1
-__USE_XOPEN2K = 1
-__USE_ISOC99 = 1
-__USE_XOPEN_EXTENDED = 1
-__USE_LARGEFILE = 1
-__USE_LARGEFILE64 = 1
-__USE_FILE_OFFSET64 = 1
-__USE_MISC = 1
-__USE_BSD = 1
-__USE_SVID = 1
-__USE_GNU = 1
-__USE_REENTRANT = 1
-__STDC_IEC_559__ = 1
-__STDC_IEC_559_COMPLEX__ = 1
-__STDC_ISO_10646__ = 200009
-__GNU_LIBRARY__ = 6
-__GLIBC__ = 2
-__GLIBC_MINOR__ = 2
-
-# Included from sys/cdefs.h
-_SYS_CDEFS_H = 1
-def __PMT(args): return args
-
-def __P(args): return args
-
-def __PMT(args): return args
-
-def __STRING(x): return #x
-
-__flexarr = []
-__flexarr = [0]
-__flexarr = []
-__flexarr = [1]
-def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
-
-def __attribute__(xyz): return
-
-def __attribute_format_arg__(x): return __attribute__ ((__format_arg__ (x)))
-
-def __attribute_format_arg__(x): return
-
-__USE_LARGEFILE = 1
-__USE_LARGEFILE64 = 1
-__USE_EXTERN_INLINES = 1
-
-# Included from gnu/stubs.h
-
-# Included from bits/dlfcn.h
-RTLD_LAZY = 0x00001
-RTLD_NOW = 0x00002
-RTLD_BINDING_MASK = 0x3
-RTLD_NOLOAD = 0x00004
-RTLD_GLOBAL = 0x00100
-RTLD_LOCAL = 0
-RTLD_NODELETE = 0x01000
diff --git a/Lib/plat-linux/IN.py b/Lib/plat-linux/IN.py
deleted file mode 100644
index d7d3002..0000000
--- a/Lib/plat-linux/IN.py
+++ /dev/null
@@ -1,615 +0,0 @@
-# Generated by h2py from /usr/include/netinet/in.h
-_NETINET_IN_H = 1
-
-# Included from features.h
-_FEATURES_H = 1
-__USE_ANSI = 1
-__FAVOR_BSD = 1
-_ISOC99_SOURCE = 1
-_POSIX_SOURCE = 1
-_POSIX_C_SOURCE = 199506
-_XOPEN_SOURCE = 600
-_XOPEN_SOURCE_EXTENDED = 1
-_LARGEFILE64_SOURCE = 1
-_BSD_SOURCE = 1
-_SVID_SOURCE = 1
-_BSD_SOURCE = 1
-_SVID_SOURCE = 1
-__USE_ISOC99 = 1
-_POSIX_SOURCE = 1
-_POSIX_C_SOURCE = 2
-_POSIX_C_SOURCE = 199506
-__USE_POSIX = 1
-__USE_POSIX2 = 1
-__USE_POSIX199309 = 1
-__USE_POSIX199506 = 1
-__USE_XOPEN = 1
-__USE_XOPEN_EXTENDED = 1
-__USE_UNIX98 = 1
-_LARGEFILE_SOURCE = 1
-__USE_XOPEN2K = 1
-__USE_ISOC99 = 1
-__USE_XOPEN_EXTENDED = 1
-__USE_LARGEFILE = 1
-__USE_LARGEFILE64 = 1
-__USE_FILE_OFFSET64 = 1
-__USE_MISC = 1
-__USE_BSD = 1
-__USE_SVID = 1
-__USE_GNU = 1
-__USE_REENTRANT = 1
-__STDC_IEC_559__ = 1
-__STDC_IEC_559_COMPLEX__ = 1
-__STDC_ISO_10646__ = 200009
-__GNU_LIBRARY__ = 6
-__GLIBC__ = 2
-__GLIBC_MINOR__ = 2
-
-# Included from sys/cdefs.h
-_SYS_CDEFS_H = 1
-def __PMT(args): return args
-
-def __P(args): return args
-
-def __PMT(args): return args
-
-def __STRING(x): return #x
-
-__flexarr = []
-__flexarr = [0]
-__flexarr = []
-__flexarr = [1]
-def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
-
-def __attribute__(xyz): return
-
-def __attribute_format_arg__(x): return __attribute__ ((__format_arg__ (x)))
-
-def __attribute_format_arg__(x): return
-
-__USE_LARGEFILE = 1
-__USE_LARGEFILE64 = 1
-__USE_EXTERN_INLINES = 1
-
-# Included from gnu/stubs.h
-
-# Included from stdint.h
-_STDINT_H = 1
-
-# Included from bits/wchar.h
-_BITS_WCHAR_H = 1
-__WCHAR_MIN = (-2147483647 - 1)
-__WCHAR_MAX = (2147483647)
-
-# Included from bits/wordsize.h
-__WORDSIZE = 32
-def __INT64_C(c): return c ## L
-
-def __UINT64_C(c): return c ## UL
-
-def __INT64_C(c): return c ## LL
-
-def __UINT64_C(c): return c ## ULL
-
-INT8_MIN = (-128)
-INT16_MIN = (-32767-1)
-INT32_MIN = (-2147483647-1)
-INT64_MIN = (-__INT64_C(9223372036854775807)-1)
-INT8_MAX = (127)
-INT16_MAX = (32767)
-INT32_MAX = (2147483647)
-INT64_MAX = (__INT64_C(9223372036854775807))
-UINT8_MAX = (255)
-UINT16_MAX = (65535)
-UINT64_MAX = (__UINT64_C(18446744073709551615))
-INT_LEAST8_MIN = (-128)
-INT_LEAST16_MIN = (-32767-1)
-INT_LEAST32_MIN = (-2147483647-1)
-INT_LEAST64_MIN = (-__INT64_C(9223372036854775807)-1)
-INT_LEAST8_MAX = (127)
-INT_LEAST16_MAX = (32767)
-INT_LEAST32_MAX = (2147483647)
-INT_LEAST64_MAX = (__INT64_C(9223372036854775807))
-UINT_LEAST8_MAX = (255)
-UINT_LEAST16_MAX = (65535)
-UINT_LEAST64_MAX = (__UINT64_C(18446744073709551615))
-INT_FAST8_MIN = (-128)
-INT_FAST16_MIN = (-9223372036854775807-1)
-INT_FAST32_MIN = (-9223372036854775807-1)
-INT_FAST16_MIN = (-2147483647-1)
-INT_FAST32_MIN = (-2147483647-1)
-INT_FAST64_MIN = (-__INT64_C(9223372036854775807)-1)
-INT_FAST8_MAX = (127)
-INT_FAST16_MAX = (9223372036854775807)
-INT_FAST32_MAX = (9223372036854775807)
-INT_FAST16_MAX = (2147483647)
-INT_FAST32_MAX = (2147483647)
-INT_FAST64_MAX = (__INT64_C(9223372036854775807))
-UINT_FAST8_MAX = (255)
-UINT_FAST64_MAX = (__UINT64_C(18446744073709551615))
-INTPTR_MIN = (-9223372036854775807-1)
-INTPTR_MAX = (9223372036854775807)
-INTPTR_MIN = (-2147483647-1)
-INTPTR_MAX = (2147483647)
-INTMAX_MIN = (-__INT64_C(9223372036854775807)-1)
-INTMAX_MAX = (__INT64_C(9223372036854775807))
-UINTMAX_MAX = (__UINT64_C(18446744073709551615))
-PTRDIFF_MIN = (-9223372036854775807-1)
-PTRDIFF_MAX = (9223372036854775807)
-PTRDIFF_MIN = (-2147483647-1)
-PTRDIFF_MAX = (2147483647)
-SIG_ATOMIC_MIN = (-2147483647-1)
-SIG_ATOMIC_MAX = (2147483647)
-WCHAR_MIN = __WCHAR_MIN
-WCHAR_MAX = __WCHAR_MAX
-def INT8_C(c): return c
-
-def INT16_C(c): return c
-
-def INT32_C(c): return c
-
-def INT64_C(c): return c ## L
-
-def INT64_C(c): return c ## LL
-
-def UINT8_C(c): return c ## U
-
-def UINT16_C(c): return c ## U
-
-def UINT32_C(c): return c ## U
-
-def UINT64_C(c): return c ## UL
-
-def UINT64_C(c): return c ## ULL
-
-def INTMAX_C(c): return c ## L
-
-def UINTMAX_C(c): return c ## UL
-
-def INTMAX_C(c): return c ## LL
-
-def UINTMAX_C(c): return c ## ULL
-
-
-# Included from bits/types.h
-_BITS_TYPES_H = 1
-__FD_SETSIZE = 1024
-
-# Included from bits/pthreadtypes.h
-_BITS_PTHREADTYPES_H = 1
-
-# Included from bits/sched.h
-SCHED_OTHER = 0
-SCHED_FIFO = 1
-SCHED_RR = 2
-CSIGNAL = 0x000000ff
-CLONE_VM = 0x00000100
-CLONE_FS = 0x00000200
-CLONE_FILES = 0x00000400
-CLONE_SIGHAND = 0x00000800
-CLONE_PID = 0x00001000
-CLONE_PTRACE = 0x00002000
-CLONE_VFORK = 0x00004000
-__defined_schedparam = 1
-def IN_CLASSA(a): return ((((in_addr_t)(a)) & (-2147483648)) == 0)
-
-IN_CLASSA_NET = (-16777216)
-IN_CLASSA_NSHIFT = 24
-IN_CLASSA_HOST = ((-1) & ~IN_CLASSA_NET)
-IN_CLASSA_MAX = 128
-def IN_CLASSB(a): return ((((in_addr_t)(a)) & (-1073741824)) == (-2147483648))
-
-IN_CLASSB_NET = (-65536)
-IN_CLASSB_NSHIFT = 16
-IN_CLASSB_HOST = ((-1) & ~IN_CLASSB_NET)
-IN_CLASSB_MAX = 65536
-def IN_CLASSC(a): return ((((in_addr_t)(a)) & (-536870912)) == (-1073741824))
-
-IN_CLASSC_NET = (-256)
-IN_CLASSC_NSHIFT = 8
-IN_CLASSC_HOST = ((-1) & ~IN_CLASSC_NET)
-def IN_CLASSD(a): return ((((in_addr_t)(a)) & (-268435456)) == (-536870912))
-
-def IN_MULTICAST(a): return IN_CLASSD(a)
-
-def IN_EXPERIMENTAL(a): return ((((in_addr_t)(a)) & (-536870912)) == (-536870912))
-
-def IN_BADCLASS(a): return ((((in_addr_t)(a)) & (-268435456)) == (-268435456))
-
-IN_LOOPBACKNET = 127
-INET_ADDRSTRLEN = 16
-INET6_ADDRSTRLEN = 46
-
-# Included from bits/socket.h
-
-# Included from limits.h
-_LIBC_LIMITS_H_ = 1
-MB_LEN_MAX = 16
-_LIMITS_H = 1
-CHAR_BIT = 8
-SCHAR_MIN = (-128)
-SCHAR_MAX = 127
-UCHAR_MAX = 255
-CHAR_MIN = 0
-CHAR_MAX = UCHAR_MAX
-CHAR_MIN = SCHAR_MIN
-CHAR_MAX = SCHAR_MAX
-SHRT_MIN = (-32768)
-SHRT_MAX = 32767
-USHRT_MAX = 65535
-INT_MAX = 2147483647
-LONG_MAX = 9223372036854775807
-LONG_MAX = 2147483647
-LONG_MIN = (-LONG_MAX - 1)
-
-# Included from bits/posix1_lim.h
-_BITS_POSIX1_LIM_H = 1
-_POSIX_AIO_LISTIO_MAX = 2
-_POSIX_AIO_MAX = 1
-_POSIX_ARG_MAX = 4096
-_POSIX_CHILD_MAX = 6
-_POSIX_DELAYTIMER_MAX = 32
-_POSIX_LINK_MAX = 8
-_POSIX_MAX_CANON = 255
-_POSIX_MAX_INPUT = 255
-_POSIX_MQ_OPEN_MAX = 8
-_POSIX_MQ_PRIO_MAX = 32
-_POSIX_NGROUPS_MAX = 0
-_POSIX_OPEN_MAX = 16
-_POSIX_FD_SETSIZE = _POSIX_OPEN_MAX
-_POSIX_NAME_MAX = 14
-_POSIX_PATH_MAX = 256
-_POSIX_PIPE_BUF = 512
-_POSIX_RTSIG_MAX = 8
-_POSIX_SEM_NSEMS_MAX = 256
-_POSIX_SEM_VALUE_MAX = 32767
-_POSIX_SIGQUEUE_MAX = 32
-_POSIX_SSIZE_MAX = 32767
-_POSIX_STREAM_MAX = 8
-_POSIX_TZNAME_MAX = 6
-_POSIX_QLIMIT = 1
-_POSIX_HIWAT = _POSIX_PIPE_BUF
-_POSIX_UIO_MAXIOV = 16
-_POSIX_TTY_NAME_MAX = 9
-_POSIX_TIMER_MAX = 32
-_POSIX_LOGIN_NAME_MAX = 9
-_POSIX_CLOCKRES_MIN = 20000000
-
-# Included from bits/local_lim.h
-
-# Included from linux/limits.h
-NR_OPEN = 1024
-NGROUPS_MAX = 32
-ARG_MAX = 131072
-CHILD_MAX = 999
-OPEN_MAX = 256
-LINK_MAX = 127
-MAX_CANON = 255
-MAX_INPUT = 255
-NAME_MAX = 255
-PATH_MAX = 4096
-PIPE_BUF = 4096
-RTSIG_MAX = 32
-_POSIX_THREAD_KEYS_MAX = 128
-PTHREAD_KEYS_MAX = 1024
-_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4
-PTHREAD_DESTRUCTOR_ITERATIONS = _POSIX_THREAD_DESTRUCTOR_ITERATIONS
-_POSIX_THREAD_THREADS_MAX = 64
-PTHREAD_THREADS_MAX = 1024
-AIO_PRIO_DELTA_MAX = 20
-PTHREAD_STACK_MIN = 16384
-TIMER_MAX = 256
-SSIZE_MAX = LONG_MAX
-NGROUPS_MAX = _POSIX_NGROUPS_MAX
-
-# Included from bits/posix2_lim.h
-_BITS_POSIX2_LIM_H = 1
-_POSIX2_BC_BASE_MAX = 99
-_POSIX2_BC_DIM_MAX = 2048
-_POSIX2_BC_SCALE_MAX = 99
-_POSIX2_BC_STRING_MAX = 1000
-_POSIX2_COLL_WEIGHTS_MAX = 2
-_POSIX2_EXPR_NEST_MAX = 32
-_POSIX2_LINE_MAX = 2048
-_POSIX2_RE_DUP_MAX = 255
-_POSIX2_CHARCLASS_NAME_MAX = 14
-BC_BASE_MAX = _POSIX2_BC_BASE_MAX
-BC_DIM_MAX = _POSIX2_BC_DIM_MAX
-BC_SCALE_MAX = _POSIX2_BC_SCALE_MAX
-BC_STRING_MAX = _POSIX2_BC_STRING_MAX
-COLL_WEIGHTS_MAX = 255
-EXPR_NEST_MAX = _POSIX2_EXPR_NEST_MAX
-LINE_MAX = _POSIX2_LINE_MAX
-CHARCLASS_NAME_MAX = 2048
-RE_DUP_MAX = (0x7fff)
-
-# Included from bits/xopen_lim.h
-_XOPEN_LIM_H = 1
-
-# Included from bits/stdio_lim.h
-L_tmpnam = 20
-TMP_MAX = 238328
-FILENAME_MAX = 4096
-L_ctermid = 9
-L_cuserid = 9
-FOPEN_MAX = 16
-IOV_MAX = 1024
-_XOPEN_IOV_MAX = _POSIX_UIO_MAXIOV
-NL_ARGMAX = _POSIX_ARG_MAX
-NL_LANGMAX = _POSIX2_LINE_MAX
-NL_MSGMAX = INT_MAX
-NL_NMAX = INT_MAX
-NL_SETMAX = INT_MAX
-NL_TEXTMAX = INT_MAX
-NZERO = 20
-WORD_BIT = 16
-WORD_BIT = 32
-WORD_BIT = 64
-WORD_BIT = 16
-WORD_BIT = 32
-WORD_BIT = 64
-WORD_BIT = 32
-LONG_BIT = 32
-LONG_BIT = 64
-LONG_BIT = 32
-LONG_BIT = 64
-LONG_BIT = 64
-LONG_BIT = 32
-from TYPES import *
-PF_UNSPEC = 0
-PF_LOCAL = 1
-PF_UNIX = PF_LOCAL
-PF_FILE = PF_LOCAL
-PF_INET = 2
-PF_AX25 = 3
-PF_IPX = 4
-PF_APPLETALK = 5
-PF_NETROM = 6
-PF_BRIDGE = 7
-PF_ATMPVC = 8
-PF_X25 = 9
-PF_INET6 = 10
-PF_ROSE = 11
-PF_DECnet = 12
-PF_NETBEUI = 13
-PF_SECURITY = 14
-PF_KEY = 15
-PF_NETLINK = 16
-PF_ROUTE = PF_NETLINK
-PF_PACKET = 17
-PF_ASH = 18
-PF_ECONET = 19
-PF_ATMSVC = 20
-PF_SNA = 22
-PF_IRDA = 23
-PF_PPPOX = 24
-PF_WANPIPE = 25
-PF_BLUETOOTH = 31
-PF_MAX = 32
-AF_UNSPEC = PF_UNSPEC
-AF_LOCAL = PF_LOCAL
-AF_UNIX = PF_UNIX
-AF_FILE = PF_FILE
-AF_INET = PF_INET
-AF_AX25 = PF_AX25
-AF_IPX = PF_IPX
-AF_APPLETALK = PF_APPLETALK
-AF_NETROM = PF_NETROM
-AF_BRIDGE = PF_BRIDGE
-AF_ATMPVC = PF_ATMPVC
-AF_X25 = PF_X25
-AF_INET6 = PF_INET6
-AF_ROSE = PF_ROSE
-AF_DECnet = PF_DECnet
-AF_NETBEUI = PF_NETBEUI
-AF_SECURITY = PF_SECURITY
-AF_KEY = PF_KEY
-AF_NETLINK = PF_NETLINK
-AF_ROUTE = PF_ROUTE
-AF_PACKET = PF_PACKET
-AF_ASH = PF_ASH
-AF_ECONET = PF_ECONET
-AF_ATMSVC = PF_ATMSVC
-AF_SNA = PF_SNA
-AF_IRDA = PF_IRDA
-AF_PPPOX = PF_PPPOX
-AF_WANPIPE = PF_WANPIPE
-AF_BLUETOOTH = PF_BLUETOOTH
-AF_MAX = PF_MAX
-SOL_RAW = 255
-SOL_DECNET = 261
-SOL_X25 = 262
-SOL_PACKET = 263
-SOL_ATM = 264
-SOL_AAL = 265
-SOL_IRDA = 266
-SOMAXCONN = 128
-
-# Included from bits/sockaddr.h
-_BITS_SOCKADDR_H = 1
-def __SOCKADDR_COMMON(sa_prefix): return \
-
-_SS_SIZE = 128
-def CMSG_FIRSTHDR(mhdr): return \
-
-
-# Included from asm/socket.h
-
-# Included from asm/sockios.h
-FIOSETOWN = 0x8901
-SIOCSPGRP = 0x8902
-FIOGETOWN = 0x8903
-SIOCGPGRP = 0x8904
-SIOCATMARK = 0x8905
-SIOCGSTAMP = 0x8906
-SOL_SOCKET = 1
-SO_DEBUG = 1
-SO_REUSEADDR = 2
-SO_TYPE = 3
-SO_ERROR = 4
-SO_DONTROUTE = 5
-SO_BROADCAST = 6
-SO_SNDBUF = 7
-SO_RCVBUF = 8
-SO_KEEPALIVE = 9
-SO_OOBINLINE = 10
-SO_NO_CHECK = 11
-SO_PRIORITY = 12
-SO_LINGER = 13
-SO_BSDCOMPAT = 14
-SO_PASSCRED = 16
-SO_PEERCRED = 17
-SO_RCVLOWAT = 18
-SO_SNDLOWAT = 19
-SO_RCVTIMEO = 20
-SO_SNDTIMEO = 21
-SO_SECURITY_AUTHENTICATION = 22
-SO_SECURITY_ENCRYPTION_TRANSPORT = 23
-SO_SECURITY_ENCRYPTION_NETWORK = 24
-SO_BINDTODEVICE = 25
-SO_ATTACH_FILTER = 26
-SO_DETACH_FILTER = 27
-SO_PEERNAME = 28
-SO_TIMESTAMP = 29
-SCM_TIMESTAMP = SO_TIMESTAMP
-SO_ACCEPTCONN = 30
-SOCK_STREAM = 1
-SOCK_DGRAM = 2
-SOCK_RAW = 3
-SOCK_RDM = 4
-SOCK_SEQPACKET = 5
-SOCK_PACKET = 10
-SOCK_MAX = (SOCK_PACKET+1)
-
-# Included from bits/in.h
-IP_TOS = 1
-IP_TTL = 2
-IP_HDRINCL = 3
-IP_OPTIONS = 4
-IP_ROUTER_ALERT = 5
-IP_RECVOPTS = 6
-IP_RETOPTS = 7
-IP_PKTINFO = 8
-IP_PKTOPTIONS = 9
-IP_PMTUDISC = 10
-IP_MTU_DISCOVER = 10
-IP_RECVERR = 11
-IP_RECVTTL = 12
-IP_RECVTOS = 13
-IP_MULTICAST_IF = 32
-IP_MULTICAST_TTL = 33
-IP_MULTICAST_LOOP = 34
-IP_ADD_MEMBERSHIP = 35
-IP_DROP_MEMBERSHIP = 36
-IP_RECVRETOPTS = IP_RETOPTS
-IP_PMTUDISC_DONT = 0
-IP_PMTUDISC_WANT = 1
-IP_PMTUDISC_DO = 2
-SOL_IP = 0
-IP_DEFAULT_MULTICAST_TTL = 1
-IP_DEFAULT_MULTICAST_LOOP = 1
-IP_MAX_MEMBERSHIPS = 20
-IPV6_ADDRFORM = 1
-IPV6_PKTINFO = 2
-IPV6_HOPOPTS = 3
-IPV6_DSTOPTS = 4
-IPV6_RTHDR = 5
-IPV6_PKTOPTIONS = 6
-IPV6_CHECKSUM = 7
-IPV6_HOPLIMIT = 8
-IPV6_NEXTHOP = 9
-IPV6_AUTHHDR = 10
-IPV6_UNICAST_HOPS = 16
-IPV6_MULTICAST_IF = 17
-IPV6_MULTICAST_HOPS = 18
-IPV6_MULTICAST_LOOP = 19
-IPV6_JOIN_GROUP = 20
-IPV6_LEAVE_GROUP = 21
-IPV6_ROUTER_ALERT = 22
-IPV6_MTU_DISCOVER = 23
-IPV6_MTU = 24
-IPV6_RECVERR = 25
-IPV6_RXHOPOPTS = IPV6_HOPOPTS
-IPV6_RXDSTOPTS = IPV6_DSTOPTS
-IPV6_ADD_MEMBERSHIP = IPV6_JOIN_GROUP
-IPV6_DROP_MEMBERSHIP = IPV6_LEAVE_GROUP
-IPV6_PMTUDISC_DONT = 0
-IPV6_PMTUDISC_WANT = 1
-IPV6_PMTUDISC_DO = 2
-SOL_IPV6 = 41
-SOL_ICMPV6 = 58
-IPV6_RTHDR_LOOSE = 0
-IPV6_RTHDR_STRICT = 1
-IPV6_RTHDR_TYPE_0 = 0
-
-# Included from endian.h
-_ENDIAN_H = 1
-__LITTLE_ENDIAN = 1234
-__BIG_ENDIAN = 4321
-__PDP_ENDIAN = 3412
-
-# Included from bits/endian.h
-__BYTE_ORDER = __LITTLE_ENDIAN
-__FLOAT_WORD_ORDER = __BYTE_ORDER
-LITTLE_ENDIAN = __LITTLE_ENDIAN
-BIG_ENDIAN = __BIG_ENDIAN
-PDP_ENDIAN = __PDP_ENDIAN
-BYTE_ORDER = __BYTE_ORDER
-
-# Included from bits/byteswap.h
-_BITS_BYTESWAP_H = 1
-def __bswap_constant_16(x): return \
-
-def __bswap_16(x): return \
-
-def __bswap_16(x): return __bswap_constant_16 (x)
-
-def __bswap_constant_32(x): return \
-
-def __bswap_32(x): return \
-
-def __bswap_32(x): return \
-
-def __bswap_32(x): return __bswap_constant_32 (x)
-
-def __bswap_constant_64(x): return \
-
-def __bswap_64(x): return \
-
-def ntohl(x): return (x)
-
-def ntohs(x): return (x)
-
-def htonl(x): return (x)
-
-def htons(x): return (x)
-
-def ntohl(x): return __bswap_32 (x)
-
-def ntohs(x): return __bswap_16 (x)
-
-def htonl(x): return __bswap_32 (x)
-
-def htons(x): return __bswap_16 (x)
-
-def IN6_IS_ADDR_UNSPECIFIED(a): return \
-
-def IN6_IS_ADDR_LOOPBACK(a): return \
-
-def IN6_IS_ADDR_LINKLOCAL(a): return \
-
-def IN6_IS_ADDR_SITELOCAL(a): return \
-
-def IN6_IS_ADDR_V4MAPPED(a): return \
-
-def IN6_IS_ADDR_V4COMPAT(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
diff --git a/Lib/plat-linux/TYPES.py b/Lib/plat-linux/TYPES.py
deleted file mode 100644
index e7a324b..0000000
--- a/Lib/plat-linux/TYPES.py
+++ /dev/null
@@ -1,170 +0,0 @@
-# Generated by h2py from /usr/include/sys/types.h
-_SYS_TYPES_H = 1
-
-# Included from features.h
-_FEATURES_H = 1
-__USE_ANSI = 1
-__FAVOR_BSD = 1
-_ISOC99_SOURCE = 1
-_POSIX_SOURCE = 1
-_POSIX_C_SOURCE = 199506
-_XOPEN_SOURCE = 600
-_XOPEN_SOURCE_EXTENDED = 1
-_LARGEFILE64_SOURCE = 1
-_BSD_SOURCE = 1
-_SVID_SOURCE = 1
-_BSD_SOURCE = 1
-_SVID_SOURCE = 1
-__USE_ISOC99 = 1
-_POSIX_SOURCE = 1
-_POSIX_C_SOURCE = 2
-_POSIX_C_SOURCE = 199506
-__USE_POSIX = 1
-__USE_POSIX2 = 1
-__USE_POSIX199309 = 1
-__USE_POSIX199506 = 1
-__USE_XOPEN = 1
-__USE_XOPEN_EXTENDED = 1
-__USE_UNIX98 = 1
-_LARGEFILE_SOURCE = 1
-__USE_XOPEN2K = 1
-__USE_ISOC99 = 1
-__USE_XOPEN_EXTENDED = 1
-__USE_LARGEFILE = 1
-__USE_LARGEFILE64 = 1
-__USE_FILE_OFFSET64 = 1
-__USE_MISC = 1
-__USE_BSD = 1
-__USE_SVID = 1
-__USE_GNU = 1
-__USE_REENTRANT = 1
-__STDC_IEC_559__ = 1
-__STDC_IEC_559_COMPLEX__ = 1
-__STDC_ISO_10646__ = 200009
-__GNU_LIBRARY__ = 6
-__GLIBC__ = 2
-__GLIBC_MINOR__ = 2
-
-# Included from sys/cdefs.h
-_SYS_CDEFS_H = 1
-def __PMT(args): return args
-
-def __P(args): return args
-
-def __PMT(args): return args
-
-def __STRING(x): return #x
-
-__flexarr = []
-__flexarr = [0]
-__flexarr = []
-__flexarr = [1]
-def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
-
-def __attribute__(xyz): return
-
-def __attribute_format_arg__(x): return __attribute__ ((__format_arg__ (x)))
-
-def __attribute_format_arg__(x): return
-
-__USE_LARGEFILE = 1
-__USE_LARGEFILE64 = 1
-__USE_EXTERN_INLINES = 1
-
-# Included from gnu/stubs.h
-
-# Included from bits/types.h
-_BITS_TYPES_H = 1
-__FD_SETSIZE = 1024
-
-# Included from bits/pthreadtypes.h
-_BITS_PTHREADTYPES_H = 1
-
-# Included from bits/sched.h
-SCHED_OTHER = 0
-SCHED_FIFO = 1
-SCHED_RR = 2
-CSIGNAL = 0x000000ff
-CLONE_VM = 0x00000100
-CLONE_FS = 0x00000200
-CLONE_FILES = 0x00000400
-CLONE_SIGHAND = 0x00000800
-CLONE_PID = 0x00001000
-CLONE_PTRACE = 0x00002000
-CLONE_VFORK = 0x00004000
-__defined_schedparam = 1
-
-# Included from time.h
-_TIME_H = 1
-
-# Included from bits/time.h
-_BITS_TIME_H = 1
-CLOCKS_PER_SEC = 1000000
-CLOCK_REALTIME = 0
-CLOCK_PROCESS_CPUTIME_ID = 2
-CLOCK_THREAD_CPUTIME_ID = 3
-TIMER_ABSTIME = 1
-_STRUCT_TIMEVAL = 1
-CLK_TCK = CLOCKS_PER_SEC
-__clock_t_defined = 1
-__time_t_defined = 1
-__clockid_t_defined = 1
-__timer_t_defined = 1
-__timespec_defined = 1
-def __isleap(year): return \
-
-__BIT_TYPES_DEFINED__ = 1
-
-# Included from endian.h
-_ENDIAN_H = 1
-__LITTLE_ENDIAN = 1234
-__BIG_ENDIAN = 4321
-__PDP_ENDIAN = 3412
-
-# Included from bits/endian.h
-__BYTE_ORDER = __LITTLE_ENDIAN
-__FLOAT_WORD_ORDER = __BYTE_ORDER
-LITTLE_ENDIAN = __LITTLE_ENDIAN
-BIG_ENDIAN = __BIG_ENDIAN
-PDP_ENDIAN = __PDP_ENDIAN
-BYTE_ORDER = __BYTE_ORDER
-
-# Included from sys/select.h
-_SYS_SELECT_H = 1
-
-# Included from bits/select.h
-def __FD_ZERO(fdsp): return \
-
-def __FD_ZERO(set): return \
-
-
-# Included from bits/sigset.h
-_SIGSET_H_types = 1
-_SIGSET_H_fns = 1
-def __sigmask(sig): return \
-
-def __sigemptyset(set): return \
-
-def __sigfillset(set): return \
-
-def __sigisemptyset(set): return \
-
-def __FDELT(d): return ((d) / __NFDBITS)
-
-FD_SETSIZE = __FD_SETSIZE
-def FD_ZERO(fdsetp): return __FD_ZERO (fdsetp)
-
-
-# Included from sys/sysmacros.h
-_SYS_SYSMACROS_H = 1
-def major(dev): return ((int)(((dev) >> 8) & 0xff))
-
-def minor(dev): return ((int)((dev) & 0xff))
-
-def major(dev): return (((dev).__val[1] >> 8) & 0xff)
-
-def minor(dev): return ((dev).__val[1] & 0xff)
-
-def major(dev): return (((dev).__val[0] >> 8) & 0xff)
-
-def minor(dev): return ((dev).__val[0] & 0xff)
diff --git a/Lib/plat-linux/regen b/Lib/plat-linux/regen
deleted file mode 100755
index 10633cb..0000000
--- a/Lib/plat-linux/regen
+++ /dev/null
@@ -1,33 +0,0 @@
-#! /bin/sh
-case `uname` in
-Linux*|GNU*) ;;
-*) echo Probably not on a Linux system 1>&2
- exit 1;;
-esac
-if [ -z "$CC" ]; then
- echo >&2 "$(basename $0): CC is not set"
- exit 1
-fi
-headers="sys/types.h netinet/in.h dlfcn.h"
-incdirs="$(echo $($CC -v -E - < /dev/null 2>&1|awk '/^#include/, /^End of search/' | grep '^ '))"
-if [ -z "$incdirs" ]; then
- incdirs="/usr/include"
-fi
-for h in $headers; do
- absh=
- for d in $incdirs; do
- if [ -f "$d/$h" ]; then
- absh="$d/$h"
- break
- fi
- done
- if [ -n "$absh" ]; then
- absheaders="$absheaders $absh"
- else
- echo >&2 "$(basename $0): header $h not found"
- exit 1
- fi
-done
-
-set -x
-${H2PY:-h2py} -i '(u_long)' $absheaders
diff --git a/Lib/plat-netbsd1/IN.py b/Lib/plat-netbsd1/IN.py
deleted file mode 100644
index 474c51e..0000000
--- a/Lib/plat-netbsd1/IN.py
+++ /dev/null
@@ -1,56 +0,0 @@
-# Generated by h2py from /usr/include/netinet/in.h
-IPPROTO_IP = 0
-IPPROTO_ICMP = 1
-IPPROTO_IGMP = 2
-IPPROTO_GGP = 3
-IPPROTO_IPIP = 4
-IPPROTO_TCP = 6
-IPPROTO_EGP = 8
-IPPROTO_PUP = 12
-IPPROTO_UDP = 17
-IPPROTO_IDP = 22
-IPPROTO_TP = 29
-IPPROTO_EON = 80
-IPPROTO_ENCAP = 98
-IPPROTO_RAW = 255
-IPPROTO_MAX = 256
-IPPORT_RESERVED = 1024
-IPPORT_USERRESERVED = 5000
-def __IPADDR(x): return ((u_int32_t)(x))
-
-IN_CLASSA_NSHIFT = 24
-IN_CLASSA_MAX = 128
-IN_CLASSB_NSHIFT = 16
-IN_CLASSB_MAX = 65536
-IN_CLASSC_NSHIFT = 8
-IN_CLASSD_NSHIFT = 28
-def IN_MULTICAST(i): return IN_CLASSD(i)
-
-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_RETOPTS = 8
-IP_MULTICAST_IF = 9
-IP_MULTICAST_TTL = 10
-IP_MULTICAST_LOOP = 11
-IP_ADD_MEMBERSHIP = 12
-IP_DROP_MEMBERSHIP = 13
-IP_RECVIF = 20
-IP_DEFAULT_MULTICAST_TTL = 1
-IP_DEFAULT_MULTICAST_LOOP = 1
-IP_MAX_MEMBERSHIPS = 20
-IPPROTO_MAXID = (IPPROTO_IDP + 1)
-IPCTL_FORWARDING = 1
-IPCTL_SENDREDIRECTS = 2
-IPCTL_DEFTTL = 3
-IPCTL_DEFMTU = 4
-IPCTL_FORWSRCRT = 5
-IPCTL_DIRECTEDBCAST = 6
-IPCTL_ALLOWSRCRT = 7
-IPCTL_MAXID = 8
-def in_nullhost(x): return ((x).s_addr == INADDR_ANY)
diff --git a/Lib/plat-netbsd1/regen b/Lib/plat-netbsd1/regen
deleted file mode 100755
index 8aa6898..0000000
--- a/Lib/plat-netbsd1/regen
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-set -v
-python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/Lib/plat-next3/regen b/Lib/plat-next3/regen
deleted file mode 100755
index 7a03613..0000000
--- a/Lib/plat-next3/regen
+++ /dev/null
@@ -1,6 +0,0 @@
-#! /bin/sh
-set -v
-INCLUDE="/NextDeveloper/Headers;/NextDeveloper/Headers/ansi;/NextDeveloper/Headers/bsd"
-export INCLUDE
-
-python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/bsd/netinet/in.h
diff --git a/Lib/plat-sunos5/CDIO.py b/Lib/plat-sunos5/CDIO.py
deleted file mode 100644
index d766b50..0000000
--- a/Lib/plat-sunos5/CDIO.py
+++ /dev/null
@@ -1,73 +0,0 @@
-# Generated by h2py from /usr/include/sys/cdio.h
-CDROM_LBA = 0x01
-CDROM_MSF = 0x02
-CDROM_DATA_TRACK = 0x04
-CDROM_LEADOUT = 0xAA
-CDROM_AUDIO_INVALID = 0x00
-CDROM_AUDIO_PLAY = 0x11
-CDROM_AUDIO_PAUSED = 0x12
-CDROM_AUDIO_COMPLETED = 0x13
-CDROM_AUDIO_ERROR = 0x14
-CDROM_AUDIO_NO_STATUS = 0x15
-CDROM_DA_NO_SUBCODE = 0x00
-CDROM_DA_SUBQ = 0x01
-CDROM_DA_ALL_SUBCODE = 0x02
-CDROM_DA_SUBCODE_ONLY = 0x03
-CDROM_XA_DATA = 0x00
-CDROM_XA_SECTOR_DATA = 0x01
-CDROM_XA_DATA_W_ERROR = 0x02
-CDROM_BLK_512 = 512
-CDROM_BLK_1024 = 1024
-CDROM_BLK_2048 = 2048
-CDROM_BLK_2056 = 2056
-CDROM_BLK_2336 = 2336
-CDROM_BLK_2340 = 2340
-CDROM_BLK_2352 = 2352
-CDROM_BLK_2368 = 2368
-CDROM_BLK_2448 = 2448
-CDROM_BLK_2646 = 2646
-CDROM_BLK_2647 = 2647
-CDROM_BLK_SUBCODE = 96
-CDROM_NORMAL_SPEED = 0x00
-CDROM_DOUBLE_SPEED = 0x01
-CDROM_QUAD_SPEED = 0x03
-CDROM_TWELVE_SPEED = 0x0C
-CDROM_MAXIMUM_SPEED = 0xff
-CDIOC = (0x04 << 8)
-CDROMPAUSE = (CDIOC|151)
-CDROMRESUME = (CDIOC|152)
-CDROMPLAYMSF = (CDIOC|153)
-CDROMPLAYTRKIND = (CDIOC|154)
-CDROMREADTOCHDR = (CDIOC|155)
-CDROMREADTOCENTRY = (CDIOC|156)
-CDROMSTOP = (CDIOC|157)
-CDROMSTART = (CDIOC|158)
-CDROMEJECT = (CDIOC|159)
-CDROMVOLCTRL = (CDIOC|160)
-CDROMSUBCHNL = (CDIOC|161)
-CDROMREADMODE2 = (CDIOC|162)
-CDROMREADMODE1 = (CDIOC|163)
-CDROMREADOFFSET = (CDIOC|164)
-CDROMGBLKMODE = (CDIOC|165)
-CDROMSBLKMODE = (CDIOC|166)
-CDROMCDDA = (CDIOC|167)
-CDROMCDXA = (CDIOC|168)
-CDROMSUBCODE = (CDIOC|169)
-CDROMGDRVSPEED = (CDIOC|170)
-CDROMSDRVSPEED = (CDIOC|171)
-SCMD_READ_TOC = 0x43
-SCMD_PLAYAUDIO_MSF = 0x47
-SCMD_PLAYAUDIO_TI = 0x48
-SCMD_PAUSE_RESUME = 0x4B
-SCMD_READ_SUBCHANNEL = 0x42
-SCMD_PLAYAUDIO10 = 0x45
-SCMD_PLAYTRACK_REL10 = 0x49
-SCMD_READ_HEADER = 0x44
-SCMD_PLAYAUDIO12 = 0xA5
-SCMD_PLAYTRACK_REL12 = 0xA9
-SCMD_CD_PLAYBACK_CONTROL = 0xC9
-SCMD_CD_PLAYBACK_STATUS = 0xC4
-SCMD_READ_CDDA = 0xD8
-SCMD_READ_CDXA = 0xDB
-SCMD_READ_ALL_SUBCODES = 0xDF
-CDROM_MODE2_SIZE = 2336
diff --git a/Lib/plat-sunos5/DLFCN.py b/Lib/plat-sunos5/DLFCN.py
deleted file mode 100644
index f492350..0000000
--- a/Lib/plat-sunos5/DLFCN.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# Generated by h2py from /usr/include/dlfcn.h
-from TYPES import *
-RTLD_LAZY = 0x00001
-RTLD_NOW = 0x00002
-RTLD_NOLOAD = 0x00004
-RTLD_GLOBAL = 0x00100
-RTLD_LOCAL = 0x00000
-RTLD_PARENT = 0x00200
-RTLD_GROUP = 0x00400
-RTLD_WORLD = 0x00800
-RTLD_NODELETE = 0x01000
-RTLD_CONFGEN = 0x10000
-RTLD_REL_RELATIVE = 0x00001
-RTLD_REL_EXEC = 0x00002
-RTLD_REL_DEPENDS = 0x00004
-RTLD_REL_PRELOAD = 0x00008
-RTLD_REL_SELF = 0x00010
-RTLD_REL_WEAK = 0x00020
-RTLD_REL_ALL = 0x00fff
-RTLD_MEMORY = 0x01000
-RTLD_STRIP = 0x02000
-RTLD_NOHEAP = 0x04000
-RTLD_CONFSET = 0x10000
-RTLD_DI_LMID = 1
-RTLD_DI_LINKMAP = 2
-RTLD_DI_CONFIGADDR = 3
-RTLD_DI_MAX = 3
diff --git a/Lib/plat-sunos5/IN.py b/Lib/plat-sunos5/IN.py
deleted file mode 100644
index 9572ead..0000000
--- a/Lib/plat-sunos5/IN.py
+++ /dev/null
@@ -1,1421 +0,0 @@
-# Generated by h2py from /usr/include/netinet/in.h
-
-# Included from sys/feature_tests.h
-
-# Included from sys/isa_defs.h
-_CHAR_ALIGNMENT = 1
-_SHORT_ALIGNMENT = 2
-_INT_ALIGNMENT = 4
-_LONG_ALIGNMENT = 8
-_LONG_LONG_ALIGNMENT = 8
-_DOUBLE_ALIGNMENT = 8
-_LONG_DOUBLE_ALIGNMENT = 16
-_POINTER_ALIGNMENT = 8
-_MAX_ALIGNMENT = 16
-_ALIGNMENT_REQUIRED = 1
-_CHAR_ALIGNMENT = 1
-_SHORT_ALIGNMENT = 2
-_INT_ALIGNMENT = 4
-_LONG_ALIGNMENT = 4
-_LONG_LONG_ALIGNMENT = 4
-_DOUBLE_ALIGNMENT = 4
-_LONG_DOUBLE_ALIGNMENT = 4
-_POINTER_ALIGNMENT = 4
-_MAX_ALIGNMENT = 4
-_ALIGNMENT_REQUIRED = 0
-_CHAR_ALIGNMENT = 1
-_SHORT_ALIGNMENT = 2
-_INT_ALIGNMENT = 4
-_LONG_LONG_ALIGNMENT = 8
-_DOUBLE_ALIGNMENT = 8
-_ALIGNMENT_REQUIRED = 1
-_LONG_ALIGNMENT = 4
-_LONG_DOUBLE_ALIGNMENT = 8
-_POINTER_ALIGNMENT = 4
-_MAX_ALIGNMENT = 8
-_LONG_ALIGNMENT = 8
-_LONG_DOUBLE_ALIGNMENT = 16
-_POINTER_ALIGNMENT = 8
-_MAX_ALIGNMENT = 16
-_POSIX_C_SOURCE = 1
-_LARGEFILE64_SOURCE = 1
-_LARGEFILE_SOURCE = 1
-_FILE_OFFSET_BITS = 64
-_FILE_OFFSET_BITS = 32
-_POSIX_C_SOURCE = 199506
-_POSIX_PTHREAD_SEMANTICS = 1
-_XOPEN_VERSION = 500
-_XOPEN_VERSION = 4
-_XOPEN_VERSION = 3
-from TYPES import *
-
-# Included from sys/stream.h
-
-# Included from sys/vnode.h
-from TYPES import *
-
-# Included from sys/t_lock.h
-
-# Included from sys/machlock.h
-from TYPES import *
-LOCK_HELD_VALUE = 0xff
-def SPIN_LOCK(pl): return ((pl) > ipltospl(LOCK_LEVEL))
-
-def LOCK_SAMPLE_INTERVAL(i): return (((i) & 0xff) == 0)
-
-CLOCK_LEVEL = 10
-LOCK_LEVEL = 10
-DISP_LEVEL = (LOCK_LEVEL + 1)
-PTR24_LSB = 5
-PTR24_MSB = (PTR24_LSB + 24)
-PTR24_ALIGN = 32
-PTR24_BASE = 0xe0000000
-
-# Included from sys/param.h
-from TYPES import *
-_POSIX_VDISABLE = 0
-MAX_INPUT = 512
-MAX_CANON = 256
-UID_NOBODY = 60001
-GID_NOBODY = UID_NOBODY
-UID_NOACCESS = 60002
-MAX_TASKID = 999999
-MAX_MAXPID = 999999
-DEFAULT_MAXPID = 999999
-DEFAULT_JUMPPID = 100000
-DEFAULT_MAXPID = 30000
-DEFAULT_JUMPPID = 0
-MAXUID = 2147483647
-MAXPROJID = MAXUID
-MAXLINK = 32767
-NMOUNT = 40
-CANBSIZ = 256
-NOFILE = 20
-NGROUPS_UMIN = 0
-NGROUPS_UMAX = 32
-NGROUPS_MAX_DEFAULT = 16
-NZERO = 20
-NULL = 0
-NULL = 0
-CMASK = 0o22
-CDLIMIT = (1<<11)
-NBPS = 0x20000
-NBPSCTR = 512
-UBSIZE = 512
-SCTRSHFT = 9
-SYSNAME = 9
-PREMOTE = 39
-MAXPATHLEN = 1024
-MAXSYMLINKS = 20
-MAXNAMELEN = 256
-NADDR = 13
-PIPE_BUF = 5120
-PIPE_MAX = 5120
-NBBY = 8
-MAXBSIZE = 8192
-DEV_BSIZE = 512
-DEV_BSHIFT = 9
-MAXFRAG = 8
-MAXOFF32_T = 0x7fffffff
-MAXOFF_T = 0x7fffffffffffffff
-MAXOFFSET_T = 0x7fffffffffffffff
-MAXOFF_T = 0x7fffffff
-MAXOFFSET_T = 0x7fffffff
-def btodb(bytes): return \
-
-def dbtob(db): return \
-
-def lbtodb(bytes): return \
-
-def ldbtob(db): return \
-
-NCARGS32 = 0x100000
-NCARGS64 = 0x200000
-NCARGS = NCARGS64
-NCARGS = NCARGS32
-FSHIFT = 8
-FSCALE = (1<<FSHIFT)
-def DELAY(n): return drv_usecwait(n)
-
-def mmu_ptob(x): return ((x) << MMU_PAGESHIFT)
-
-def mmu_btop(x): return (((x)) >> MMU_PAGESHIFT)
-
-def mmu_btopr(x): return ((((x) + MMU_PAGEOFFSET) >> MMU_PAGESHIFT))
-
-def mmu_ptod(x): return ((x) << (MMU_PAGESHIFT - DEV_BSHIFT))
-
-def ptod(x): return ((x) << (PAGESHIFT - DEV_BSHIFT))
-
-def ptob(x): return ((x) << PAGESHIFT)
-
-def btop(x): return (((x) >> PAGESHIFT))
-
-def btopr(x): return ((((x) + PAGEOFFSET) >> PAGESHIFT))
-
-def dtop(DD): return (((DD) + NDPP - 1) >> (PAGESHIFT - DEV_BSHIFT))
-
-def dtopt(DD): return ((DD) >> (PAGESHIFT - DEV_BSHIFT))
-
-_AIO_LISTIO_MAX = (4096)
-_AIO_MAX = (-1)
-_MQ_OPEN_MAX = (32)
-_MQ_PRIO_MAX = (32)
-_SEM_NSEMS_MAX = INT_MAX
-_SEM_VALUE_MAX = INT_MAX
-
-# Included from sys/unistd.h
-_CS_PATH = 65
-_CS_LFS_CFLAGS = 68
-_CS_LFS_LDFLAGS = 69
-_CS_LFS_LIBS = 70
-_CS_LFS_LINTFLAGS = 71
-_CS_LFS64_CFLAGS = 72
-_CS_LFS64_LDFLAGS = 73
-_CS_LFS64_LIBS = 74
-_CS_LFS64_LINTFLAGS = 75
-_CS_XBS5_ILP32_OFF32_CFLAGS = 700
-_CS_XBS5_ILP32_OFF32_LDFLAGS = 701
-_CS_XBS5_ILP32_OFF32_LIBS = 702
-_CS_XBS5_ILP32_OFF32_LINTFLAGS = 703
-_CS_XBS5_ILP32_OFFBIG_CFLAGS = 705
-_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 706
-_CS_XBS5_ILP32_OFFBIG_LIBS = 707
-_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 708
-_CS_XBS5_LP64_OFF64_CFLAGS = 709
-_CS_XBS5_LP64_OFF64_LDFLAGS = 710
-_CS_XBS5_LP64_OFF64_LIBS = 711
-_CS_XBS5_LP64_OFF64_LINTFLAGS = 712
-_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 713
-_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 714
-_CS_XBS5_LPBIG_OFFBIG_LIBS = 715
-_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 716
-_SC_ARG_MAX = 1
-_SC_CHILD_MAX = 2
-_SC_CLK_TCK = 3
-_SC_NGROUPS_MAX = 4
-_SC_OPEN_MAX = 5
-_SC_JOB_CONTROL = 6
-_SC_SAVED_IDS = 7
-_SC_VERSION = 8
-_SC_PASS_MAX = 9
-_SC_LOGNAME_MAX = 10
-_SC_PAGESIZE = 11
-_SC_XOPEN_VERSION = 12
-_SC_NPROCESSORS_CONF = 14
-_SC_NPROCESSORS_ONLN = 15
-_SC_STREAM_MAX = 16
-_SC_TZNAME_MAX = 17
-_SC_AIO_LISTIO_MAX = 18
-_SC_AIO_MAX = 19
-_SC_AIO_PRIO_DELTA_MAX = 20
-_SC_ASYNCHRONOUS_IO = 21
-_SC_DELAYTIMER_MAX = 22
-_SC_FSYNC = 23
-_SC_MAPPED_FILES = 24
-_SC_MEMLOCK = 25
-_SC_MEMLOCK_RANGE = 26
-_SC_MEMORY_PROTECTION = 27
-_SC_MESSAGE_PASSING = 28
-_SC_MQ_OPEN_MAX = 29
-_SC_MQ_PRIO_MAX = 30
-_SC_PRIORITIZED_IO = 31
-_SC_PRIORITY_SCHEDULING = 32
-_SC_REALTIME_SIGNALS = 33
-_SC_RTSIG_MAX = 34
-_SC_SEMAPHORES = 35
-_SC_SEM_NSEMS_MAX = 36
-_SC_SEM_VALUE_MAX = 37
-_SC_SHARED_MEMORY_OBJECTS = 38
-_SC_SIGQUEUE_MAX = 39
-_SC_SIGRT_MIN = 40
-_SC_SIGRT_MAX = 41
-_SC_SYNCHRONIZED_IO = 42
-_SC_TIMERS = 43
-_SC_TIMER_MAX = 44
-_SC_2_C_BIND = 45
-_SC_2_C_DEV = 46
-_SC_2_C_VERSION = 47
-_SC_2_FORT_DEV = 48
-_SC_2_FORT_RUN = 49
-_SC_2_LOCALEDEF = 50
-_SC_2_SW_DEV = 51
-_SC_2_UPE = 52
-_SC_2_VERSION = 53
-_SC_BC_BASE_MAX = 54
-_SC_BC_DIM_MAX = 55
-_SC_BC_SCALE_MAX = 56
-_SC_BC_STRING_MAX = 57
-_SC_COLL_WEIGHTS_MAX = 58
-_SC_EXPR_NEST_MAX = 59
-_SC_LINE_MAX = 60
-_SC_RE_DUP_MAX = 61
-_SC_XOPEN_CRYPT = 62
-_SC_XOPEN_ENH_I18N = 63
-_SC_XOPEN_SHM = 64
-_SC_2_CHAR_TERM = 66
-_SC_XOPEN_XCU_VERSION = 67
-_SC_ATEXIT_MAX = 76
-_SC_IOV_MAX = 77
-_SC_XOPEN_UNIX = 78
-_SC_PAGE_SIZE = _SC_PAGESIZE
-_SC_T_IOV_MAX = 79
-_SC_PHYS_PAGES = 500
-_SC_AVPHYS_PAGES = 501
-_SC_COHER_BLKSZ = 503
-_SC_SPLIT_CACHE = 504
-_SC_ICACHE_SZ = 505
-_SC_DCACHE_SZ = 506
-_SC_ICACHE_LINESZ = 507
-_SC_DCACHE_LINESZ = 508
-_SC_ICACHE_BLKSZ = 509
-_SC_DCACHE_BLKSZ = 510
-_SC_DCACHE_TBLKSZ = 511
-_SC_ICACHE_ASSOC = 512
-_SC_DCACHE_ASSOC = 513
-_SC_MAXPID = 514
-_SC_STACK_PROT = 515
-_SC_THREAD_DESTRUCTOR_ITERATIONS = 568
-_SC_GETGR_R_SIZE_MAX = 569
-_SC_GETPW_R_SIZE_MAX = 570
-_SC_LOGIN_NAME_MAX = 571
-_SC_THREAD_KEYS_MAX = 572
-_SC_THREAD_STACK_MIN = 573
-_SC_THREAD_THREADS_MAX = 574
-_SC_TTY_NAME_MAX = 575
-_SC_THREADS = 576
-_SC_THREAD_ATTR_STACKADDR = 577
-_SC_THREAD_ATTR_STACKSIZE = 578
-_SC_THREAD_PRIORITY_SCHEDULING = 579
-_SC_THREAD_PRIO_INHERIT = 580
-_SC_THREAD_PRIO_PROTECT = 581
-_SC_THREAD_PROCESS_SHARED = 582
-_SC_THREAD_SAFE_FUNCTIONS = 583
-_SC_XOPEN_LEGACY = 717
-_SC_XOPEN_REALTIME = 718
-_SC_XOPEN_REALTIME_THREADS = 719
-_SC_XBS5_ILP32_OFF32 = 720
-_SC_XBS5_ILP32_OFFBIG = 721
-_SC_XBS5_LP64_OFF64 = 722
-_SC_XBS5_LPBIG_OFFBIG = 723
-_PC_LINK_MAX = 1
-_PC_MAX_CANON = 2
-_PC_MAX_INPUT = 3
-_PC_NAME_MAX = 4
-_PC_PATH_MAX = 5
-_PC_PIPE_BUF = 6
-_PC_NO_TRUNC = 7
-_PC_VDISABLE = 8
-_PC_CHOWN_RESTRICTED = 9
-_PC_ASYNC_IO = 10
-_PC_PRIO_IO = 11
-_PC_SYNC_IO = 12
-_PC_FILESIZEBITS = 67
-_PC_LAST = 67
-_POSIX_VERSION = 199506
-_POSIX2_VERSION = 199209
-_POSIX2_C_VERSION = 199209
-_XOPEN_XCU_VERSION = 4
-_XOPEN_REALTIME = 1
-_XOPEN_ENH_I18N = 1
-_XOPEN_SHM = 1
-_POSIX2_C_BIND = 1
-_POSIX2_CHAR_TERM = 1
-_POSIX2_LOCALEDEF = 1
-_POSIX2_C_DEV = 1
-_POSIX2_SW_DEV = 1
-_POSIX2_UPE = 1
-
-# Included from sys/mutex.h
-from TYPES import *
-def MUTEX_HELD(x): return (mutex_owned(x))
-
-
-# Included from sys/rwlock.h
-from TYPES import *
-def RW_READ_HELD(x): return (rw_read_held((x)))
-
-def RW_WRITE_HELD(x): return (rw_write_held((x)))
-
-def RW_LOCK_HELD(x): return (rw_lock_held((x)))
-
-def RW_ISWRITER(x): return (rw_iswriter(x))
-
-
-# Included from sys/semaphore.h
-
-# Included from sys/thread.h
-from TYPES import *
-
-# Included from sys/klwp.h
-from TYPES import *
-
-# Included from sys/condvar.h
-from TYPES import *
-
-# Included from sys/time.h
-
-# Included from sys/types32.h
-
-# Included from sys/int_types.h
-TIME32_MAX = INT32_MAX
-TIME32_MIN = INT32_MIN
-def TIMEVAL_OVERFLOW(tv): return \
-
-from TYPES import *
-DST_NONE = 0
-DST_USA = 1
-DST_AUST = 2
-DST_WET = 3
-DST_MET = 4
-DST_EET = 5
-DST_CAN = 6
-DST_GB = 7
-DST_RUM = 8
-DST_TUR = 9
-DST_AUSTALT = 10
-ITIMER_REAL = 0
-ITIMER_VIRTUAL = 1
-ITIMER_PROF = 2
-ITIMER_REALPROF = 3
-def ITIMERVAL_OVERFLOW(itv): return \
-
-SEC = 1
-MILLISEC = 1000
-MICROSEC = 1000000
-NANOSEC = 1000000000
-
-# Included from sys/time_impl.h
-def TIMESPEC_OVERFLOW(ts): return \
-
-def ITIMERSPEC_OVERFLOW(it): return \
-
-__CLOCK_REALTIME0 = 0
-CLOCK_VIRTUAL = 1
-CLOCK_PROF = 2
-__CLOCK_REALTIME3 = 3
-CLOCK_HIGHRES = 4
-CLOCK_MAX = 5
-CLOCK_REALTIME = __CLOCK_REALTIME3
-CLOCK_REALTIME = __CLOCK_REALTIME0
-TIMER_RELTIME = 0x0
-TIMER_ABSTIME = 0x1
-def TICK_TO_SEC(tick): return ((tick) / hz)
-
-def SEC_TO_TICK(sec): return ((sec) * hz)
-
-def TICK_TO_MSEC(tick): return \
-
-def MSEC_TO_TICK(msec): return \
-
-def MSEC_TO_TICK_ROUNDUP(msec): return \
-
-def TICK_TO_USEC(tick): return ((tick) * usec_per_tick)
-
-def USEC_TO_TICK(usec): return ((usec) / usec_per_tick)
-
-def USEC_TO_TICK_ROUNDUP(usec): return \
-
-def TICK_TO_NSEC(tick): return ((tick) * nsec_per_tick)
-
-def NSEC_TO_TICK(nsec): return ((nsec) / nsec_per_tick)
-
-def NSEC_TO_TICK_ROUNDUP(nsec): return \
-
-def TIMEVAL_TO_TICK(tvp): return \
-
-def TIMESTRUC_TO_TICK(tsp): return \
-
-
-# Included from time.h
-from TYPES import *
-
-# Included from iso/time_iso.h
-NULL = 0
-NULL = 0
-CLOCKS_PER_SEC = 1000000
-
-# Included from sys/select.h
-FD_SETSIZE = 65536
-FD_SETSIZE = 1024
-_NBBY = 8
-NBBY = _NBBY
-def FD_ZERO(p): return bzero((p), sizeof (*(p)))
-
-
-# Included from sys/signal.h
-
-# Included from sys/iso/signal_iso.h
-SIGHUP = 1
-SIGINT = 2
-SIGQUIT = 3
-SIGILL = 4
-SIGTRAP = 5
-SIGIOT = 6
-SIGABRT = 6
-SIGEMT = 7
-SIGFPE = 8
-SIGKILL = 9
-SIGBUS = 10
-SIGSEGV = 11
-SIGSYS = 12
-SIGPIPE = 13
-SIGALRM = 14
-SIGTERM = 15
-SIGUSR1 = 16
-SIGUSR2 = 17
-SIGCLD = 18
-SIGCHLD = 18
-SIGPWR = 19
-SIGWINCH = 20
-SIGURG = 21
-SIGPOLL = 22
-SIGIO = SIGPOLL
-SIGSTOP = 23
-SIGTSTP = 24
-SIGCONT = 25
-SIGTTIN = 26
-SIGTTOU = 27
-SIGVTALRM = 28
-SIGPROF = 29
-SIGXCPU = 30
-SIGXFSZ = 31
-SIGWAITING = 32
-SIGLWP = 33
-SIGFREEZE = 34
-SIGTHAW = 35
-SIGCANCEL = 36
-SIGLOST = 37
-_SIGRTMIN = 38
-_SIGRTMAX = 45
-SIG_BLOCK = 1
-SIG_UNBLOCK = 2
-SIG_SETMASK = 3
-SIGNO_MASK = 0xFF
-SIGDEFER = 0x100
-SIGHOLD = 0x200
-SIGRELSE = 0x400
-SIGIGNORE = 0x800
-SIGPAUSE = 0x1000
-
-# Included from sys/siginfo.h
-from TYPES import *
-SIGEV_NONE = 1
-SIGEV_SIGNAL = 2
-SIGEV_THREAD = 3
-SI_NOINFO = 32767
-SI_USER = 0
-SI_LWP = (-1)
-SI_QUEUE = (-2)
-SI_TIMER = (-3)
-SI_ASYNCIO = (-4)
-SI_MESGQ = (-5)
-
-# Included from sys/machsig.h
-ILL_ILLOPC = 1
-ILL_ILLOPN = 2
-ILL_ILLADR = 3
-ILL_ILLTRP = 4
-ILL_PRVOPC = 5
-ILL_PRVREG = 6
-ILL_COPROC = 7
-ILL_BADSTK = 8
-NSIGILL = 8
-EMT_TAGOVF = 1
-EMT_CPCOVF = 2
-NSIGEMT = 2
-FPE_INTDIV = 1
-FPE_INTOVF = 2
-FPE_FLTDIV = 3
-FPE_FLTOVF = 4
-FPE_FLTUND = 5
-FPE_FLTRES = 6
-FPE_FLTINV = 7
-FPE_FLTSUB = 8
-NSIGFPE = 8
-SEGV_MAPERR = 1
-SEGV_ACCERR = 2
-NSIGSEGV = 2
-BUS_ADRALN = 1
-BUS_ADRERR = 2
-BUS_OBJERR = 3
-NSIGBUS = 3
-TRAP_BRKPT = 1
-TRAP_TRACE = 2
-TRAP_RWATCH = 3
-TRAP_WWATCH = 4
-TRAP_XWATCH = 5
-NSIGTRAP = 5
-CLD_EXITED = 1
-CLD_KILLED = 2
-CLD_DUMPED = 3
-CLD_TRAPPED = 4
-CLD_STOPPED = 5
-CLD_CONTINUED = 6
-NSIGCLD = 6
-POLL_IN = 1
-POLL_OUT = 2
-POLL_MSG = 3
-POLL_ERR = 4
-POLL_PRI = 5
-POLL_HUP = 6
-NSIGPOLL = 6
-PROF_SIG = 1
-NSIGPROF = 1
-SI_MAXSZ = 256
-SI_MAXSZ = 128
-
-# Included from sys/time_std_impl.h
-from TYPES import *
-SI32_MAXSZ = 128
-def SI_CANQUEUE(c): return ((c) <= SI_QUEUE)
-
-SA_NOCLDSTOP = 0x00020000
-SA_ONSTACK = 0x00000001
-SA_RESETHAND = 0x00000002
-SA_RESTART = 0x00000004
-SA_SIGINFO = 0x00000008
-SA_NODEFER = 0x00000010
-SA_NOCLDWAIT = 0x00010000
-SA_WAITSIG = 0x00010000
-NSIG = 46
-MAXSIG = 45
-S_SIGNAL = 1
-S_SIGSET = 2
-S_SIGACTION = 3
-S_NONE = 4
-MINSIGSTKSZ = 2048
-SIGSTKSZ = 8192
-SS_ONSTACK = 0x00000001
-SS_DISABLE = 0x00000002
-SN_PROC = 1
-SN_CANCEL = 2
-SN_SEND = 3
-
-# Included from sys/ucontext.h
-from TYPES import *
-
-# Included from sys/regset.h
-REG_CCR = (0)
-REG_PSR = (0)
-REG_PSR = (0)
-REG_PC = (1)
-REG_nPC = (2)
-REG_Y = (3)
-REG_G1 = (4)
-REG_G2 = (5)
-REG_G3 = (6)
-REG_G4 = (7)
-REG_G5 = (8)
-REG_G6 = (9)
-REG_G7 = (10)
-REG_O0 = (11)
-REG_O1 = (12)
-REG_O2 = (13)
-REG_O3 = (14)
-REG_O4 = (15)
-REG_O5 = (16)
-REG_O6 = (17)
-REG_O7 = (18)
-REG_ASI = (19)
-REG_FPRS = (20)
-REG_PS = REG_PSR
-REG_SP = REG_O6
-REG_R0 = REG_O0
-REG_R1 = REG_O1
-_NGREG = 21
-_NGREG = 19
-NGREG = _NGREG
-_NGREG32 = 19
-_NGREG64 = 21
-SPARC_MAXREGWINDOW = 31
-MAXFPQ = 16
-XRS_ID = 0x78727300
-
-# Included from v7/sys/privregs.h
-
-# Included from v7/sys/psr.h
-PSR_CWP = 0x0000001F
-PSR_ET = 0x00000020
-PSR_PS = 0x00000040
-PSR_S = 0x00000080
-PSR_PIL = 0x00000F00
-PSR_EF = 0x00001000
-PSR_EC = 0x00002000
-PSR_RSV = 0x000FC000
-PSR_ICC = 0x00F00000
-PSR_C = 0x00100000
-PSR_V = 0x00200000
-PSR_Z = 0x00400000
-PSR_N = 0x00800000
-PSR_VER = 0x0F000000
-PSR_IMPL = 0xF0000000
-PSL_ALLCC = PSR_ICC
-PSL_USER = (PSR_S)
-PSL_USERMASK = (PSR_ICC)
-PSL_UBITS = (PSR_ICC|PSR_EF)
-def USERMODE(ps): return (((ps) & PSR_PS) == 0)
-
-
-# Included from sys/fsr.h
-FSR_CEXC = 0x0000001f
-FSR_AEXC = 0x000003e0
-FSR_FCC = 0x00000c00
-FSR_PR = 0x00001000
-FSR_QNE = 0x00002000
-FSR_FTT = 0x0001c000
-FSR_VER = 0x000e0000
-FSR_TEM = 0x0f800000
-FSR_RP = 0x30000000
-FSR_RD = 0xc0000000
-FSR_VER_SHIFT = 17
-FSR_FCC1 = 0x00000003
-FSR_FCC2 = 0x0000000C
-FSR_FCC3 = 0x00000030
-FSR_CEXC_NX = 0x00000001
-FSR_CEXC_DZ = 0x00000002
-FSR_CEXC_UF = 0x00000004
-FSR_CEXC_OF = 0x00000008
-FSR_CEXC_NV = 0x00000010
-FSR_AEXC_NX = (0x1 << 5)
-FSR_AEXC_DZ = (0x2 << 5)
-FSR_AEXC_UF = (0x4 << 5)
-FSR_AEXC_OF = (0x8 << 5)
-FSR_AEXC_NV = (0x10 << 5)
-FTT_NONE = 0
-FTT_IEEE = 1
-FTT_UNFIN = 2
-FTT_UNIMP = 3
-FTT_SEQ = 4
-FTT_ALIGN = 5
-FTT_DFAULT = 6
-FSR_FTT_SHIFT = 14
-FSR_FTT_IEEE = (FTT_IEEE << FSR_FTT_SHIFT)
-FSR_FTT_UNFIN = (FTT_UNFIN << FSR_FTT_SHIFT)
-FSR_FTT_UNIMP = (FTT_UNIMP << FSR_FTT_SHIFT)
-FSR_FTT_SEQ = (FTT_SEQ << FSR_FTT_SHIFT)
-FSR_FTT_ALIGN = (FTT_ALIGN << FSR_FTT_SHIFT)
-FSR_FTT_DFAULT = (FTT_DFAULT << FSR_FTT_SHIFT)
-FSR_TEM_NX = (0x1 << 23)
-FSR_TEM_DZ = (0x2 << 23)
-FSR_TEM_UF = (0x4 << 23)
-FSR_TEM_OF = (0x8 << 23)
-FSR_TEM_NV = (0x10 << 23)
-RP_DBLEXT = 0
-RP_SINGLE = 1
-RP_DOUBLE = 2
-RP_RESERVED = 3
-RD_NEAR = 0
-RD_ZER0 = 1
-RD_POSINF = 2
-RD_NEGINF = 3
-FPRS_DL = 0x1
-FPRS_DU = 0x2
-FPRS_FEF = 0x4
-PIL_MAX = 0xf
-def SAVE_GLOBALS(RP): return \
-
-def RESTORE_GLOBALS(RP): return \
-
-def SAVE_OUTS(RP): return \
-
-def RESTORE_OUTS(RP): return \
-
-def SAVE_WINDOW(SBP): return \
-
-def RESTORE_WINDOW(SBP): return \
-
-def STORE_FPREGS(FP): return \
-
-def LOAD_FPREGS(FP): return \
-
-_SPARC_MAXREGWINDOW = 31
-_XRS_ID = 0x78727300
-GETCONTEXT = 0
-SETCONTEXT = 1
-UC_SIGMASK = 0o01
-UC_STACK = 0o02
-UC_CPU = 0o04
-UC_MAU = 0o10
-UC_FPU = UC_MAU
-UC_INTR = 0o20
-UC_ASR = 0o40
-UC_MCONTEXT = (UC_CPU|UC_FPU|UC_ASR)
-UC_ALL = (UC_SIGMASK|UC_STACK|UC_MCONTEXT)
-_SIGQUEUE_MAX = 32
-_SIGNOTIFY_MAX = 32
-
-# Included from sys/pcb.h
-INSTR_VALID = 0x02
-NORMAL_STEP = 0x04
-WATCH_STEP = 0x08
-CPC_OVERFLOW = 0x10
-ASYNC_HWERR = 0x20
-STEP_NONE = 0
-STEP_REQUESTED = 1
-STEP_ACTIVE = 2
-STEP_WASACTIVE = 3
-
-# Included from sys/msacct.h
-LMS_USER = 0
-LMS_SYSTEM = 1
-LMS_TRAP = 2
-LMS_TFAULT = 3
-LMS_DFAULT = 4
-LMS_KFAULT = 5
-LMS_USER_LOCK = 6
-LMS_SLEEP = 7
-LMS_WAIT_CPU = 8
-LMS_STOPPED = 9
-NMSTATES = 10
-
-# Included from sys/lwp.h
-
-# Included from sys/synch.h
-from TYPES import *
-USYNC_THREAD = 0x00
-USYNC_PROCESS = 0x01
-LOCK_NORMAL = 0x00
-LOCK_ERRORCHECK = 0x02
-LOCK_RECURSIVE = 0x04
-USYNC_PROCESS_ROBUST = 0x08
-LOCK_PRIO_NONE = 0x00
-LOCK_PRIO_INHERIT = 0x10
-LOCK_PRIO_PROTECT = 0x20
-LOCK_STALL_NP = 0x00
-LOCK_ROBUST_NP = 0x40
-LOCK_OWNERDEAD = 0x1
-LOCK_NOTRECOVERABLE = 0x2
-LOCK_INITED = 0x4
-LOCK_UNMAPPED = 0x8
-LWP_DETACHED = 0x00000040
-LWP_SUSPENDED = 0x00000080
-__LWP_ASLWP = 0x00000100
-MAXSYSARGS = 8
-NORMALRETURN = 0
-JUSTRETURN = 1
-LWP_USER = 0x01
-LWP_SYS = 0x02
-TS_FREE = 0x00
-TS_SLEEP = 0x01
-TS_RUN = 0x02
-TS_ONPROC = 0x04
-TS_ZOMB = 0x08
-TS_STOPPED = 0x10
-T_INTR_THREAD = 0x0001
-T_WAKEABLE = 0x0002
-T_TOMASK = 0x0004
-T_TALLOCSTK = 0x0008
-T_WOULDBLOCK = 0x0020
-T_DONTBLOCK = 0x0040
-T_DONTPEND = 0x0080
-T_SYS_PROF = 0x0100
-T_WAITCVSEM = 0x0200
-T_WATCHPT = 0x0400
-T_PANIC = 0x0800
-TP_HOLDLWP = 0x0002
-TP_TWAIT = 0x0004
-TP_LWPEXIT = 0x0008
-TP_PRSTOP = 0x0010
-TP_CHKPT = 0x0020
-TP_EXITLWP = 0x0040
-TP_PRVSTOP = 0x0080
-TP_MSACCT = 0x0100
-TP_STOPPING = 0x0200
-TP_WATCHPT = 0x0400
-TP_PAUSE = 0x0800
-TP_CHANGEBIND = 0x1000
-TS_LOAD = 0x0001
-TS_DONT_SWAP = 0x0002
-TS_SWAPENQ = 0x0004
-TS_ON_SWAPQ = 0x0008
-TS_CSTART = 0x0100
-TS_UNPAUSE = 0x0200
-TS_XSTART = 0x0400
-TS_PSTART = 0x0800
-TS_RESUME = 0x1000
-TS_CREATE = 0x2000
-TS_ALLSTART = \
- (TS_CSTART|TS_UNPAUSE|TS_XSTART|TS_PSTART|TS_RESUME|TS_CREATE)
-def CPR_VSTOPPED(t): return \
-
-def THREAD_TRANSITION(tp): return thread_transition(tp);
-
-def THREAD_STOP(tp): return \
-
-def THREAD_ZOMB(tp): return THREAD_SET_STATE(tp, TS_ZOMB, NULL)
-
-def SEMA_HELD(x): return (sema_held((x)))
-
-NO_LOCKS_HELD = 1
-NO_COMPETING_THREADS = 1
-
-# Included from sys/cred.h
-
-# Included from sys/uio.h
-from TYPES import *
-
-# Included from sys/resource.h
-from TYPES import *
-PRIO_PROCESS = 0
-PRIO_PGRP = 1
-PRIO_USER = 2
-RLIMIT_CPU = 0
-RLIMIT_FSIZE = 1
-RLIMIT_DATA = 2
-RLIMIT_STACK = 3
-RLIMIT_CORE = 4
-RLIMIT_NOFILE = 5
-RLIMIT_VMEM = 6
-RLIMIT_AS = RLIMIT_VMEM
-RLIM_NLIMITS = 7
-RLIM_INFINITY = (-3)
-RLIM_SAVED_MAX = (-2)
-RLIM_SAVED_CUR = (-1)
-RLIM_INFINITY = 0x7fffffff
-RLIM_SAVED_MAX = 0x7ffffffe
-RLIM_SAVED_CUR = 0x7ffffffd
-RLIM32_INFINITY = 0x7fffffff
-RLIM32_SAVED_MAX = 0x7ffffffe
-RLIM32_SAVED_CUR = 0x7ffffffd
-
-# Included from sys/model.h
-
-# Included from sys/debug.h
-def ASSERT64(x): return ASSERT(x)
-
-def ASSERT32(x): return ASSERT(x)
-
-DATAMODEL_MASK = 0x0FF00000
-DATAMODEL_ILP32 = 0x00100000
-DATAMODEL_LP64 = 0x00200000
-DATAMODEL_NONE = 0
-DATAMODEL_NATIVE = DATAMODEL_LP64
-DATAMODEL_NATIVE = DATAMODEL_ILP32
-def STRUCT_SIZE(handle): return \
-
-def STRUCT_BUF(handle): return ((handle).ptr.m64)
-
-def SIZEOF_PTR(umodel): return \
-
-def STRUCT_SIZE(handle): return (sizeof (*(handle).ptr))
-
-def STRUCT_BUF(handle): return ((handle).ptr)
-
-def SIZEOF_PTR(umodel): return sizeof (caddr_t)
-
-def lwp_getdatamodel(t): return DATAMODEL_ILP32
-
-RUSAGE_SELF = 0
-RUSAGE_CHILDREN = -1
-
-# Included from vm/seg_enum.h
-
-# Included from sys/buf.h
-
-# Included from sys/kstat.h
-from TYPES import *
-KSTAT_STRLEN = 31
-def KSTAT_ENTER(k): return \
-
-def KSTAT_EXIT(k): return \
-
-KSTAT_TYPE_RAW = 0
-KSTAT_TYPE_NAMED = 1
-KSTAT_TYPE_INTR = 2
-KSTAT_TYPE_IO = 3
-KSTAT_TYPE_TIMER = 4
-KSTAT_NUM_TYPES = 5
-KSTAT_FLAG_VIRTUAL = 0x01
-KSTAT_FLAG_VAR_SIZE = 0x02
-KSTAT_FLAG_WRITABLE = 0x04
-KSTAT_FLAG_PERSISTENT = 0x08
-KSTAT_FLAG_DORMANT = 0x10
-KSTAT_FLAG_INVALID = 0x20
-KSTAT_READ = 0
-KSTAT_WRITE = 1
-KSTAT_DATA_CHAR = 0
-KSTAT_DATA_INT32 = 1
-KSTAT_DATA_UINT32 = 2
-KSTAT_DATA_INT64 = 3
-KSTAT_DATA_UINT64 = 4
-KSTAT_DATA_LONG = KSTAT_DATA_INT32
-KSTAT_DATA_ULONG = KSTAT_DATA_UINT32
-KSTAT_DATA_LONG = KSTAT_DATA_INT64
-KSTAT_DATA_ULONG = KSTAT_DATA_UINT64
-KSTAT_DATA_LONG = 7
-KSTAT_DATA_ULONG = 8
-KSTAT_DATA_LONGLONG = KSTAT_DATA_INT64
-KSTAT_DATA_ULONGLONG = KSTAT_DATA_UINT64
-KSTAT_DATA_FLOAT = 5
-KSTAT_DATA_DOUBLE = 6
-KSTAT_INTR_HARD = 0
-KSTAT_INTR_SOFT = 1
-KSTAT_INTR_WATCHDOG = 2
-KSTAT_INTR_SPURIOUS = 3
-KSTAT_INTR_MULTSVC = 4
-KSTAT_NUM_INTRS = 5
-B_BUSY = 0x0001
-B_DONE = 0x0002
-B_ERROR = 0x0004
-B_PAGEIO = 0x0010
-B_PHYS = 0x0020
-B_READ = 0x0040
-B_WRITE = 0x0100
-B_KERNBUF = 0x0008
-B_WANTED = 0x0080
-B_AGE = 0x000200
-B_ASYNC = 0x000400
-B_DELWRI = 0x000800
-B_STALE = 0x001000
-B_DONTNEED = 0x002000
-B_REMAPPED = 0x004000
-B_FREE = 0x008000
-B_INVAL = 0x010000
-B_FORCE = 0x020000
-B_HEAD = 0x040000
-B_NOCACHE = 0x080000
-B_TRUNC = 0x100000
-B_SHADOW = 0x200000
-B_RETRYWRI = 0x400000
-def notavail(bp): return \
-
-def BWRITE(bp): return \
-
-def BWRITE2(bp): return \
-
-VROOT = 0x01
-VNOCACHE = 0x02
-VNOMAP = 0x04
-VDUP = 0x08
-VNOSWAP = 0x10
-VNOMOUNT = 0x20
-VISSWAP = 0x40
-VSWAPLIKE = 0x80
-VVFSLOCK = 0x100
-VVFSWAIT = 0x200
-VVMLOCK = 0x400
-VDIROPEN = 0x800
-VVMEXEC = 0x1000
-VPXFS = 0x2000
-AT_TYPE = 0x0001
-AT_MODE = 0x0002
-AT_UID = 0x0004
-AT_GID = 0x0008
-AT_FSID = 0x0010
-AT_NODEID = 0x0020
-AT_NLINK = 0x0040
-AT_SIZE = 0x0080
-AT_ATIME = 0x0100
-AT_MTIME = 0x0200
-AT_CTIME = 0x0400
-AT_RDEV = 0x0800
-AT_BLKSIZE = 0x1000
-AT_NBLOCKS = 0x2000
-AT_VCODE = 0x4000
-AT_ALL = (AT_TYPE|AT_MODE|AT_UID|AT_GID|AT_FSID|AT_NODEID|\
- AT_NLINK|AT_SIZE|AT_ATIME|AT_MTIME|AT_CTIME|\
- AT_RDEV|AT_BLKSIZE|AT_NBLOCKS|AT_VCODE)
-AT_STAT = (AT_MODE|AT_UID|AT_GID|AT_FSID|AT_NODEID|AT_NLINK|\
- AT_SIZE|AT_ATIME|AT_MTIME|AT_CTIME|AT_RDEV)
-AT_TIMES = (AT_ATIME|AT_MTIME|AT_CTIME)
-AT_NOSET = (AT_NLINK|AT_RDEV|AT_FSID|AT_NODEID|AT_TYPE|\
- AT_BLKSIZE|AT_NBLOCKS|AT_VCODE)
-VSUID = 0o4000
-VSGID = 0o2000
-VSVTX = 0o1000
-VREAD = 0o0400
-VWRITE = 0o0200
-VEXEC = 0o0100
-MODEMASK = 0o7777
-PERMMASK = 0o0777
-def MANDMODE(mode): return (((mode) & (VSGID|(VEXEC>>3))) == VSGID)
-
-VSA_ACL = 0x0001
-VSA_ACLCNT = 0x0002
-VSA_DFACL = 0x0004
-VSA_DFACLCNT = 0x0008
-LOOKUP_DIR = 0x01
-DUMP_ALLOC = 0
-DUMP_FREE = 1
-DUMP_SCAN = 2
-ATTR_UTIME = 0x01
-ATTR_EXEC = 0x02
-ATTR_COMM = 0x04
-ATTR_HINT = 0x08
-ATTR_REAL = 0x10
-
-# Included from sys/poll.h
-POLLIN = 0x0001
-POLLPRI = 0x0002
-POLLOUT = 0x0004
-POLLRDNORM = 0x0040
-POLLWRNORM = POLLOUT
-POLLRDBAND = 0x0080
-POLLWRBAND = 0x0100
-POLLNORM = POLLRDNORM
-POLLERR = 0x0008
-POLLHUP = 0x0010
-POLLNVAL = 0x0020
-POLLREMOVE = 0x0800
-POLLRDDATA = 0x0200
-POLLNOERR = 0x0400
-POLLCLOSED = 0x8000
-
-# Included from sys/strmdep.h
-def str_aligned(X): return (((ulong_t)(X) & (sizeof (int) - 1)) == 0)
-
-
-# Included from sys/strft.h
-tdelta_t_sz = 12
-FTEV_MASK = 0x1FFF
-FTEV_ISWR = 0x8000
-FTEV_CS = 0x4000
-FTEV_PS = 0x2000
-FTEV_QMASK = 0x1F00
-FTEV_ALLOCMASK = 0x1FF8
-FTEV_ALLOCB = 0x0000
-FTEV_ESBALLOC = 0x0001
-FTEV_DESBALLOC = 0x0002
-FTEV_ESBALLOCA = 0x0003
-FTEV_DESBALLOCA = 0x0004
-FTEV_ALLOCBIG = 0x0005
-FTEV_ALLOCBW = 0x0006
-FTEV_FREEB = 0x0008
-FTEV_DUPB = 0x0009
-FTEV_COPYB = 0x000A
-FTEV_CALLER = 0x000F
-FTEV_PUT = 0x0100
-FTEV_FSYNCQ = 0x0103
-FTEV_DSYNCQ = 0x0104
-FTEV_PUTQ = 0x0105
-FTEV_GETQ = 0x0106
-FTEV_RMVQ = 0x0107
-FTEV_INSQ = 0x0108
-FTEV_PUTBQ = 0x0109
-FTEV_FLUSHQ = 0x010A
-FTEV_REPLYQ = 0x010B
-FTEV_PUTNEXT = 0x010D
-FTEV_RWNEXT = 0x010E
-FTEV_QWINNER = 0x010F
-FTEV_GEWRITE = 0x0101
-def FTFLW_HASH(h): return (((unsigned)(h))%ftflw_hash_sz)
-
-FTBLK_EVNTS = 0x9
-QENAB = 0x00000001
-QWANTR = 0x00000002
-QWANTW = 0x00000004
-QFULL = 0x00000008
-QREADR = 0x00000010
-QUSE = 0x00000020
-QNOENB = 0x00000040
-QBACK = 0x00000100
-QHLIST = 0x00000200
-QPAIR = 0x00000800
-QPERQ = 0x00001000
-QPERMOD = 0x00002000
-QMTSAFE = 0x00004000
-QMTOUTPERIM = 0x00008000
-QMT_TYPEMASK = (QPAIR|QPERQ|QPERMOD|QMTSAFE|QMTOUTPERIM)
-QINSERVICE = 0x00010000
-QWCLOSE = 0x00020000
-QEND = 0x00040000
-QWANTWSYNC = 0x00080000
-QSYNCSTR = 0x00100000
-QISDRV = 0x00200000
-QHOT = 0x00400000
-QNEXTHOT = 0x00800000
-_QINSERTING = 0x04000000
-_QREMOVING = 0x08000000
-Q_SQQUEUED = 0x01
-Q_SQDRAINING = 0x02
-QB_FULL = 0x01
-QB_WANTW = 0x02
-QB_BACK = 0x04
-NBAND = 256
-STRUIOT_NONE = -1
-STRUIOT_DONTCARE = 0
-STRUIOT_STANDARD = 1
-STRUIOT_IP = 2
-DBLK_REFMIN = 0x01
-STRUIO_SPEC = 0x01
-STRUIO_DONE = 0x02
-STRUIO_IP = 0x04
-STRUIO_ZC = 0x08
-STRUIO_ICK = 0x10
-MSGMARK = 0x01
-MSGNOLOOP = 0x02
-MSGDELIM = 0x04
-MSGNOGET = 0x08
-MSGMARKNEXT = 0x10
-MSGNOTMARKNEXT = 0x20
-M_DATA = 0x00
-M_PROTO = 0x01
-M_BREAK = 0x08
-M_PASSFP = 0x09
-M_EVENT = 0x0a
-M_SIG = 0x0b
-M_DELAY = 0x0c
-M_CTL = 0x0d
-M_IOCTL = 0x0e
-M_SETOPTS = 0x10
-M_RSE = 0x11
-M_IOCACK = 0x81
-M_IOCNAK = 0x82
-M_PCPROTO = 0x83
-M_PCSIG = 0x84
-M_READ = 0x85
-M_FLUSH = 0x86
-M_STOP = 0x87
-M_START = 0x88
-M_HANGUP = 0x89
-M_ERROR = 0x8a
-M_COPYIN = 0x8b
-M_COPYOUT = 0x8c
-M_IOCDATA = 0x8d
-M_PCRSE = 0x8e
-M_STOPI = 0x8f
-M_STARTI = 0x90
-M_PCEVENT = 0x91
-M_UNHANGUP = 0x92
-QNORM = 0x00
-QPCTL = 0x80
-IOC_MODELS = DATAMODEL_MASK
-IOC_ILP32 = DATAMODEL_ILP32
-IOC_LP64 = DATAMODEL_LP64
-IOC_NATIVE = DATAMODEL_NATIVE
-IOC_NONE = DATAMODEL_NONE
-STRCANON = 0x01
-RECOPY = 0x02
-SO_ALL = 0x003f
-SO_READOPT = 0x0001
-SO_WROFF = 0x0002
-SO_MINPSZ = 0x0004
-SO_MAXPSZ = 0x0008
-SO_HIWAT = 0x0010
-SO_LOWAT = 0x0020
-SO_MREADON = 0x0040
-SO_MREADOFF = 0x0080
-SO_NDELON = 0x0100
-SO_NDELOFF = 0x0200
-SO_ISTTY = 0x0400
-SO_ISNTTY = 0x0800
-SO_TOSTOP = 0x1000
-SO_TONSTOP = 0x2000
-SO_BAND = 0x4000
-SO_DELIM = 0x8000
-SO_NODELIM = 0x010000
-SO_STRHOLD = 0x020000
-SO_ERROPT = 0x040000
-SO_COPYOPT = 0x080000
-SO_MAXBLK = 0x100000
-DEF_IOV_MAX = 16
-INFOD_FIRSTBYTES = 0x02
-INFOD_BYTES = 0x04
-INFOD_COUNT = 0x08
-INFOD_COPYOUT = 0x10
-MODOPEN = 0x1
-CLONEOPEN = 0x2
-CONSOPEN = 0x4
-OPENFAIL = -1
-BPRI_LO = 1
-BPRI_MED = 2
-BPRI_HI = 3
-BPRI_FT = 4
-INFPSZ = -1
-FLUSHALL = 1
-FLUSHDATA = 0
-STRHIGH = 5120
-STRLOW = 1024
-MAXIOCBSZ = 1024
-PERIM_INNER = 1
-PERIM_OUTER = 2
-def datamsg(type): return \
-
-def straln(a): return (caddr_t)((intptr_t)(a) & ~(sizeof (int)-1))
-
-
-# Included from sys/byteorder.h
-def ntohl(x): return (x)
-
-def ntohs(x): return (x)
-
-def htonl(x): return (x)
-
-def htons(x): return (x)
-
-IPPROTO_IP = 0
-IPPROTO_HOPOPTS = 0
-IPPROTO_ICMP = 1
-IPPROTO_IGMP = 2
-IPPROTO_GGP = 3
-IPPROTO_ENCAP = 4
-IPPROTO_TCP = 6
-IPPROTO_EGP = 8
-IPPROTO_PUP = 12
-IPPROTO_UDP = 17
-IPPROTO_IDP = 22
-IPPROTO_IPV6 = 41
-IPPROTO_ROUTING = 43
-IPPROTO_FRAGMENT = 44
-IPPROTO_RSVP = 46
-IPPROTO_ESP = 50
-IPPROTO_AH = 51
-IPPROTO_ICMPV6 = 58
-IPPROTO_NONE = 59
-IPPROTO_DSTOPTS = 60
-IPPROTO_HELLO = 63
-IPPROTO_ND = 77
-IPPROTO_EON = 80
-IPPROTO_PIM = 103
-IPPROTO_RAW = 255
-IPPROTO_MAX = 256
-IPPORT_ECHO = 7
-IPPORT_DISCARD = 9
-IPPORT_SYSTAT = 11
-IPPORT_DAYTIME = 13
-IPPORT_NETSTAT = 15
-IPPORT_FTP = 21
-IPPORT_TELNET = 23
-IPPORT_SMTP = 25
-IPPORT_TIMESERVER = 37
-IPPORT_NAMESERVER = 42
-IPPORT_WHOIS = 43
-IPPORT_MTP = 57
-IPPORT_BOOTPS = 67
-IPPORT_BOOTPC = 68
-IPPORT_TFTP = 69
-IPPORT_RJE = 77
-IPPORT_FINGER = 79
-IPPORT_TTYLINK = 87
-IPPORT_SUPDUP = 95
-IPPORT_EXECSERVER = 512
-IPPORT_LOGINSERVER = 513
-IPPORT_CMDSERVER = 514
-IPPORT_EFSSERVER = 520
-IPPORT_BIFFUDP = 512
-IPPORT_WHOSERVER = 513
-IPPORT_ROUTESERVER = 520
-IPPORT_RESERVED = 1024
-IPPORT_USERRESERVED = 5000
-IMPLINK_IP = 155
-IMPLINK_LOWEXPER = 156
-IMPLINK_HIGHEXPER = 158
-IN_CLASSA_NSHIFT = 24
-IN_CLASSA_MAX = 128
-IN_CLASSB_NSHIFT = 16
-IN_CLASSB_MAX = 65536
-IN_CLASSC_NSHIFT = 8
-IN_CLASSD_NSHIFT = 28
-def IN_MULTICAST(i): return IN_CLASSD(i)
-
-IN_LOOPBACKNET = 127
-def IN_SET_LOOPBACK_ADDR(a): return \
-
-def IN6_IS_ADDR_UNSPECIFIED(addr): return \
-
-def IN6_IS_ADDR_LOOPBACK(addr): return \
-
-def IN6_IS_ADDR_LOOPBACK(addr): return \
-
-def IN6_IS_ADDR_MULTICAST(addr): return \
-
-def IN6_IS_ADDR_MULTICAST(addr): return \
-
-def IN6_IS_ADDR_LINKLOCAL(addr): return \
-
-def IN6_IS_ADDR_LINKLOCAL(addr): return \
-
-def IN6_IS_ADDR_SITELOCAL(addr): return \
-
-def IN6_IS_ADDR_SITELOCAL(addr): return \
-
-def IN6_IS_ADDR_V4MAPPED(addr): return \
-
-def IN6_IS_ADDR_V4MAPPED(addr): return \
-
-def IN6_IS_ADDR_V4MAPPED_ANY(addr): return \
-
-def IN6_IS_ADDR_V4MAPPED_ANY(addr): return \
-
-def IN6_IS_ADDR_V4COMPAT(addr): return \
-
-def IN6_IS_ADDR_V4COMPAT(addr): return \
-
-def IN6_IS_ADDR_MC_RESERVED(addr): return \
-
-def IN6_IS_ADDR_MC_RESERVED(addr): return \
-
-def IN6_IS_ADDR_MC_NODELOCAL(addr): return \
-
-def IN6_IS_ADDR_MC_NODELOCAL(addr): return \
-
-def IN6_IS_ADDR_MC_LINKLOCAL(addr): return \
-
-def IN6_IS_ADDR_MC_LINKLOCAL(addr): return \
-
-def IN6_IS_ADDR_MC_SITELOCAL(addr): return \
-
-def IN6_IS_ADDR_MC_SITELOCAL(addr): return \
-
-def IN6_IS_ADDR_MC_ORGLOCAL(addr): return \
-
-def IN6_IS_ADDR_MC_ORGLOCAL(addr): return \
-
-def IN6_IS_ADDR_MC_GLOBAL(addr): return \
-
-def IN6_IS_ADDR_MC_GLOBAL(addr): return \
-
-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 = 0x10
-IP_MULTICAST_TTL = 0x11
-IP_MULTICAST_LOOP = 0x12
-IP_ADD_MEMBERSHIP = 0x13
-IP_DROP_MEMBERSHIP = 0x14
-IP_SEC_OPT = 0x22
-IPSEC_PREF_NEVER = 0x01
-IPSEC_PREF_REQUIRED = 0x02
-IPSEC_PREF_UNIQUE = 0x04
-IP_ADD_PROXY_ADDR = 0x40
-IP_BOUND_IF = 0x41
-IP_UNSPEC_SRC = 0x42
-IP_REUSEADDR = 0x104
-IP_DONTROUTE = 0x105
-IP_BROADCAST = 0x106
-IP_DEFAULT_MULTICAST_TTL = 1
-IP_DEFAULT_MULTICAST_LOOP = 1
-IPV6_RTHDR_TYPE_0 = 0
-IPV6_UNICAST_HOPS = 0x5
-IPV6_MULTICAST_IF = 0x6
-IPV6_MULTICAST_HOPS = 0x7
-IPV6_MULTICAST_LOOP = 0x8
-IPV6_JOIN_GROUP = 0x9
-IPV6_LEAVE_GROUP = 0xa
-IPV6_ADD_MEMBERSHIP = 0x9
-IPV6_DROP_MEMBERSHIP = 0xa
-IPV6_PKTINFO = 0xb
-IPV6_HOPLIMIT = 0xc
-IPV6_NEXTHOP = 0xd
-IPV6_HOPOPTS = 0xe
-IPV6_DSTOPTS = 0xf
-IPV6_RTHDR = 0x10
-IPV6_RTHDRDSTOPTS = 0x11
-IPV6_RECVPKTINFO = 0x12
-IPV6_RECVHOPLIMIT = 0x13
-IPV6_RECVHOPOPTS = 0x14
-IPV6_RECVDSTOPTS = 0x15
-IPV6_RECVRTHDR = 0x16
-IPV6_RECVRTHDRDSTOPTS = 0x17
-IPV6_CHECKSUM = 0x18
-IPV6_BOUND_IF = 0x41
-IPV6_UNSPEC_SRC = 0x42
-INET_ADDRSTRLEN = 16
-INET6_ADDRSTRLEN = 46
-IPV6_PAD1_OPT = 0
diff --git a/Lib/plat-sunos5/STROPTS.py b/Lib/plat-sunos5/STROPTS.py
deleted file mode 100644
index 8f735c4..0000000
--- a/Lib/plat-sunos5/STROPTS.py
+++ /dev/null
@@ -1,1813 +0,0 @@
-# Generated by h2py from /usr/include/sys/stropts.h
-
-# Included from sys/feature_tests.h
-
-# Included from sys/isa_defs.h
-_CHAR_ALIGNMENT = 1
-_SHORT_ALIGNMENT = 2
-_INT_ALIGNMENT = 4
-_LONG_ALIGNMENT = 8
-_LONG_LONG_ALIGNMENT = 8
-_DOUBLE_ALIGNMENT = 8
-_LONG_DOUBLE_ALIGNMENT = 16
-_POINTER_ALIGNMENT = 8
-_MAX_ALIGNMENT = 16
-_ALIGNMENT_REQUIRED = 1
-_CHAR_ALIGNMENT = 1
-_SHORT_ALIGNMENT = 2
-_INT_ALIGNMENT = 4
-_LONG_ALIGNMENT = 4
-_LONG_LONG_ALIGNMENT = 4
-_DOUBLE_ALIGNMENT = 4
-_LONG_DOUBLE_ALIGNMENT = 4
-_POINTER_ALIGNMENT = 4
-_MAX_ALIGNMENT = 4
-_ALIGNMENT_REQUIRED = 0
-_CHAR_ALIGNMENT = 1
-_SHORT_ALIGNMENT = 2
-_INT_ALIGNMENT = 4
-_LONG_LONG_ALIGNMENT = 8
-_DOUBLE_ALIGNMENT = 8
-_ALIGNMENT_REQUIRED = 1
-_LONG_ALIGNMENT = 4
-_LONG_DOUBLE_ALIGNMENT = 8
-_POINTER_ALIGNMENT = 4
-_MAX_ALIGNMENT = 8
-_LONG_ALIGNMENT = 8
-_LONG_DOUBLE_ALIGNMENT = 16
-_POINTER_ALIGNMENT = 8
-_MAX_ALIGNMENT = 16
-_POSIX_C_SOURCE = 1
-_LARGEFILE64_SOURCE = 1
-_LARGEFILE_SOURCE = 1
-_FILE_OFFSET_BITS = 64
-_FILE_OFFSET_BITS = 32
-_POSIX_C_SOURCE = 199506
-_POSIX_PTHREAD_SEMANTICS = 1
-_XOPEN_VERSION = 500
-_XOPEN_VERSION = 4
-_XOPEN_VERSION = 3
-from TYPES import *
-
-# Included from sys/conf.h
-
-# Included from sys/t_lock.h
-
-# Included from sys/machlock.h
-from TYPES import *
-LOCK_HELD_VALUE = 0xff
-def SPIN_LOCK(pl): return ((pl) > ipltospl(LOCK_LEVEL))
-
-def LOCK_SAMPLE_INTERVAL(i): return (((i) & 0xff) == 0)
-
-CLOCK_LEVEL = 10
-LOCK_LEVEL = 10
-DISP_LEVEL = (LOCK_LEVEL + 1)
-PTR24_LSB = 5
-PTR24_MSB = (PTR24_LSB + 24)
-PTR24_ALIGN = 32
-PTR24_BASE = 0xe0000000
-
-# Included from sys/param.h
-from TYPES import *
-_POSIX_VDISABLE = 0
-MAX_INPUT = 512
-MAX_CANON = 256
-UID_NOBODY = 60001
-GID_NOBODY = UID_NOBODY
-UID_NOACCESS = 60002
-MAX_TASKID = 999999
-MAX_MAXPID = 999999
-DEFAULT_MAXPID = 999999
-DEFAULT_JUMPPID = 100000
-DEFAULT_MAXPID = 30000
-DEFAULT_JUMPPID = 0
-MAXUID = 2147483647
-MAXPROJID = MAXUID
-MAXLINK = 32767
-NMOUNT = 40
-CANBSIZ = 256
-NOFILE = 20
-NGROUPS_UMIN = 0
-NGROUPS_UMAX = 32
-NGROUPS_MAX_DEFAULT = 16
-NZERO = 20
-NULL = 0
-NULL = 0
-CMASK = 0o22
-CDLIMIT = (1<<11)
-NBPS = 0x20000
-NBPSCTR = 512
-UBSIZE = 512
-SCTRSHFT = 9
-SYSNAME = 9
-PREMOTE = 39
-MAXPATHLEN = 1024
-MAXSYMLINKS = 20
-MAXNAMELEN = 256
-NADDR = 13
-PIPE_BUF = 5120
-PIPE_MAX = 5120
-NBBY = 8
-MAXBSIZE = 8192
-DEV_BSIZE = 512
-DEV_BSHIFT = 9
-MAXFRAG = 8
-MAXOFF32_T = 0x7fffffff
-MAXOFF_T = 0x7fffffffffffffff
-MAXOFFSET_T = 0x7fffffffffffffff
-MAXOFF_T = 0x7fffffff
-MAXOFFSET_T = 0x7fffffff
-def btodb(bytes): return \
-
-def dbtob(db): return \
-
-def lbtodb(bytes): return \
-
-def ldbtob(db): return \
-
-NCARGS32 = 0x100000
-NCARGS64 = 0x200000
-NCARGS = NCARGS64
-NCARGS = NCARGS32
-FSHIFT = 8
-FSCALE = (1<<FSHIFT)
-def DELAY(n): return drv_usecwait(n)
-
-def mmu_ptob(x): return ((x) << MMU_PAGESHIFT)
-
-def mmu_btop(x): return (((x)) >> MMU_PAGESHIFT)
-
-def mmu_btopr(x): return ((((x) + MMU_PAGEOFFSET) >> MMU_PAGESHIFT))
-
-def mmu_ptod(x): return ((x) << (MMU_PAGESHIFT - DEV_BSHIFT))
-
-def ptod(x): return ((x) << (PAGESHIFT - DEV_BSHIFT))
-
-def ptob(x): return ((x) << PAGESHIFT)
-
-def btop(x): return (((x) >> PAGESHIFT))
-
-def btopr(x): return ((((x) + PAGEOFFSET) >> PAGESHIFT))
-
-def dtop(DD): return (((DD) + NDPP - 1) >> (PAGESHIFT - DEV_BSHIFT))
-
-def dtopt(DD): return ((DD) >> (PAGESHIFT - DEV_BSHIFT))
-
-_AIO_LISTIO_MAX = (4096)
-_AIO_MAX = (-1)
-_MQ_OPEN_MAX = (32)
-_MQ_PRIO_MAX = (32)
-_SEM_NSEMS_MAX = INT_MAX
-_SEM_VALUE_MAX = INT_MAX
-
-# Included from sys/unistd.h
-_CS_PATH = 65
-_CS_LFS_CFLAGS = 68
-_CS_LFS_LDFLAGS = 69
-_CS_LFS_LIBS = 70
-_CS_LFS_LINTFLAGS = 71
-_CS_LFS64_CFLAGS = 72
-_CS_LFS64_LDFLAGS = 73
-_CS_LFS64_LIBS = 74
-_CS_LFS64_LINTFLAGS = 75
-_CS_XBS5_ILP32_OFF32_CFLAGS = 700
-_CS_XBS5_ILP32_OFF32_LDFLAGS = 701
-_CS_XBS5_ILP32_OFF32_LIBS = 702
-_CS_XBS5_ILP32_OFF32_LINTFLAGS = 703
-_CS_XBS5_ILP32_OFFBIG_CFLAGS = 705
-_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 706
-_CS_XBS5_ILP32_OFFBIG_LIBS = 707
-_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 708
-_CS_XBS5_LP64_OFF64_CFLAGS = 709
-_CS_XBS5_LP64_OFF64_LDFLAGS = 710
-_CS_XBS5_LP64_OFF64_LIBS = 711
-_CS_XBS5_LP64_OFF64_LINTFLAGS = 712
-_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 713
-_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 714
-_CS_XBS5_LPBIG_OFFBIG_LIBS = 715
-_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 716
-_SC_ARG_MAX = 1
-_SC_CHILD_MAX = 2
-_SC_CLK_TCK = 3
-_SC_NGROUPS_MAX = 4
-_SC_OPEN_MAX = 5
-_SC_JOB_CONTROL = 6
-_SC_SAVED_IDS = 7
-_SC_VERSION = 8
-_SC_PASS_MAX = 9
-_SC_LOGNAME_MAX = 10
-_SC_PAGESIZE = 11
-_SC_XOPEN_VERSION = 12
-_SC_NPROCESSORS_CONF = 14
-_SC_NPROCESSORS_ONLN = 15
-_SC_STREAM_MAX = 16
-_SC_TZNAME_MAX = 17
-_SC_AIO_LISTIO_MAX = 18
-_SC_AIO_MAX = 19
-_SC_AIO_PRIO_DELTA_MAX = 20
-_SC_ASYNCHRONOUS_IO = 21
-_SC_DELAYTIMER_MAX = 22
-_SC_FSYNC = 23
-_SC_MAPPED_FILES = 24
-_SC_MEMLOCK = 25
-_SC_MEMLOCK_RANGE = 26
-_SC_MEMORY_PROTECTION = 27
-_SC_MESSAGE_PASSING = 28
-_SC_MQ_OPEN_MAX = 29
-_SC_MQ_PRIO_MAX = 30
-_SC_PRIORITIZED_IO = 31
-_SC_PRIORITY_SCHEDULING = 32
-_SC_REALTIME_SIGNALS = 33
-_SC_RTSIG_MAX = 34
-_SC_SEMAPHORES = 35
-_SC_SEM_NSEMS_MAX = 36
-_SC_SEM_VALUE_MAX = 37
-_SC_SHARED_MEMORY_OBJECTS = 38
-_SC_SIGQUEUE_MAX = 39
-_SC_SIGRT_MIN = 40
-_SC_SIGRT_MAX = 41
-_SC_SYNCHRONIZED_IO = 42
-_SC_TIMERS = 43
-_SC_TIMER_MAX = 44
-_SC_2_C_BIND = 45
-_SC_2_C_DEV = 46
-_SC_2_C_VERSION = 47
-_SC_2_FORT_DEV = 48
-_SC_2_FORT_RUN = 49
-_SC_2_LOCALEDEF = 50
-_SC_2_SW_DEV = 51
-_SC_2_UPE = 52
-_SC_2_VERSION = 53
-_SC_BC_BASE_MAX = 54
-_SC_BC_DIM_MAX = 55
-_SC_BC_SCALE_MAX = 56
-_SC_BC_STRING_MAX = 57
-_SC_COLL_WEIGHTS_MAX = 58
-_SC_EXPR_NEST_MAX = 59
-_SC_LINE_MAX = 60
-_SC_RE_DUP_MAX = 61
-_SC_XOPEN_CRYPT = 62
-_SC_XOPEN_ENH_I18N = 63
-_SC_XOPEN_SHM = 64
-_SC_2_CHAR_TERM = 66
-_SC_XOPEN_XCU_VERSION = 67
-_SC_ATEXIT_MAX = 76
-_SC_IOV_MAX = 77
-_SC_XOPEN_UNIX = 78
-_SC_PAGE_SIZE = _SC_PAGESIZE
-_SC_T_IOV_MAX = 79
-_SC_PHYS_PAGES = 500
-_SC_AVPHYS_PAGES = 501
-_SC_COHER_BLKSZ = 503
-_SC_SPLIT_CACHE = 504
-_SC_ICACHE_SZ = 505
-_SC_DCACHE_SZ = 506
-_SC_ICACHE_LINESZ = 507
-_SC_DCACHE_LINESZ = 508
-_SC_ICACHE_BLKSZ = 509
-_SC_DCACHE_BLKSZ = 510
-_SC_DCACHE_TBLKSZ = 511
-_SC_ICACHE_ASSOC = 512
-_SC_DCACHE_ASSOC = 513
-_SC_MAXPID = 514
-_SC_STACK_PROT = 515
-_SC_THREAD_DESTRUCTOR_ITERATIONS = 568
-_SC_GETGR_R_SIZE_MAX = 569
-_SC_GETPW_R_SIZE_MAX = 570
-_SC_LOGIN_NAME_MAX = 571
-_SC_THREAD_KEYS_MAX = 572
-_SC_THREAD_STACK_MIN = 573
-_SC_THREAD_THREADS_MAX = 574
-_SC_TTY_NAME_MAX = 575
-_SC_THREADS = 576
-_SC_THREAD_ATTR_STACKADDR = 577
-_SC_THREAD_ATTR_STACKSIZE = 578
-_SC_THREAD_PRIORITY_SCHEDULING = 579
-_SC_THREAD_PRIO_INHERIT = 580
-_SC_THREAD_PRIO_PROTECT = 581
-_SC_THREAD_PROCESS_SHARED = 582
-_SC_THREAD_SAFE_FUNCTIONS = 583
-_SC_XOPEN_LEGACY = 717
-_SC_XOPEN_REALTIME = 718
-_SC_XOPEN_REALTIME_THREADS = 719
-_SC_XBS5_ILP32_OFF32 = 720
-_SC_XBS5_ILP32_OFFBIG = 721
-_SC_XBS5_LP64_OFF64 = 722
-_SC_XBS5_LPBIG_OFFBIG = 723
-_PC_LINK_MAX = 1
-_PC_MAX_CANON = 2
-_PC_MAX_INPUT = 3
-_PC_NAME_MAX = 4
-_PC_PATH_MAX = 5
-_PC_PIPE_BUF = 6
-_PC_NO_TRUNC = 7
-_PC_VDISABLE = 8
-_PC_CHOWN_RESTRICTED = 9
-_PC_ASYNC_IO = 10
-_PC_PRIO_IO = 11
-_PC_SYNC_IO = 12
-_PC_FILESIZEBITS = 67
-_PC_LAST = 67
-_POSIX_VERSION = 199506
-_POSIX2_VERSION = 199209
-_POSIX2_C_VERSION = 199209
-_XOPEN_XCU_VERSION = 4
-_XOPEN_REALTIME = 1
-_XOPEN_ENH_I18N = 1
-_XOPEN_SHM = 1
-_POSIX2_C_BIND = 1
-_POSIX2_CHAR_TERM = 1
-_POSIX2_LOCALEDEF = 1
-_POSIX2_C_DEV = 1
-_POSIX2_SW_DEV = 1
-_POSIX2_UPE = 1
-
-# Included from sys/mutex.h
-from TYPES import *
-def MUTEX_HELD(x): return (mutex_owned(x))
-
-
-# Included from sys/rwlock.h
-from TYPES import *
-def RW_READ_HELD(x): return (rw_read_held((x)))
-
-def RW_WRITE_HELD(x): return (rw_write_held((x)))
-
-def RW_LOCK_HELD(x): return (rw_lock_held((x)))
-
-def RW_ISWRITER(x): return (rw_iswriter(x))
-
-
-# Included from sys/semaphore.h
-
-# Included from sys/thread.h
-from TYPES import *
-
-# Included from sys/klwp.h
-from TYPES import *
-
-# Included from sys/condvar.h
-from TYPES import *
-
-# Included from sys/time.h
-
-# Included from sys/types32.h
-
-# Included from sys/int_types.h
-TIME32_MAX = INT32_MAX
-TIME32_MIN = INT32_MIN
-def TIMEVAL_OVERFLOW(tv): return \
-
-from TYPES import *
-DST_NONE = 0
-DST_USA = 1
-DST_AUST = 2
-DST_WET = 3
-DST_MET = 4
-DST_EET = 5
-DST_CAN = 6
-DST_GB = 7
-DST_RUM = 8
-DST_TUR = 9
-DST_AUSTALT = 10
-ITIMER_REAL = 0
-ITIMER_VIRTUAL = 1
-ITIMER_PROF = 2
-ITIMER_REALPROF = 3
-def ITIMERVAL_OVERFLOW(itv): return \
-
-SEC = 1
-MILLISEC = 1000
-MICROSEC = 1000000
-NANOSEC = 1000000000
-
-# Included from sys/time_impl.h
-def TIMESPEC_OVERFLOW(ts): return \
-
-def ITIMERSPEC_OVERFLOW(it): return \
-
-__CLOCK_REALTIME0 = 0
-CLOCK_VIRTUAL = 1
-CLOCK_PROF = 2
-__CLOCK_REALTIME3 = 3
-CLOCK_HIGHRES = 4
-CLOCK_MAX = 5
-CLOCK_REALTIME = __CLOCK_REALTIME3
-CLOCK_REALTIME = __CLOCK_REALTIME0
-TIMER_RELTIME = 0x0
-TIMER_ABSTIME = 0x1
-def TICK_TO_SEC(tick): return ((tick) / hz)
-
-def SEC_TO_TICK(sec): return ((sec) * hz)
-
-def TICK_TO_MSEC(tick): return \
-
-def MSEC_TO_TICK(msec): return \
-
-def MSEC_TO_TICK_ROUNDUP(msec): return \
-
-def TICK_TO_USEC(tick): return ((tick) * usec_per_tick)
-
-def USEC_TO_TICK(usec): return ((usec) / usec_per_tick)
-
-def USEC_TO_TICK_ROUNDUP(usec): return \
-
-def TICK_TO_NSEC(tick): return ((tick) * nsec_per_tick)
-
-def NSEC_TO_TICK(nsec): return ((nsec) / nsec_per_tick)
-
-def NSEC_TO_TICK_ROUNDUP(nsec): return \
-
-def TIMEVAL_TO_TICK(tvp): return \
-
-def TIMESTRUC_TO_TICK(tsp): return \
-
-
-# Included from time.h
-from TYPES import *
-
-# Included from iso/time_iso.h
-NULL = 0
-NULL = 0
-CLOCKS_PER_SEC = 1000000
-
-# Included from sys/select.h
-FD_SETSIZE = 65536
-FD_SETSIZE = 1024
-_NBBY = 8
-NBBY = _NBBY
-def FD_ZERO(p): return bzero((p), sizeof (*(p)))
-
-
-# Included from sys/signal.h
-
-# Included from sys/iso/signal_iso.h
-SIGHUP = 1
-SIGINT = 2
-SIGQUIT = 3
-SIGILL = 4
-SIGTRAP = 5
-SIGIOT = 6
-SIGABRT = 6
-SIGEMT = 7
-SIGFPE = 8
-SIGKILL = 9
-SIGBUS = 10
-SIGSEGV = 11
-SIGSYS = 12
-SIGPIPE = 13
-SIGALRM = 14
-SIGTERM = 15
-SIGUSR1 = 16
-SIGUSR2 = 17
-SIGCLD = 18
-SIGCHLD = 18
-SIGPWR = 19
-SIGWINCH = 20
-SIGURG = 21
-SIGPOLL = 22
-SIGIO = SIGPOLL
-SIGSTOP = 23
-SIGTSTP = 24
-SIGCONT = 25
-SIGTTIN = 26
-SIGTTOU = 27
-SIGVTALRM = 28
-SIGPROF = 29
-SIGXCPU = 30
-SIGXFSZ = 31
-SIGWAITING = 32
-SIGLWP = 33
-SIGFREEZE = 34
-SIGTHAW = 35
-SIGCANCEL = 36
-SIGLOST = 37
-_SIGRTMIN = 38
-_SIGRTMAX = 45
-SIG_BLOCK = 1
-SIG_UNBLOCK = 2
-SIG_SETMASK = 3
-SIGNO_MASK = 0xFF
-SIGDEFER = 0x100
-SIGHOLD = 0x200
-SIGRELSE = 0x400
-SIGIGNORE = 0x800
-SIGPAUSE = 0x1000
-
-# Included from sys/siginfo.h
-from TYPES import *
-SIGEV_NONE = 1
-SIGEV_SIGNAL = 2
-SIGEV_THREAD = 3
-SI_NOINFO = 32767
-SI_USER = 0
-SI_LWP = (-1)
-SI_QUEUE = (-2)
-SI_TIMER = (-3)
-SI_ASYNCIO = (-4)
-SI_MESGQ = (-5)
-
-# Included from sys/machsig.h
-ILL_ILLOPC = 1
-ILL_ILLOPN = 2
-ILL_ILLADR = 3
-ILL_ILLTRP = 4
-ILL_PRVOPC = 5
-ILL_PRVREG = 6
-ILL_COPROC = 7
-ILL_BADSTK = 8
-NSIGILL = 8
-EMT_TAGOVF = 1
-EMT_CPCOVF = 2
-NSIGEMT = 2
-FPE_INTDIV = 1
-FPE_INTOVF = 2
-FPE_FLTDIV = 3
-FPE_FLTOVF = 4
-FPE_FLTUND = 5
-FPE_FLTRES = 6
-FPE_FLTINV = 7
-FPE_FLTSUB = 8
-NSIGFPE = 8
-SEGV_MAPERR = 1
-SEGV_ACCERR = 2
-NSIGSEGV = 2
-BUS_ADRALN = 1
-BUS_ADRERR = 2
-BUS_OBJERR = 3
-NSIGBUS = 3
-TRAP_BRKPT = 1
-TRAP_TRACE = 2
-TRAP_RWATCH = 3
-TRAP_WWATCH = 4
-TRAP_XWATCH = 5
-NSIGTRAP = 5
-CLD_EXITED = 1
-CLD_KILLED = 2
-CLD_DUMPED = 3
-CLD_TRAPPED = 4
-CLD_STOPPED = 5
-CLD_CONTINUED = 6
-NSIGCLD = 6
-POLL_IN = 1
-POLL_OUT = 2
-POLL_MSG = 3
-POLL_ERR = 4
-POLL_PRI = 5
-POLL_HUP = 6
-NSIGPOLL = 6
-PROF_SIG = 1
-NSIGPROF = 1
-SI_MAXSZ = 256
-SI_MAXSZ = 128
-
-# Included from sys/time_std_impl.h
-from TYPES import *
-SI32_MAXSZ = 128
-def SI_CANQUEUE(c): return ((c) <= SI_QUEUE)
-
-SA_NOCLDSTOP = 0x00020000
-SA_ONSTACK = 0x00000001
-SA_RESETHAND = 0x00000002
-SA_RESTART = 0x00000004
-SA_SIGINFO = 0x00000008
-SA_NODEFER = 0x00000010
-SA_NOCLDWAIT = 0x00010000
-SA_WAITSIG = 0x00010000
-NSIG = 46
-MAXSIG = 45
-S_SIGNAL = 1
-S_SIGSET = 2
-S_SIGACTION = 3
-S_NONE = 4
-MINSIGSTKSZ = 2048
-SIGSTKSZ = 8192
-SS_ONSTACK = 0x00000001
-SS_DISABLE = 0x00000002
-SN_PROC = 1
-SN_CANCEL = 2
-SN_SEND = 3
-
-# Included from sys/ucontext.h
-from TYPES import *
-
-# Included from sys/regset.h
-REG_CCR = (0)
-REG_PSR = (0)
-REG_PSR = (0)
-REG_PC = (1)
-REG_nPC = (2)
-REG_Y = (3)
-REG_G1 = (4)
-REG_G2 = (5)
-REG_G3 = (6)
-REG_G4 = (7)
-REG_G5 = (8)
-REG_G6 = (9)
-REG_G7 = (10)
-REG_O0 = (11)
-REG_O1 = (12)
-REG_O2 = (13)
-REG_O3 = (14)
-REG_O4 = (15)
-REG_O5 = (16)
-REG_O6 = (17)
-REG_O7 = (18)
-REG_ASI = (19)
-REG_FPRS = (20)
-REG_PS = REG_PSR
-REG_SP = REG_O6
-REG_R0 = REG_O0
-REG_R1 = REG_O1
-_NGREG = 21
-_NGREG = 19
-NGREG = _NGREG
-_NGREG32 = 19
-_NGREG64 = 21
-SPARC_MAXREGWINDOW = 31
-MAXFPQ = 16
-XRS_ID = 0x78727300
-
-# Included from v7/sys/privregs.h
-
-# Included from v7/sys/psr.h
-PSR_CWP = 0x0000001F
-PSR_ET = 0x00000020
-PSR_PS = 0x00000040
-PSR_S = 0x00000080
-PSR_PIL = 0x00000F00
-PSR_EF = 0x00001000
-PSR_EC = 0x00002000
-PSR_RSV = 0x000FC000
-PSR_ICC = 0x00F00000
-PSR_C = 0x00100000
-PSR_V = 0x00200000
-PSR_Z = 0x00400000
-PSR_N = 0x00800000
-PSR_VER = 0x0F000000
-PSR_IMPL = 0xF0000000
-PSL_ALLCC = PSR_ICC
-PSL_USER = (PSR_S)
-PSL_USERMASK = (PSR_ICC)
-PSL_UBITS = (PSR_ICC|PSR_EF)
-def USERMODE(ps): return (((ps) & PSR_PS) == 0)
-
-
-# Included from sys/fsr.h
-FSR_CEXC = 0x0000001f
-FSR_AEXC = 0x000003e0
-FSR_FCC = 0x00000c00
-FSR_PR = 0x00001000
-FSR_QNE = 0x00002000
-FSR_FTT = 0x0001c000
-FSR_VER = 0x000e0000
-FSR_TEM = 0x0f800000
-FSR_RP = 0x30000000
-FSR_RD = 0xc0000000
-FSR_VER_SHIFT = 17
-FSR_FCC1 = 0x00000003
-FSR_FCC2 = 0x0000000C
-FSR_FCC3 = 0x00000030
-FSR_CEXC_NX = 0x00000001
-FSR_CEXC_DZ = 0x00000002
-FSR_CEXC_UF = 0x00000004
-FSR_CEXC_OF = 0x00000008
-FSR_CEXC_NV = 0x00000010
-FSR_AEXC_NX = (0x1 << 5)
-FSR_AEXC_DZ = (0x2 << 5)
-FSR_AEXC_UF = (0x4 << 5)
-FSR_AEXC_OF = (0x8 << 5)
-FSR_AEXC_NV = (0x10 << 5)
-FTT_NONE = 0
-FTT_IEEE = 1
-FTT_UNFIN = 2
-FTT_UNIMP = 3
-FTT_SEQ = 4
-FTT_ALIGN = 5
-FTT_DFAULT = 6
-FSR_FTT_SHIFT = 14
-FSR_FTT_IEEE = (FTT_IEEE << FSR_FTT_SHIFT)
-FSR_FTT_UNFIN = (FTT_UNFIN << FSR_FTT_SHIFT)
-FSR_FTT_UNIMP = (FTT_UNIMP << FSR_FTT_SHIFT)
-FSR_FTT_SEQ = (FTT_SEQ << FSR_FTT_SHIFT)
-FSR_FTT_ALIGN = (FTT_ALIGN << FSR_FTT_SHIFT)
-FSR_FTT_DFAULT = (FTT_DFAULT << FSR_FTT_SHIFT)
-FSR_TEM_NX = (0x1 << 23)
-FSR_TEM_DZ = (0x2 << 23)
-FSR_TEM_UF = (0x4 << 23)
-FSR_TEM_OF = (0x8 << 23)
-FSR_TEM_NV = (0x10 << 23)
-RP_DBLEXT = 0
-RP_SINGLE = 1
-RP_DOUBLE = 2
-RP_RESERVED = 3
-RD_NEAR = 0
-RD_ZER0 = 1
-RD_POSINF = 2
-RD_NEGINF = 3
-FPRS_DL = 0x1
-FPRS_DU = 0x2
-FPRS_FEF = 0x4
-PIL_MAX = 0xf
-def SAVE_GLOBALS(RP): return \
-
-def RESTORE_GLOBALS(RP): return \
-
-def SAVE_OUTS(RP): return \
-
-def RESTORE_OUTS(RP): return \
-
-def SAVE_WINDOW(SBP): return \
-
-def RESTORE_WINDOW(SBP): return \
-
-def STORE_FPREGS(FP): return \
-
-def LOAD_FPREGS(FP): return \
-
-_SPARC_MAXREGWINDOW = 31
-_XRS_ID = 0x78727300
-GETCONTEXT = 0
-SETCONTEXT = 1
-UC_SIGMASK = 0o01
-UC_STACK = 0o02
-UC_CPU = 0o04
-UC_MAU = 0o10
-UC_FPU = UC_MAU
-UC_INTR = 0o20
-UC_ASR = 0o40
-UC_MCONTEXT = (UC_CPU|UC_FPU|UC_ASR)
-UC_ALL = (UC_SIGMASK|UC_STACK|UC_MCONTEXT)
-_SIGQUEUE_MAX = 32
-_SIGNOTIFY_MAX = 32
-
-# Included from sys/pcb.h
-INSTR_VALID = 0x02
-NORMAL_STEP = 0x04
-WATCH_STEP = 0x08
-CPC_OVERFLOW = 0x10
-ASYNC_HWERR = 0x20
-STEP_NONE = 0
-STEP_REQUESTED = 1
-STEP_ACTIVE = 2
-STEP_WASACTIVE = 3
-
-# Included from sys/msacct.h
-LMS_USER = 0
-LMS_SYSTEM = 1
-LMS_TRAP = 2
-LMS_TFAULT = 3
-LMS_DFAULT = 4
-LMS_KFAULT = 5
-LMS_USER_LOCK = 6
-LMS_SLEEP = 7
-LMS_WAIT_CPU = 8
-LMS_STOPPED = 9
-NMSTATES = 10
-
-# Included from sys/lwp.h
-
-# Included from sys/synch.h
-from TYPES import *
-USYNC_THREAD = 0x00
-USYNC_PROCESS = 0x01
-LOCK_NORMAL = 0x00
-LOCK_ERRORCHECK = 0x02
-LOCK_RECURSIVE = 0x04
-USYNC_PROCESS_ROBUST = 0x08
-LOCK_PRIO_NONE = 0x00
-LOCK_PRIO_INHERIT = 0x10
-LOCK_PRIO_PROTECT = 0x20
-LOCK_STALL_NP = 0x00
-LOCK_ROBUST_NP = 0x40
-LOCK_OWNERDEAD = 0x1
-LOCK_NOTRECOVERABLE = 0x2
-LOCK_INITED = 0x4
-LOCK_UNMAPPED = 0x8
-LWP_DETACHED = 0x00000040
-LWP_SUSPENDED = 0x00000080
-__LWP_ASLWP = 0x00000100
-MAXSYSARGS = 8
-NORMALRETURN = 0
-JUSTRETURN = 1
-LWP_USER = 0x01
-LWP_SYS = 0x02
-TS_FREE = 0x00
-TS_SLEEP = 0x01
-TS_RUN = 0x02
-TS_ONPROC = 0x04
-TS_ZOMB = 0x08
-TS_STOPPED = 0x10
-T_INTR_THREAD = 0x0001
-T_WAKEABLE = 0x0002
-T_TOMASK = 0x0004
-T_TALLOCSTK = 0x0008
-T_WOULDBLOCK = 0x0020
-T_DONTBLOCK = 0x0040
-T_DONTPEND = 0x0080
-T_SYS_PROF = 0x0100
-T_WAITCVSEM = 0x0200
-T_WATCHPT = 0x0400
-T_PANIC = 0x0800
-TP_HOLDLWP = 0x0002
-TP_TWAIT = 0x0004
-TP_LWPEXIT = 0x0008
-TP_PRSTOP = 0x0010
-TP_CHKPT = 0x0020
-TP_EXITLWP = 0x0040
-TP_PRVSTOP = 0x0080
-TP_MSACCT = 0x0100
-TP_STOPPING = 0x0200
-TP_WATCHPT = 0x0400
-TP_PAUSE = 0x0800
-TP_CHANGEBIND = 0x1000
-TS_LOAD = 0x0001
-TS_DONT_SWAP = 0x0002
-TS_SWAPENQ = 0x0004
-TS_ON_SWAPQ = 0x0008
-TS_CSTART = 0x0100
-TS_UNPAUSE = 0x0200
-TS_XSTART = 0x0400
-TS_PSTART = 0x0800
-TS_RESUME = 0x1000
-TS_CREATE = 0x2000
-TS_ALLSTART = \
- (TS_CSTART|TS_UNPAUSE|TS_XSTART|TS_PSTART|TS_RESUME|TS_CREATE)
-def CPR_VSTOPPED(t): return \
-
-def THREAD_TRANSITION(tp): return thread_transition(tp);
-
-def THREAD_STOP(tp): return \
-
-def THREAD_ZOMB(tp): return THREAD_SET_STATE(tp, TS_ZOMB, NULL)
-
-def SEMA_HELD(x): return (sema_held((x)))
-
-NO_LOCKS_HELD = 1
-NO_COMPETING_THREADS = 1
-FMNAMESZ = 8
-
-# Included from sys/systm.h
-from TYPES import *
-
-# Included from sys/proc.h
-
-# Included from sys/cred.h
-
-# Included from sys/user.h
-from TYPES import *
-
-# Included from sys/resource.h
-from TYPES import *
-PRIO_PROCESS = 0
-PRIO_PGRP = 1
-PRIO_USER = 2
-RLIMIT_CPU = 0
-RLIMIT_FSIZE = 1
-RLIMIT_DATA = 2
-RLIMIT_STACK = 3
-RLIMIT_CORE = 4
-RLIMIT_NOFILE = 5
-RLIMIT_VMEM = 6
-RLIMIT_AS = RLIMIT_VMEM
-RLIM_NLIMITS = 7
-RLIM_INFINITY = (-3)
-RLIM_SAVED_MAX = (-2)
-RLIM_SAVED_CUR = (-1)
-RLIM_INFINITY = 0x7fffffff
-RLIM_SAVED_MAX = 0x7ffffffe
-RLIM_SAVED_CUR = 0x7ffffffd
-RLIM32_INFINITY = 0x7fffffff
-RLIM32_SAVED_MAX = 0x7ffffffe
-RLIM32_SAVED_CUR = 0x7ffffffd
-
-# Included from sys/model.h
-
-# Included from sys/debug.h
-def ASSERT64(x): return ASSERT(x)
-
-def ASSERT32(x): return ASSERT(x)
-
-DATAMODEL_MASK = 0x0FF00000
-DATAMODEL_ILP32 = 0x00100000
-DATAMODEL_LP64 = 0x00200000
-DATAMODEL_NONE = 0
-DATAMODEL_NATIVE = DATAMODEL_LP64
-DATAMODEL_NATIVE = DATAMODEL_ILP32
-def STRUCT_SIZE(handle): return \
-
-def STRUCT_BUF(handle): return ((handle).ptr.m64)
-
-def SIZEOF_PTR(umodel): return \
-
-def STRUCT_SIZE(handle): return (sizeof (*(handle).ptr))
-
-def STRUCT_BUF(handle): return ((handle).ptr)
-
-def SIZEOF_PTR(umodel): return sizeof (caddr_t)
-
-def lwp_getdatamodel(t): return DATAMODEL_ILP32
-
-RUSAGE_SELF = 0
-RUSAGE_CHILDREN = -1
-
-# Included from sys/auxv.h
-AT_NULL = 0
-AT_IGNORE = 1
-AT_EXECFD = 2
-AT_PHDR = 3
-AT_PHENT = 4
-AT_PHNUM = 5
-AT_PAGESZ = 6
-AT_BASE = 7
-AT_FLAGS = 8
-AT_ENTRY = 9
-AT_DCACHEBSIZE = 10
-AT_ICACHEBSIZE = 11
-AT_UCACHEBSIZE = 12
-AT_SUN_UID = 2000
-AT_SUN_RUID = 2001
-AT_SUN_GID = 2002
-AT_SUN_RGID = 2003
-AT_SUN_LDELF = 2004
-AT_SUN_LDSHDR = 2005
-AT_SUN_LDNAME = 2006
-AT_SUN_LPAGESZ = 2007
-AT_SUN_PLATFORM = 2008
-AT_SUN_HWCAP = 2009
-AT_SUN_IFLUSH = 2010
-AT_SUN_CPU = 2011
-AT_SUN_EMUL_ENTRY = 2012
-AT_SUN_EMUL_EXECFD = 2013
-AT_SUN_EXECNAME = 2014
-AT_SUN_MMU = 2015
-
-# Included from sys/errno.h
-EPERM = 1
-ENOENT = 2
-ESRCH = 3
-EINTR = 4
-EIO = 5
-ENXIO = 6
-E2BIG = 7
-ENOEXEC = 8
-EBADF = 9
-ECHILD = 10
-EAGAIN = 11
-ENOMEM = 12
-EACCES = 13
-EFAULT = 14
-ENOTBLK = 15
-EBUSY = 16
-EEXIST = 17
-EXDEV = 18
-ENODEV = 19
-ENOTDIR = 20
-EISDIR = 21
-EINVAL = 22
-ENFILE = 23
-EMFILE = 24
-ENOTTY = 25
-ETXTBSY = 26
-EFBIG = 27
-ENOSPC = 28
-ESPIPE = 29
-EROFS = 30
-EMLINK = 31
-EPIPE = 32
-EDOM = 33
-ERANGE = 34
-ENOMSG = 35
-EIDRM = 36
-ECHRNG = 37
-EL2NSYNC = 38
-EL3HLT = 39
-EL3RST = 40
-ELNRNG = 41
-EUNATCH = 42
-ENOCSI = 43
-EL2HLT = 44
-EDEADLK = 45
-ENOLCK = 46
-ECANCELED = 47
-ENOTSUP = 48
-EDQUOT = 49
-EBADE = 50
-EBADR = 51
-EXFULL = 52
-ENOANO = 53
-EBADRQC = 54
-EBADSLT = 55
-EDEADLOCK = 56
-EBFONT = 57
-EOWNERDEAD = 58
-ENOTRECOVERABLE = 59
-ENOSTR = 60
-ENODATA = 61
-ETIME = 62
-ENOSR = 63
-ENONET = 64
-ENOPKG = 65
-EREMOTE = 66
-ENOLINK = 67
-EADV = 68
-ESRMNT = 69
-ECOMM = 70
-EPROTO = 71
-ELOCKUNMAPPED = 72
-ENOTACTIVE = 73
-EMULTIHOP = 74
-EBADMSG = 77
-ENAMETOOLONG = 78
-EOVERFLOW = 79
-ENOTUNIQ = 80
-EBADFD = 81
-EREMCHG = 82
-ELIBACC = 83
-ELIBBAD = 84
-ELIBSCN = 85
-ELIBMAX = 86
-ELIBEXEC = 87
-EILSEQ = 88
-ENOSYS = 89
-ELOOP = 90
-ERESTART = 91
-ESTRPIPE = 92
-ENOTEMPTY = 93
-EUSERS = 94
-ENOTSOCK = 95
-EDESTADDRREQ = 96
-EMSGSIZE = 97
-EPROTOTYPE = 98
-ENOPROTOOPT = 99
-EPROTONOSUPPORT = 120
-ESOCKTNOSUPPORT = 121
-EOPNOTSUPP = 122
-EPFNOSUPPORT = 123
-EAFNOSUPPORT = 124
-EADDRINUSE = 125
-EADDRNOTAVAIL = 126
-ENETDOWN = 127
-ENETUNREACH = 128
-ENETRESET = 129
-ECONNABORTED = 130
-ECONNRESET = 131
-ENOBUFS = 132
-EISCONN = 133
-ENOTCONN = 134
-ESHUTDOWN = 143
-ETOOMANYREFS = 144
-ETIMEDOUT = 145
-ECONNREFUSED = 146
-EHOSTDOWN = 147
-EHOSTUNREACH = 148
-EWOULDBLOCK = EAGAIN
-EALREADY = 149
-EINPROGRESS = 150
-ESTALE = 151
-PSARGSZ = 80
-PSCOMSIZ = 14
-MAXCOMLEN = 16
-__KERN_NAUXV_IMPL = 19
-__KERN_NAUXV_IMPL = 21
-__KERN_NAUXV_IMPL = 21
-PSARGSZ = 80
-
-# Included from sys/watchpoint.h
-from TYPES import *
-
-# Included from vm/seg_enum.h
-
-# Included from sys/copyops.h
-from TYPES import *
-
-# Included from sys/buf.h
-
-# Included from sys/kstat.h
-from TYPES import *
-KSTAT_STRLEN = 31
-def KSTAT_ENTER(k): return \
-
-def KSTAT_EXIT(k): return \
-
-KSTAT_TYPE_RAW = 0
-KSTAT_TYPE_NAMED = 1
-KSTAT_TYPE_INTR = 2
-KSTAT_TYPE_IO = 3
-KSTAT_TYPE_TIMER = 4
-KSTAT_NUM_TYPES = 5
-KSTAT_FLAG_VIRTUAL = 0x01
-KSTAT_FLAG_VAR_SIZE = 0x02
-KSTAT_FLAG_WRITABLE = 0x04
-KSTAT_FLAG_PERSISTENT = 0x08
-KSTAT_FLAG_DORMANT = 0x10
-KSTAT_FLAG_INVALID = 0x20
-KSTAT_READ = 0
-KSTAT_WRITE = 1
-KSTAT_DATA_CHAR = 0
-KSTAT_DATA_INT32 = 1
-KSTAT_DATA_UINT32 = 2
-KSTAT_DATA_INT64 = 3
-KSTAT_DATA_UINT64 = 4
-KSTAT_DATA_LONG = KSTAT_DATA_INT32
-KSTAT_DATA_ULONG = KSTAT_DATA_UINT32
-KSTAT_DATA_LONG = KSTAT_DATA_INT64
-KSTAT_DATA_ULONG = KSTAT_DATA_UINT64
-KSTAT_DATA_LONG = 7
-KSTAT_DATA_ULONG = 8
-KSTAT_DATA_LONGLONG = KSTAT_DATA_INT64
-KSTAT_DATA_ULONGLONG = KSTAT_DATA_UINT64
-KSTAT_DATA_FLOAT = 5
-KSTAT_DATA_DOUBLE = 6
-KSTAT_INTR_HARD = 0
-KSTAT_INTR_SOFT = 1
-KSTAT_INTR_WATCHDOG = 2
-KSTAT_INTR_SPURIOUS = 3
-KSTAT_INTR_MULTSVC = 4
-KSTAT_NUM_INTRS = 5
-B_BUSY = 0x0001
-B_DONE = 0x0002
-B_ERROR = 0x0004
-B_PAGEIO = 0x0010
-B_PHYS = 0x0020
-B_READ = 0x0040
-B_WRITE = 0x0100
-B_KERNBUF = 0x0008
-B_WANTED = 0x0080
-B_AGE = 0x000200
-B_ASYNC = 0x000400
-B_DELWRI = 0x000800
-B_STALE = 0x001000
-B_DONTNEED = 0x002000
-B_REMAPPED = 0x004000
-B_FREE = 0x008000
-B_INVAL = 0x010000
-B_FORCE = 0x020000
-B_HEAD = 0x040000
-B_NOCACHE = 0x080000
-B_TRUNC = 0x100000
-B_SHADOW = 0x200000
-B_RETRYWRI = 0x400000
-def notavail(bp): return \
-
-def BWRITE(bp): return \
-
-def BWRITE2(bp): return \
-
-
-# Included from sys/aio_req.h
-
-# Included from sys/uio.h
-from TYPES import *
-WP_NOWATCH = 0x01
-WP_SETPROT = 0x02
-
-# Included from sys/timer.h
-from TYPES import *
-_TIMER_MAX = 32
-ITLK_LOCKED = 0x01
-ITLK_WANTED = 0x02
-ITLK_REMOVE = 0x04
-IT_PERLWP = 0x01
-IT_SIGNAL = 0x02
-
-# Included from sys/utrap.h
-UT_INSTRUCTION_DISABLED = 1
-UT_INSTRUCTION_ERROR = 2
-UT_INSTRUCTION_PROTECTION = 3
-UT_ILLTRAP_INSTRUCTION = 4
-UT_ILLEGAL_INSTRUCTION = 5
-UT_PRIVILEGED_OPCODE = 6
-UT_FP_DISABLED = 7
-UT_FP_EXCEPTION_IEEE_754 = 8
-UT_FP_EXCEPTION_OTHER = 9
-UT_TAG_OVERFLOW = 10
-UT_DIVISION_BY_ZERO = 11
-UT_DATA_EXCEPTION = 12
-UT_DATA_ERROR = 13
-UT_DATA_PROTECTION = 14
-UT_MEM_ADDRESS_NOT_ALIGNED = 15
-UT_PRIVILEGED_ACTION = 16
-UT_ASYNC_DATA_ERROR = 17
-UT_TRAP_INSTRUCTION_16 = 18
-UT_TRAP_INSTRUCTION_17 = 19
-UT_TRAP_INSTRUCTION_18 = 20
-UT_TRAP_INSTRUCTION_19 = 21
-UT_TRAP_INSTRUCTION_20 = 22
-UT_TRAP_INSTRUCTION_21 = 23
-UT_TRAP_INSTRUCTION_22 = 24
-UT_TRAP_INSTRUCTION_23 = 25
-UT_TRAP_INSTRUCTION_24 = 26
-UT_TRAP_INSTRUCTION_25 = 27
-UT_TRAP_INSTRUCTION_26 = 28
-UT_TRAP_INSTRUCTION_27 = 29
-UT_TRAP_INSTRUCTION_28 = 30
-UT_TRAP_INSTRUCTION_29 = 31
-UT_TRAP_INSTRUCTION_30 = 32
-UT_TRAP_INSTRUCTION_31 = 33
-UTRAP_V8P_FP_DISABLED = UT_FP_DISABLED
-UTRAP_V8P_MEM_ADDRESS_NOT_ALIGNED = UT_MEM_ADDRESS_NOT_ALIGNED
-UT_PRECISE_MAXTRAPS = 33
-
-# Included from sys/refstr.h
-
-# Included from sys/task.h
-from TYPES import *
-TASK_NORMAL = 0x0
-TASK_FINAL = 0x1
-TASK_FINALITY = 0x1
-
-# Included from sys/id_space.h
-from TYPES import *
-
-# Included from sys/vmem.h
-from TYPES import *
-VM_SLEEP = 0x00000000
-VM_NOSLEEP = 0x00000001
-VM_PANIC = 0x00000002
-VM_KMFLAGS = 0x000000ff
-VM_BESTFIT = 0x00000100
-VMEM_ALLOC = 0x01
-VMEM_FREE = 0x02
-VMEM_SPAN = 0x10
-ISP_NORMAL = 0x0
-ISP_RESERVE = 0x1
-
-# Included from sys/exacct_impl.h
-from TYPES import *
-
-# Included from sys/kmem.h
-from TYPES import *
-KM_SLEEP = 0x0000
-KM_NOSLEEP = 0x0001
-KM_PANIC = 0x0002
-KM_VMFLAGS = 0x00ff
-KM_FLAGS = 0xffff
-KMC_NOTOUCH = 0x00010000
-KMC_NODEBUG = 0x00020000
-KMC_NOMAGAZINE = 0x00040000
-KMC_NOHASH = 0x00080000
-KMC_QCACHE = 0x00100000
-_ISA_IA32 = 0
-_ISA_IA64 = 1
-SSLEEP = 1
-SRUN = 2
-SZOMB = 3
-SSTOP = 4
-SIDL = 5
-SONPROC = 6
-CLDPEND = 0x0001
-CLDCONT = 0x0002
-SSYS = 0x00000001
-STRC = 0x00000002
-SLOAD = 0x00000008
-SLOCK = 0x00000010
-SPREXEC = 0x00000020
-SPROCTR = 0x00000040
-SPRFORK = 0x00000080
-SKILLED = 0x00000100
-SULOAD = 0x00000200
-SRUNLCL = 0x00000400
-SBPTADJ = 0x00000800
-SKILLCL = 0x00001000
-SOWEUPC = 0x00002000
-SEXECED = 0x00004000
-SPASYNC = 0x00008000
-SJCTL = 0x00010000
-SNOWAIT = 0x00020000
-SVFORK = 0x00040000
-SVFWAIT = 0x00080000
-EXITLWPS = 0x00100000
-HOLDFORK = 0x00200000
-SWAITSIG = 0x00400000
-HOLDFORK1 = 0x00800000
-COREDUMP = 0x01000000
-SMSACCT = 0x02000000
-ASLWP = 0x04000000
-SPRLOCK = 0x08000000
-NOCD = 0x10000000
-HOLDWATCH = 0x20000000
-SMSFORK = 0x40000000
-SDOCORE = 0x80000000
-FORREAL = 0
-JUSTLOOKING = 1
-SUSPEND_NORMAL = 0
-SUSPEND_PAUSE = 1
-NOCLASS = (-1)
-
-# Included from sys/dditypes.h
-DDI_DEVICE_ATTR_V0 = 0x0001
-DDI_NEVERSWAP_ACC = 0x00
-DDI_STRUCTURE_LE_ACC = 0x01
-DDI_STRUCTURE_BE_ACC = 0x02
-DDI_STRICTORDER_ACC = 0x00
-DDI_UNORDERED_OK_ACC = 0x01
-DDI_MERGING_OK_ACC = 0x02
-DDI_LOADCACHING_OK_ACC = 0x03
-DDI_STORECACHING_OK_ACC = 0x04
-DDI_DATA_SZ01_ACC = 1
-DDI_DATA_SZ02_ACC = 2
-DDI_DATA_SZ04_ACC = 4
-DDI_DATA_SZ08_ACC = 8
-VERS_ACCHDL = 0x0001
-DEVID_NONE = 0
-DEVID_SCSI3_WWN = 1
-DEVID_SCSI_SERIAL = 2
-DEVID_FAB = 3
-DEVID_ENCAP = 4
-DEVID_MAXTYPE = 4
-
-# Included from sys/varargs.h
-
-# Included from sys/va_list.h
-VA_ALIGN = 8
-def _ARGSIZEOF(t): return ((sizeof (t) + VA_ALIGN - 1) & ~(VA_ALIGN - 1))
-
-VA_ALIGN = 8
-def _ARGSIZEOF(t): return ((sizeof (t) + VA_ALIGN - 1) & ~(VA_ALIGN - 1))
-
-NSYSCALL = 256
-SE_32RVAL1 = 0x0
-SE_32RVAL2 = 0x1
-SE_64RVAL = 0x2
-SE_RVAL_MASK = 0x3
-SE_LOADABLE = 0x08
-SE_LOADED = 0x10
-SE_NOUNLOAD = 0x20
-SE_ARGC = 0x40
-
-# Included from sys/devops.h
-from TYPES import *
-
-# Included from sys/poll.h
-POLLIN = 0x0001
-POLLPRI = 0x0002
-POLLOUT = 0x0004
-POLLRDNORM = 0x0040
-POLLWRNORM = POLLOUT
-POLLRDBAND = 0x0080
-POLLWRBAND = 0x0100
-POLLNORM = POLLRDNORM
-POLLERR = 0x0008
-POLLHUP = 0x0010
-POLLNVAL = 0x0020
-POLLREMOVE = 0x0800
-POLLRDDATA = 0x0200
-POLLNOERR = 0x0400
-POLLCLOSED = 0x8000
-
-# Included from vm/as.h
-
-# Included from vm/seg.h
-
-# Included from sys/vnode.h
-from TYPES import *
-VROOT = 0x01
-VNOCACHE = 0x02
-VNOMAP = 0x04
-VDUP = 0x08
-VNOSWAP = 0x10
-VNOMOUNT = 0x20
-VISSWAP = 0x40
-VSWAPLIKE = 0x80
-VVFSLOCK = 0x100
-VVFSWAIT = 0x200
-VVMLOCK = 0x400
-VDIROPEN = 0x800
-VVMEXEC = 0x1000
-VPXFS = 0x2000
-AT_TYPE = 0x0001
-AT_MODE = 0x0002
-AT_UID = 0x0004
-AT_GID = 0x0008
-AT_FSID = 0x0010
-AT_NODEID = 0x0020
-AT_NLINK = 0x0040
-AT_SIZE = 0x0080
-AT_ATIME = 0x0100
-AT_MTIME = 0x0200
-AT_CTIME = 0x0400
-AT_RDEV = 0x0800
-AT_BLKSIZE = 0x1000
-AT_NBLOCKS = 0x2000
-AT_VCODE = 0x4000
-AT_ALL = (AT_TYPE|AT_MODE|AT_UID|AT_GID|AT_FSID|AT_NODEID|\
- AT_NLINK|AT_SIZE|AT_ATIME|AT_MTIME|AT_CTIME|\
- AT_RDEV|AT_BLKSIZE|AT_NBLOCKS|AT_VCODE)
-AT_STAT = (AT_MODE|AT_UID|AT_GID|AT_FSID|AT_NODEID|AT_NLINK|\
- AT_SIZE|AT_ATIME|AT_MTIME|AT_CTIME|AT_RDEV)
-AT_TIMES = (AT_ATIME|AT_MTIME|AT_CTIME)
-AT_NOSET = (AT_NLINK|AT_RDEV|AT_FSID|AT_NODEID|AT_TYPE|\
- AT_BLKSIZE|AT_NBLOCKS|AT_VCODE)
-VSUID = 0o4000
-VSGID = 0o2000
-VSVTX = 0o1000
-VREAD = 0o0400
-VWRITE = 0o0200
-VEXEC = 0o0100
-MODEMASK = 0o7777
-PERMMASK = 0o0777
-def MANDMODE(mode): return (((mode) & (VSGID|(VEXEC>>3))) == VSGID)
-
-VSA_ACL = 0x0001
-VSA_ACLCNT = 0x0002
-VSA_DFACL = 0x0004
-VSA_DFACLCNT = 0x0008
-LOOKUP_DIR = 0x01
-DUMP_ALLOC = 0
-DUMP_FREE = 1
-DUMP_SCAN = 2
-ATTR_UTIME = 0x01
-ATTR_EXEC = 0x02
-ATTR_COMM = 0x04
-ATTR_HINT = 0x08
-ATTR_REAL = 0x10
-
-# Included from vm/faultcode.h
-FC_HWERR = 0x1
-FC_ALIGN = 0x2
-FC_OBJERR = 0x3
-FC_PROT = 0x4
-FC_NOMAP = 0x5
-FC_NOSUPPORT = 0x6
-def FC_MAKE_ERR(e): return (((e) << 8) | FC_OBJERR)
-
-def FC_CODE(fc): return ((fc) & 0xff)
-
-def FC_ERRNO(fc): return ((unsigned)(fc) >> 8)
-
-
-# Included from vm/hat.h
-from TYPES import *
-
-# Included from vm/page.h
-PAGE_HASHAVELEN = 4
-PAGE_HASHVPSHIFT = 6
-PG_EXCL = 0x0001
-PG_WAIT = 0x0002
-PG_PHYSCONTIG = 0x0004
-PG_MATCH_COLOR = 0x0008
-PG_NORELOC = 0x0010
-PG_FREE_LIST = 1
-PG_CACHE_LIST = 2
-PG_LIST_TAIL = 0
-PG_LIST_HEAD = 1
-def page_next_raw(PP): return page_nextn_raw((PP), 1)
-
-PAGE_IO_INUSE = 0x1
-PAGE_IO_WANTED = 0x2
-PGREL_NOTREL = 0x1
-PGREL_CLEAN = 0x2
-PGREL_MOD = 0x3
-P_FREE = 0x80
-P_NORELOC = 0x40
-def PP_SETAGED(pp): return ASSERT(PP_ISAGED(pp))
-
-HAT_FLAGS_RESV = 0xFF000000
-HAT_LOAD = 0x00
-HAT_LOAD_LOCK = 0x01
-HAT_LOAD_ADV = 0x04
-HAT_LOAD_CONTIG = 0x10
-HAT_LOAD_NOCONSIST = 0x20
-HAT_LOAD_SHARE = 0x40
-HAT_LOAD_REMAP = 0x80
-HAT_RELOAD_SHARE = 0x100
-HAT_PLAT_ATTR_MASK = 0xF00000
-HAT_PROT_MASK = 0x0F
-HAT_NOFAULT = 0x10
-HAT_NOSYNC = 0x20
-HAT_STRICTORDER = 0x0000
-HAT_UNORDERED_OK = 0x0100
-HAT_MERGING_OK = 0x0200
-HAT_LOADCACHING_OK = 0x0300
-HAT_STORECACHING_OK = 0x0400
-HAT_ORDER_MASK = 0x0700
-HAT_NEVERSWAP = 0x0000
-HAT_STRUCTURE_BE = 0x1000
-HAT_STRUCTURE_LE = 0x2000
-HAT_ENDIAN_MASK = 0x3000
-HAT_COW = 0x0001
-HAT_UNLOAD = 0x00
-HAT_UNLOAD_NOSYNC = 0x02
-HAT_UNLOAD_UNLOCK = 0x04
-HAT_UNLOAD_OTHER = 0x08
-HAT_UNLOAD_UNMAP = 0x10
-HAT_SYNC_DONTZERO = 0x00
-HAT_SYNC_ZERORM = 0x01
-HAT_SYNC_STOPON_REF = 0x02
-HAT_SYNC_STOPON_MOD = 0x04
-HAT_SYNC_STOPON_RM = (HAT_SYNC_STOPON_REF | HAT_SYNC_STOPON_MOD)
-HAT_DUP_ALL = 1
-HAT_DUP_COW = 2
-HAT_MAP = 0x00
-HAT_ADV_PGUNLOAD = 0x00
-HAT_FORCE_PGUNLOAD = 0x01
-P_MOD = 0x1
-P_REF = 0x2
-P_RO = 0x4
-def hat_ismod(pp): return (hat_page_getattr(pp, P_MOD))
-
-def hat_isref(pp): return (hat_page_getattr(pp, P_REF))
-
-def hat_isro(pp): return (hat_page_getattr(pp, P_RO))
-
-def hat_setmod(pp): return (hat_page_setattr(pp, P_MOD))
-
-def hat_setref(pp): return (hat_page_setattr(pp, P_REF))
-
-def hat_setrefmod(pp): return (hat_page_setattr(pp, P_REF|P_MOD))
-
-def hat_clrmod(pp): return (hat_page_clrattr(pp, P_MOD))
-
-def hat_clrref(pp): return (hat_page_clrattr(pp, P_REF))
-
-def hat_clrrefmod(pp): return (hat_page_clrattr(pp, P_REF|P_MOD))
-
-def hat_page_is_mapped(pp): return (hat_page_getshare(pp))
-
-HAT_DONTALLOC = 0
-HAT_ALLOC = 1
-HRM_SHIFT = 4
-HRM_BYTES = (1 << HRM_SHIFT)
-HRM_PAGES = ((HRM_BYTES * NBBY) / 2)
-HRM_PGPERBYTE = (NBBY/2)
-HRM_PGBYTEMASK = (HRM_PGPERBYTE-1)
-HRM_HASHSIZE = 0x200
-HRM_HASHMASK = (HRM_HASHSIZE - 1)
-HRM_BLIST_INCR = 0x200
-HRM_SWSMONID = 1
-SSL_NLEVELS = 4
-SSL_BFACTOR = 4
-SSL_LOG2BF = 2
-SEGP_ASYNC_FLUSH = 0x1
-SEGP_FORCE_WIRED = 0x2
-SEGP_SUCCESS = 0
-SEGP_FAIL = 1
-def seg_pages(seg): return \
-
-IE_NOMEM = -1
-AS_PAGLCK = 0x80
-AS_CLAIMGAP = 0x40
-AS_UNMAPWAIT = 0x20
-def AS_TYPE_64BIT(as_): return \
-
-AS_LREP_LINKEDLIST = 0
-AS_LREP_SKIPLIST = 1
-AS_MUTATION_THRESH = 225
-AH_DIR = 0x1
-AH_LO = 0x0
-AH_HI = 0x1
-AH_CONTAIN = 0x2
-
-# Included from sys/ddidmareq.h
-DMA_UNIT_8 = 1
-DMA_UNIT_16 = 2
-DMA_UNIT_32 = 4
-DMALIM_VER0 = ((0x86000000) + 0)
-DDI_DMA_FORCE_PHYSICAL = 0x0100
-DMA_ATTR_V0 = 0
-DMA_ATTR_VERSION = DMA_ATTR_V0
-DDI_DMA_CALLBACK_RUNOUT = 0
-DDI_DMA_CALLBACK_DONE = 1
-DDI_DMA_WRITE = 0x0001
-DDI_DMA_READ = 0x0002
-DDI_DMA_RDWR = (DDI_DMA_READ | DDI_DMA_WRITE)
-DDI_DMA_REDZONE = 0x0004
-DDI_DMA_PARTIAL = 0x0008
-DDI_DMA_CONSISTENT = 0x0010
-DDI_DMA_EXCLUSIVE = 0x0020
-DDI_DMA_STREAMING = 0x0040
-DDI_DMA_SBUS_64BIT = 0x2000
-DDI_DMA_MAPPED = 0
-DDI_DMA_MAPOK = 0
-DDI_DMA_PARTIAL_MAP = 1
-DDI_DMA_DONE = 2
-DDI_DMA_NORESOURCES = -1
-DDI_DMA_NOMAPPING = -2
-DDI_DMA_TOOBIG = -3
-DDI_DMA_TOOSMALL = -4
-DDI_DMA_LOCKED = -5
-DDI_DMA_BADLIMITS = -6
-DDI_DMA_STALE = -7
-DDI_DMA_BADATTR = -8
-DDI_DMA_INUSE = -9
-DDI_DMA_SYNC_FORDEV = 0x0
-DDI_DMA_SYNC_FORCPU = 0x1
-DDI_DMA_SYNC_FORKERNEL = 0x2
-
-# Included from sys/ddimapreq.h
-
-# Included from sys/mman.h
-PROT_READ = 0x1
-PROT_WRITE = 0x2
-PROT_EXEC = 0x4
-PROT_USER = 0x8
-PROT_ZFOD = (PROT_READ | PROT_WRITE | PROT_EXEC | PROT_USER)
-PROT_ALL = (PROT_READ | PROT_WRITE | PROT_EXEC | PROT_USER)
-PROT_NONE = 0x0
-MAP_SHARED = 1
-MAP_PRIVATE = 2
-MAP_TYPE = 0xf
-MAP_FIXED = 0x10
-MAP_NORESERVE = 0x40
-MAP_ANON = 0x100
-MAP_ANONYMOUS = MAP_ANON
-MAP_RENAME = 0x20
-PROC_TEXT = (PROT_EXEC | PROT_READ)
-PROC_DATA = (PROT_READ | PROT_WRITE | PROT_EXEC)
-SHARED = 0x10
-PRIVATE = 0x20
-VALID_ATTR = (PROT_READ|PROT_WRITE|PROT_EXEC|SHARED|PRIVATE)
-PROT_EXCL = 0x20
-_MAP_LOW32 = 0x80
-_MAP_NEW = 0x80000000
-from TYPES import *
-MADV_NORMAL = 0
-MADV_RANDOM = 1
-MADV_SEQUENTIAL = 2
-MADV_WILLNEED = 3
-MADV_DONTNEED = 4
-MADV_FREE = 5
-MS_OLDSYNC = 0x0
-MS_SYNC = 0x4
-MS_ASYNC = 0x1
-MS_INVALIDATE = 0x2
-MC_SYNC = 1
-MC_LOCK = 2
-MC_UNLOCK = 3
-MC_ADVISE = 4
-MC_LOCKAS = 5
-MC_UNLOCKAS = 6
-MCL_CURRENT = 0x1
-MCL_FUTURE = 0x2
-DDI_MAP_VERSION = 0x0001
-DDI_MF_USER_MAPPING = 0x1
-DDI_MF_KERNEL_MAPPING = 0x2
-DDI_MF_DEVICE_MAPPING = 0x4
-DDI_ME_GENERIC = (-1)
-DDI_ME_UNIMPLEMENTED = (-2)
-DDI_ME_NORESOURCES = (-3)
-DDI_ME_UNSUPPORTED = (-4)
-DDI_ME_REGSPEC_RANGE = (-5)
-DDI_ME_RNUMBER_RANGE = (-6)
-DDI_ME_INVAL = (-7)
-
-# Included from sys/ddipropdefs.h
-def CELLS_1275_TO_BYTES(n): return ((n) * PROP_1275_CELL_SIZE)
-
-def BYTES_TO_1275_CELLS(n): return ((n) / PROP_1275_CELL_SIZE)
-
-PH_FROM_PROM = 0x01
-DDI_PROP_SUCCESS = 0
-DDI_PROP_NOT_FOUND = 1
-DDI_PROP_UNDEFINED = 2
-DDI_PROP_NO_MEMORY = 3
-DDI_PROP_INVAL_ARG = 4
-DDI_PROP_BUF_TOO_SMALL = 5
-DDI_PROP_CANNOT_DECODE = 6
-DDI_PROP_CANNOT_ENCODE = 7
-DDI_PROP_END_OF_DATA = 8
-DDI_PROP_FOUND_1275 = 255
-PROP_1275_INT_SIZE = 4
-DDI_PROP_DONTPASS = 0x0001
-DDI_PROP_CANSLEEP = 0x0002
-DDI_PROP_SYSTEM_DEF = 0x0004
-DDI_PROP_NOTPROM = 0x0008
-DDI_PROP_DONTSLEEP = 0x0010
-DDI_PROP_STACK_CREATE = 0x0020
-DDI_PROP_UNDEF_IT = 0x0040
-DDI_PROP_HW_DEF = 0x0080
-DDI_PROP_TYPE_INT = 0x0100
-DDI_PROP_TYPE_STRING = 0x0200
-DDI_PROP_TYPE_BYTE = 0x0400
-DDI_PROP_TYPE_COMPOSITE = 0x0800
-DDI_PROP_TYPE_ANY = (DDI_PROP_TYPE_INT | \
- DDI_PROP_TYPE_STRING | \
- DDI_PROP_TYPE_BYTE | \
- DDI_PROP_TYPE_COMPOSITE)
-DDI_PROP_TYPE_MASK = (DDI_PROP_TYPE_INT | \
- DDI_PROP_TYPE_STRING | \
- DDI_PROP_TYPE_BYTE | \
- DDI_PROP_TYPE_COMPOSITE)
-DDI_RELATIVE_ADDRESSING = "relative-addressing"
-DDI_GENERIC_ADDRESSING = "generic-addressing"
-
-# Included from sys/ddidevmap.h
-KMEM_PAGEABLE = 0x100
-KMEM_NON_PAGEABLE = 0x200
-UMEM_LOCKED = 0x400
-UMEM_TRASH = 0x800
-DEVMAP_OPS_REV = 1
-DEVMAP_DEFAULTS = 0x00
-DEVMAP_MAPPING_INVALID = 0x01
-DEVMAP_ALLOW_REMAP = 0x02
-DEVMAP_USE_PAGESIZE = 0x04
-DEVMAP_SETUP_FLAGS = \
- (DEVMAP_MAPPING_INVALID | DEVMAP_ALLOW_REMAP | DEVMAP_USE_PAGESIZE)
-DEVMAP_SETUP_DONE = 0x100
-DEVMAP_LOCK_INITED = 0x200
-DEVMAP_FAULTING = 0x400
-DEVMAP_LOCKED = 0x800
-DEVMAP_FLAG_LARGE = 0x1000
-DDI_UMEM_SLEEP = 0x0
-DDI_UMEM_NOSLEEP = 0x01
-DDI_UMEM_PAGEABLE = 0x02
-DDI_UMEM_TRASH = 0x04
-DDI_UMEMLOCK_READ = 0x01
-DDI_UMEMLOCK_WRITE = 0x02
-
-# Included from sys/nexusdefs.h
-
-# Included from sys/nexusintr.h
-BUSO_REV = 4
-BUSO_REV_3 = 3
-BUSO_REV_4 = 4
-DEVO_REV = 3
-CB_REV = 1
-DDI_IDENTIFIED = (0)
-DDI_NOT_IDENTIFIED = (-1)
-DDI_PROBE_FAILURE = ENXIO
-DDI_PROBE_DONTCARE = 0
-DDI_PROBE_PARTIAL = 1
-DDI_PROBE_SUCCESS = 2
-MAPDEV_REV = 1
-from TYPES import *
-D_NEW = 0x00
-_D_OLD = 0x01
-D_TAPE = 0x08
-D_MTSAFE = 0x0020
-_D_QNEXTLESS = 0x0040
-_D_MTOCSHARED = 0x0080
-D_MTOCEXCL = 0x0800
-D_MTPUTSHARED = 0x1000
-D_MTPERQ = 0x2000
-D_MTQPAIR = 0x4000
-D_MTPERMOD = 0x6000
-D_MTOUTPERIM = 0x8000
-_D_MTCBSHARED = 0x10000
-D_MTINNER_MOD = (D_MTPUTSHARED|_D_MTOCSHARED|_D_MTCBSHARED)
-D_MTOUTER_MOD = (D_MTOCEXCL)
-D_MP = D_MTSAFE
-D_64BIT = 0x200
-D_SYNCSTR = 0x400
-D_DEVMAP = 0x100
-D_HOTPLUG = 0x4
-SNDZERO = 0x001
-SNDPIPE = 0x002
-RNORM = 0x000
-RMSGD = 0x001
-RMSGN = 0x002
-RMODEMASK = 0x003
-RPROTDAT = 0x004
-RPROTDIS = 0x008
-RPROTNORM = 0x010
-RPROTMASK = 0x01c
-RFLUSHMASK = 0x020
-RFLUSHPCPROT = 0x020
-RERRNORM = 0x001
-RERRNONPERSIST = 0x002
-RERRMASK = (RERRNORM|RERRNONPERSIST)
-WERRNORM = 0x004
-WERRNONPERSIST = 0x008
-WERRMASK = (WERRNORM|WERRNONPERSIST)
-FLUSHR = 0x01
-FLUSHW = 0x02
-FLUSHRW = 0x03
-FLUSHBAND = 0x04
-MAPINOK = 0x01
-NOMAPIN = 0x02
-REMAPOK = 0x04
-NOREMAP = 0x08
-S_INPUT = 0x0001
-S_HIPRI = 0x0002
-S_OUTPUT = 0x0004
-S_MSG = 0x0008
-S_ERROR = 0x0010
-S_HANGUP = 0x0020
-S_RDNORM = 0x0040
-S_WRNORM = S_OUTPUT
-S_RDBAND = 0x0080
-S_WRBAND = 0x0100
-S_BANDURG = 0x0200
-RS_HIPRI = 0x01
-STRUIO_POSTPONE = 0x08
-STRUIO_MAPIN = 0x10
-MSG_HIPRI = 0x01
-MSG_ANY = 0x02
-MSG_BAND = 0x04
-MSG_XPG4 = 0x08
-MSG_IPEEK = 0x10
-MSG_DISCARDTAIL = 0x20
-MSG_HOLDSIG = 0x40
-MSG_IGNERROR = 0x80
-MSG_DELAYERROR = 0x100
-MSG_IGNFLOW = 0x200
-MSG_NOMARK = 0x400
-MORECTL = 1
-MOREDATA = 2
-MUXID_ALL = (-1)
-ANYMARK = 0x01
-LASTMARK = 0x02
-_INFTIM = -1
-INFTIM = _INFTIM
diff --git a/Lib/plat-sunos5/TYPES.py b/Lib/plat-sunos5/TYPES.py
deleted file mode 100644
index da4e6b1..0000000
--- a/Lib/plat-sunos5/TYPES.py
+++ /dev/null
@@ -1,313 +0,0 @@
-# Generated by h2py from /usr/include/sys/types.h
-
-# Included from sys/isa_defs.h
-_CHAR_ALIGNMENT = 1
-_SHORT_ALIGNMENT = 2
-_INT_ALIGNMENT = 4
-_LONG_ALIGNMENT = 8
-_LONG_LONG_ALIGNMENT = 8
-_DOUBLE_ALIGNMENT = 8
-_LONG_DOUBLE_ALIGNMENT = 16
-_POINTER_ALIGNMENT = 8
-_MAX_ALIGNMENT = 16
-_ALIGNMENT_REQUIRED = 1
-_CHAR_ALIGNMENT = 1
-_SHORT_ALIGNMENT = 2
-_INT_ALIGNMENT = 4
-_LONG_ALIGNMENT = 4
-_LONG_LONG_ALIGNMENT = 4
-_DOUBLE_ALIGNMENT = 4
-_LONG_DOUBLE_ALIGNMENT = 4
-_POINTER_ALIGNMENT = 4
-_MAX_ALIGNMENT = 4
-_ALIGNMENT_REQUIRED = 0
-_CHAR_ALIGNMENT = 1
-_SHORT_ALIGNMENT = 2
-_INT_ALIGNMENT = 4
-_LONG_LONG_ALIGNMENT = 8
-_DOUBLE_ALIGNMENT = 8
-_ALIGNMENT_REQUIRED = 1
-_LONG_ALIGNMENT = 4
-_LONG_DOUBLE_ALIGNMENT = 8
-_POINTER_ALIGNMENT = 4
-_MAX_ALIGNMENT = 8
-_LONG_ALIGNMENT = 8
-_LONG_DOUBLE_ALIGNMENT = 16
-_POINTER_ALIGNMENT = 8
-_MAX_ALIGNMENT = 16
-
-# Included from sys/feature_tests.h
-_POSIX_C_SOURCE = 1
-_LARGEFILE64_SOURCE = 1
-_LARGEFILE_SOURCE = 1
-_FILE_OFFSET_BITS = 64
-_FILE_OFFSET_BITS = 32
-_POSIX_C_SOURCE = 199506
-_POSIX_PTHREAD_SEMANTICS = 1
-_XOPEN_VERSION = 500
-_XOPEN_VERSION = 4
-_XOPEN_VERSION = 3
-
-# Included from sys/machtypes.h
-
-# Included from sys/inttypes.h
-
-# Included from sys/int_types.h
-
-# Included from sys/int_limits.h
-INT8_MAX = (127)
-INT16_MAX = (32767)
-INT32_MAX = (2147483647)
-INTMAX_MAX = INT32_MAX
-INT_LEAST8_MAX = INT8_MAX
-INT_LEAST16_MAX = INT16_MAX
-INT_LEAST32_MAX = INT32_MAX
-INT8_MIN = (-128)
-INT16_MIN = (-32767-1)
-INT32_MIN = (-2147483647-1)
-INTMAX_MIN = INT32_MIN
-INT_LEAST8_MIN = INT8_MIN
-INT_LEAST16_MIN = INT16_MIN
-INT_LEAST32_MIN = INT32_MIN
-
-# Included from sys/int_const.h
-def INT8_C(c): return (c)
-
-def INT16_C(c): return (c)
-
-def INT32_C(c): return (c)
-
-def INT64_C(c): return __CONCAT__(c,l)
-
-def INT64_C(c): return __CONCAT__(c,ll)
-
-def UINT8_C(c): return __CONCAT__(c,u)
-
-def UINT16_C(c): return __CONCAT__(c,u)
-
-def UINT32_C(c): return __CONCAT__(c,u)
-
-def UINT64_C(c): return __CONCAT__(c,ul)
-
-def UINT64_C(c): return __CONCAT__(c,ull)
-
-def INTMAX_C(c): return __CONCAT__(c,l)
-
-def UINTMAX_C(c): return __CONCAT__(c,ul)
-
-def INTMAX_C(c): return __CONCAT__(c,ll)
-
-def UINTMAX_C(c): return __CONCAT__(c,ull)
-
-def INTMAX_C(c): return (c)
-
-def UINTMAX_C(c): return (c)
-
-
-# Included from sys/int_fmtio.h
-PRId8 = "d"
-PRId16 = "d"
-PRId32 = "d"
-PRId64 = "ld"
-PRId64 = "lld"
-PRIdLEAST8 = "d"
-PRIdLEAST16 = "d"
-PRIdLEAST32 = "d"
-PRIdLEAST64 = "ld"
-PRIdLEAST64 = "lld"
-PRIi8 = "i"
-PRIi16 = "i"
-PRIi32 = "i"
-PRIi64 = "li"
-PRIi64 = "lli"
-PRIiLEAST8 = "i"
-PRIiLEAST16 = "i"
-PRIiLEAST32 = "i"
-PRIiLEAST64 = "li"
-PRIiLEAST64 = "lli"
-PRIo8 = "o"
-PRIo16 = "o"
-PRIo32 = "o"
-PRIo64 = "lo"
-PRIo64 = "llo"
-PRIoLEAST8 = "o"
-PRIoLEAST16 = "o"
-PRIoLEAST32 = "o"
-PRIoLEAST64 = "lo"
-PRIoLEAST64 = "llo"
-PRIx8 = "x"
-PRIx16 = "x"
-PRIx32 = "x"
-PRIx64 = "lx"
-PRIx64 = "llx"
-PRIxLEAST8 = "x"
-PRIxLEAST16 = "x"
-PRIxLEAST32 = "x"
-PRIxLEAST64 = "lx"
-PRIxLEAST64 = "llx"
-PRIX8 = "X"
-PRIX16 = "X"
-PRIX32 = "X"
-PRIX64 = "lX"
-PRIX64 = "llX"
-PRIXLEAST8 = "X"
-PRIXLEAST16 = "X"
-PRIXLEAST32 = "X"
-PRIXLEAST64 = "lX"
-PRIXLEAST64 = "llX"
-PRIu8 = "u"
-PRIu16 = "u"
-PRIu32 = "u"
-PRIu64 = "lu"
-PRIu64 = "llu"
-PRIuLEAST8 = "u"
-PRIuLEAST16 = "u"
-PRIuLEAST32 = "u"
-PRIuLEAST64 = "lu"
-PRIuLEAST64 = "llu"
-SCNd16 = "hd"
-SCNd32 = "d"
-SCNd64 = "ld"
-SCNd64 = "lld"
-SCNi16 = "hi"
-SCNi32 = "i"
-SCNi64 = "li"
-SCNi64 = "lli"
-SCNo16 = "ho"
-SCNo32 = "o"
-SCNo64 = "lo"
-SCNo64 = "llo"
-SCNu16 = "hu"
-SCNu32 = "u"
-SCNu64 = "lu"
-SCNu64 = "llu"
-SCNx16 = "hx"
-SCNx32 = "x"
-SCNx64 = "lx"
-SCNx64 = "llx"
-PRIdMAX = "ld"
-PRIoMAX = "lo"
-PRIxMAX = "lx"
-PRIuMAX = "lu"
-PRIdMAX = "lld"
-PRIoMAX = "llo"
-PRIxMAX = "llx"
-PRIuMAX = "llu"
-PRIdMAX = "d"
-PRIoMAX = "o"
-PRIxMAX = "x"
-PRIuMAX = "u"
-SCNiMAX = "li"
-SCNdMAX = "ld"
-SCNoMAX = "lo"
-SCNxMAX = "lx"
-SCNiMAX = "lli"
-SCNdMAX = "lld"
-SCNoMAX = "llo"
-SCNxMAX = "llx"
-SCNiMAX = "i"
-SCNdMAX = "d"
-SCNoMAX = "o"
-SCNxMAX = "x"
-
-# Included from sys/types32.h
-SHRT_MIN = (-32768)
-SHRT_MAX = 32767
-USHRT_MAX = 65535
-INT_MIN = (-2147483647-1)
-INT_MAX = 2147483647
-LONG_MIN = (-9223372036854775807-1)
-LONG_MAX = 9223372036854775807
-LONG_MIN = (-2147483647-1)
-LONG_MAX = 2147483647
-P_MYID = (-1)
-
-# Included from sys/select.h
-
-# Included from sys/time.h
-TIME32_MAX = INT32_MAX
-TIME32_MIN = INT32_MIN
-def TIMEVAL_OVERFLOW(tv): return \
-
-from TYPES import *
-DST_NONE = 0
-DST_USA = 1
-DST_AUST = 2
-DST_WET = 3
-DST_MET = 4
-DST_EET = 5
-DST_CAN = 6
-DST_GB = 7
-DST_RUM = 8
-DST_TUR = 9
-DST_AUSTALT = 10
-ITIMER_REAL = 0
-ITIMER_VIRTUAL = 1
-ITIMER_PROF = 2
-ITIMER_REALPROF = 3
-def ITIMERVAL_OVERFLOW(itv): return \
-
-SEC = 1
-MILLISEC = 1000
-MICROSEC = 1000000
-NANOSEC = 1000000000
-
-# Included from sys/time_impl.h
-def TIMESPEC_OVERFLOW(ts): return \
-
-def ITIMERSPEC_OVERFLOW(it): return \
-
-__CLOCK_REALTIME0 = 0
-CLOCK_VIRTUAL = 1
-CLOCK_PROF = 2
-__CLOCK_REALTIME3 = 3
-CLOCK_HIGHRES = 4
-CLOCK_MAX = 5
-CLOCK_REALTIME = __CLOCK_REALTIME3
-CLOCK_REALTIME = __CLOCK_REALTIME0
-TIMER_RELTIME = 0x0
-TIMER_ABSTIME = 0x1
-
-# Included from sys/mutex.h
-from TYPES import *
-def MUTEX_HELD(x): return (mutex_owned(x))
-
-def TICK_TO_SEC(tick): return ((tick) / hz)
-
-def SEC_TO_TICK(sec): return ((sec) * hz)
-
-def TICK_TO_MSEC(tick): return \
-
-def MSEC_TO_TICK(msec): return \
-
-def MSEC_TO_TICK_ROUNDUP(msec): return \
-
-def TICK_TO_USEC(tick): return ((tick) * usec_per_tick)
-
-def USEC_TO_TICK(usec): return ((usec) / usec_per_tick)
-
-def USEC_TO_TICK_ROUNDUP(usec): return \
-
-def TICK_TO_NSEC(tick): return ((tick) * nsec_per_tick)
-
-def NSEC_TO_TICK(nsec): return ((nsec) / nsec_per_tick)
-
-def NSEC_TO_TICK_ROUNDUP(nsec): return \
-
-def TIMEVAL_TO_TICK(tvp): return \
-
-def TIMESTRUC_TO_TICK(tsp): return \
-
-
-# Included from time.h
-from TYPES import *
-
-# Included from iso/time_iso.h
-NULL = 0
-NULL = 0
-CLOCKS_PER_SEC = 1000000
-FD_SETSIZE = 65536
-FD_SETSIZE = 1024
-_NBBY = 8
-NBBY = _NBBY
-def FD_ZERO(p): return bzero((p), sizeof (*(p)))
diff --git a/Lib/plat-sunos5/regen b/Lib/plat-sunos5/regen
deleted file mode 100755
index 78cb7de..0000000
--- a/Lib/plat-sunos5/regen
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /bin/sh
-case `uname -sr` in
-'SunOS 5.'*) ;;
-*) echo Probably not on a Solaris 2 system 1>&2
- exit 1;;
-esac
-set -v
-h2py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/sys/stropts.h /usr/include/dlfcn.h
-
diff --git a/Lib/plat-unixware7/IN.py b/Lib/plat-unixware7/IN.py
deleted file mode 100644
index af023b4..0000000
--- a/Lib/plat-unixware7/IN.py
+++ /dev/null
@@ -1,836 +0,0 @@
-# Generated by h2py from /usr/include/netinet/in.h
-
-# Included from netinet/in_f.h
-def IN_CLASSA(i): return (((int)(i) & 0x80000000) == 0)
-
-IN_CLASSA_NET = 0xff000000
-IN_CLASSA_NSHIFT = 24
-IN_CLASSA_HOST = 0x00ffffff
-IN_CLASSA_MAX = 128
-def IN_CLASSB(i): return (((int)(i) & 0xc0000000) == 0x80000000)
-
-IN_CLASSB_NET = 0xffff0000
-IN_CLASSB_NSHIFT = 16
-IN_CLASSB_HOST = 0x0000ffff
-IN_CLASSB_MAX = 65536
-def IN_CLASSC(i): return (((int)(i) & 0xe0000000) == 0xc0000000)
-
-IN_CLASSC_NET = 0xffffff00
-IN_CLASSC_NSHIFT = 8
-IN_CLASSC_HOST = 0x000000ff
-def IN_CLASSD(i): return (((int)(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 (((int)(i) & 0xe0000000) == 0xe0000000)
-
-def IN_BADCLASS(i): return (((int)(i) & 0xf0000000) == 0xf0000000)
-
-INADDR_ANY = 0x00000000
-INADDR_LOOPBACK = 0x7f000001
-INADDR_BROADCAST = 0xffffffff
-INADDR_NONE = 0xffffffff
-IN_LOOPBACKNET = 127
-INADDR_UNSPEC_GROUP = 0xe0000000
-INADDR_ALLHOSTS_GROUP = 0xe0000001
-INADDR_ALLRTRS_GROUP = 0xe0000002
-INADDR_MAX_LOCAL_GROUP = 0xe00000ff
-
-# Included from netinet/in6.h
-
-# Included from sys/types.h
-def quad_low(x): return x.val[0]
-
-ADT_EMASKSIZE = 8
-SHRT_MIN = -32768
-SHRT_MAX = 32767
-INT_MIN = (-2147483647-1)
-INT_MAX = 2147483647
-LONG_MIN = (-2147483647-1)
-LONG_MAX = 2147483647
-OFF32_MAX = LONG_MAX
-ISTAT_ASSERTED = 0
-ISTAT_ASSUMED = 1
-ISTAT_NONE = 2
-OFF_MAX = OFF32_MAX
-CLOCK_MAX = LONG_MAX
-P_MYID = (-1)
-P_MYHOSTID = (-1)
-
-# Included from sys/select.h
-FD_SETSIZE = 4096
-NBBY = 8
-NULL = 0
-
-# Included from sys/bitypes.h
-
-# Included from netinet/in6_f.h
-def IN6_IS_ADDR_UNSPECIFIED(a): return IN6_ADDR_EQUAL_L(a, 0, 0, 0, 0)
-
-def IN6_SET_ADDR_UNSPECIFIED(a): return IN6_ADDR_COPY_L(a, 0, 0, 0, 0)
-
-def IN6_IS_ADDR_ANY(a): return IN6_ADDR_EQUAL_L(a, 0, 0, 0, 0)
-
-def IN6_SET_ADDR_ANY(a): return IN6_ADDR_COPY_L(a, 0, 0, 0, 0)
-
-def IN6_IS_ADDR_LOOPBACK(a): return IN6_ADDR_EQUAL_L(a, 0, 0, 0, 0x01000000)
-
-def IN6_SET_ADDR_LOOPBACK(a): return IN6_ADDR_COPY_L(a, 0, 0, 0, 0x01000000)
-
-IN6_MC_FLAG_PERMANENT = 0x0
-IN6_MC_FLAG_TRANSIENT = 0x1
-IN6_MC_SCOPE_NODELOCAL = 0x1
-IN6_MC_SCOPE_LINKLOCAL = 0x2
-IN6_MC_SCOPE_SITELOCAL = 0x5
-IN6_MC_SCOPE_ORGLOCAL = 0x8
-IN6_MC_SCOPE_GLOBAL = 0xE
-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 \
-
-
-# Included from sys/convsa.h
-__NETLIB_UW211_SVR4 = 1
-__NETLIB_UW211_XPG4 = 2
-__NETLIB_GEMINI_SVR4 = 3
-__NETLIB_GEMINI_XPG4 = 4
-__NETLIB_FP1_SVR4 = 5
-__NETLIB_FP1_XPG4 = 6
-__NETLIB_BASE_VERSION__ = __NETLIB_UW211_SVR4
-__NETLIB_VERSION__ = __NETLIB_FP1_SVR4
-__NETLIB_VERSION__ = __NETLIB_FP1_XPG4
-__NETLIB_VERSION__ = __NETLIB_GEMINI_SVR4
-__NETLIB_VERSION__ = __NETLIB_GEMINI_XPG4
-__NETLIB_VERSION__ = __NETLIB_UW211_SVR4
-__NETLIB_VERSION__ = __NETLIB_UW211_XPG4
-__NETLIB_VERSION__ = __NETLIB_FP1_XPG4
-
-# Included from sys/byteorder.h
-LITTLE_ENDIAN = 1234
-BIG_ENDIAN = 4321
-PDP_ENDIAN = 3412
-
-# Included from sys/byteorder_f.h
-BYTE_ORDER = LITTLE_ENDIAN
-def htonl(hl): return __htonl(hl)
-
-def ntohl(nl): return __ntohl(nl)
-
-def htons(hs): return __htons(hs)
-
-def ntohs(ns): return __ntohs(ns)
-
-def ntohl(x): return (x)
-
-def ntohs(x): return (x)
-
-def htonl(x): return (x)
-
-def htons(x): return (x)
-
-def __NETLIB_VERSION_IS_XPG4(version): return (((version) % 2) == 0)
-
-def __NETLIB_VERSION_HAS_SALEN(version): return ((version) >= __NETLIB_GEMINI_SVR4)
-
-def __NETLIB_VERSION_IS_IKS(version): return ((version) >= __NETLIB_FP1_SVR4)
-
-def SA_FAMILY_GET(sa): return \
-
-INET6_ADDRSTRLEN = 46
-IPV6_UNICAST_HOPS = 3
-IPV6_ADDRFORM = 24
-IPV6_MULTICAST_HOPS = 25
-IPV6_MULTICAST_IF = 26
-IPV6_MULTICAST_LOOP = 27
-IPV6_ADD_MEMBERSHIP = 28
-IPV6_DROP_MEMBERSHIP = 29
-
-# Included from sys/insrem.h
-def LIST_INIT(head): return \
-
-def LIST_INIT(head): return \
-
-def remque(a): return REMQUE(a)
-
-
-# Included from sys/socket.h
-
-# Included from sys/uio.h
-SHUT_RD = 0
-SHUT_WR = 1
-SHUT_RDWR = 2
-
-# Included from sys/netconfig.h
-
-# Included from sys/cdefs.h
-def __P(protos): return protos
-
-def __STRING(x): return #x
-
-def __P(protos): return ()
-
-def __STRING(x): return "x"
-
-NETCONFIG = "/etc/netconfig"
-NETPATH = "NETPATH"
-NC_TPI_CLTS = 1
-NC_TPI_COTS = 2
-NC_TPI_COTS_ORD = 3
-NC_TPI_RAW = 4
-NC_NOFLAG = 00
-NC_VISIBLE = 0o1
-NC_BROADCAST = 0o2
-NC_NOPROTOFMLY = "-"
-NC_LOOPBACK = "loopback"
-NC_INET = "inet"
-NC_INET6 = "inet6"
-NC_IMPLINK = "implink"
-NC_PUP = "pup"
-NC_CHAOS = "chaos"
-NC_NS = "ns"
-NC_NBS = "nbs"
-NC_ECMA = "ecma"
-NC_DATAKIT = "datakit"
-NC_CCITT = "ccitt"
-NC_SNA = "sna"
-NC_DECNET = "decnet"
-NC_DLI = "dli"
-NC_LAT = "lat"
-NC_HYLINK = "hylink"
-NC_APPLETALK = "appletalk"
-NC_NIT = "nit"
-NC_IEEE802 = "ieee802"
-NC_OSI = "osi"
-NC_X25 = "x25"
-NC_OSINET = "osinet"
-NC_GOSIP = "gosip"
-NC_NETWARE = "netware"
-NC_NOPROTO = "-"
-NC_TCP = "tcp"
-NC_UDP = "udp"
-NC_ICMP = "icmp"
-NC_IPX = "ipx"
-NC_SPX = "spx"
-NC_TPI_CLTS = 1
-NC_TPI_COTS = 2
-NC_TPI_COTS_ORD = 3
-NC_TPI_RAW = 4
-SOCK_STREAM = 2
-SOCK_DGRAM = 1
-SOCK_RAW = 4
-SOCK_RDM = 5
-SOCK_SEQPACKET = 6
-SO_DEBUG = 0x0001
-SO_ACCEPTCONN = 0x0002
-SO_REUSEADDR = 0x0004
-SO_KEEPALIVE = 0x0008
-SO_DONTROUTE = 0x0010
-SO_BROADCAST = 0x0020
-SO_USELOOPBACK = 0x0040
-SO_LINGER = 0x0080
-SO_OOBINLINE = 0x0100
-SO_ORDREL = 0x0200
-SO_IMASOCKET = 0x0400
-SO_MGMT = 0x0800
-SO_REUSEPORT = 0x1000
-SO_LISTENING = 0x2000
-SO_RDWR = 0x4000
-SO_SEMA = 0x8000
-SO_DONTLINGER = (~SO_LINGER)
-SO_SNDBUF = 0x1001
-SO_RCVBUF = 0x1002
-SO_SNDLOWAT = 0x1003
-SO_RCVLOWAT = 0x1004
-SO_SNDTIMEO = 0x1005
-SO_RCVTIMEO = 0x1006
-SO_ERROR = 0x1007
-SO_TYPE = 0x1008
-SO_PROTOTYPE = 0x1009
-SO_ALLRAW = 0x100a
-SOL_SOCKET = 0xffff
-AF_UNSPEC = 0
-AF_UNIX = 1
-AF_LOCAL = AF_UNIX
-AF_INET = 2
-AF_IMPLINK = 3
-AF_PUP = 4
-AF_CHAOS = 5
-AF_NS = 6
-AF_NBS = 7
-AF_ECMA = 8
-AF_DATAKIT = 9
-AF_CCITT = 10
-AF_SNA = 11
-AF_DECnet = 12
-AF_DLI = 13
-AF_LAT = 14
-AF_HYLINK = 15
-AF_APPLETALK = 16
-AF_NIT = 17
-AF_802 = 18
-AF_OSI = 19
-AF_ISO = AF_OSI
-AF_X25 = 20
-AF_OSINET = 21
-AF_GOSIP = 22
-AF_YNET = 23
-AF_ROUTE = 24
-AF_LINK = 25
-pseudo_AF_XTP = 26
-AF_INET6 = 27
-AF_MAX = 27
-AF_INET_BSWAP = 0x0200
-PF_UNSPEC = AF_UNSPEC
-PF_UNIX = AF_UNIX
-PF_LOCAL = AF_LOCAL
-PF_INET = AF_INET
-PF_IMPLINK = AF_IMPLINK
-PF_PUP = AF_PUP
-PF_CHAOS = AF_CHAOS
-PF_NS = AF_NS
-PF_NBS = AF_NBS
-PF_ECMA = AF_ECMA
-PF_DATAKIT = AF_DATAKIT
-PF_CCITT = AF_CCITT
-PF_SNA = AF_SNA
-PF_DECnet = AF_DECnet
-PF_DLI = AF_DLI
-PF_LAT = AF_LAT
-PF_HYLINK = AF_HYLINK
-PF_APPLETALK = AF_APPLETALK
-PF_NIT = AF_NIT
-PF_802 = AF_802
-PF_OSI = AF_OSI
-PF_ISO = PF_OSI
-PF_X25 = AF_X25
-PF_OSINET = AF_OSINET
-PF_GOSIP = AF_GOSIP
-PF_YNET = AF_YNET
-PF_ROUTE = AF_ROUTE
-PF_LINK = AF_LINK
-pseudo_PF_XTP = pseudo_AF_XTP
-PF_INET6 = AF_INET6
-PF_MAX = AF_MAX
-SOMAXCONN = 5
-SCM_RIGHTS = 1
-MSG_OOB = 0x1
-MSG_PEEK = 0x2
-MSG_DONTROUTE = 0x4
-MSG_CTRUNC = 0x8
-MSG_TRUNC = 0x10
-MSG_EOR = 0x30
-MSG_WAITALL = 0x20
-MSG_MAXIOVLEN = 16
-def OPTLEN(x): return ((((x) + sizeof(int) - 1) / sizeof(int)) * sizeof(int))
-
-GIARG = 0x1
-CONTI = 0x2
-GITAB = 0x4
-SOCKETSYS = 88
-SOCKETSYS = 83
-SO_ACCEPT = 1
-SO_BIND = 2
-SO_CONNECT = 3
-SO_GETPEERNAME = 4
-SO_GETSOCKNAME = 5
-SO_GETSOCKOPT = 6
-SO_LISTEN = 7
-SO_RECV = 8
-SO_RECVFROM = 9
-SO_SEND = 10
-SO_SENDTO = 11
-SO_SETSOCKOPT = 12
-SO_SHUTDOWN = 13
-SO_SOCKET = 14
-SO_SOCKPOLL = 15
-SO_GETIPDOMAIN = 16
-SO_SETIPDOMAIN = 17
-SO_ADJTIME = 18
-
-# Included from sys/stream.h
-
-# Included from sys/cred.h
-
-# Included from sys/ksynch.h
-
-# Included from sys/dl.h
-SIGNBIT = 0x80000000
-
-# Included from sys/ipl.h
-
-# Included from sys/disp_p.h
-
-# Included from sys/trap.h
-DIVERR = 0
-SGLSTP = 1
-NMIFLT = 2
-BPTFLT = 3
-INTOFLT = 4
-BOUNDFLT = 5
-INVOPFLT = 6
-NOEXTFLT = 7
-DBLFLT = 8
-EXTOVRFLT = 9
-INVTSSFLT = 10
-SEGNPFLT = 11
-STKFLT = 12
-GPFLT = 13
-PGFLT = 14
-EXTERRFLT = 16
-ALIGNFLT = 17
-MCEFLT = 18
-USERFLT = 0x100
-TRP_PREEMPT = 0x200
-TRP_UNUSED = 0x201
-PF_ERR_MASK = 0x01
-PF_ERR_PAGE = 0
-PF_ERR_PROT = 1
-PF_ERR_WRITE = 2
-PF_ERR_USER = 4
-EVT_STRSCHED = 0x04
-EVT_GLOBCALLOUT = 0x08
-EVT_LCLCALLOUT = 0x10
-EVT_SOFTINTMASK = (EVT_STRSCHED|EVT_GLOBCALLOUT|EVT_LCLCALLOUT)
-PL0 = 0
-PL1 = 1
-PL2 = 2
-PL3 = 3
-PL4 = 4
-PL5 = 5
-PL6 = 6
-PLHI = 8
-PL7 = PLHI
-PLBASE = PL0
-PLTIMEOUT = PL1
-PLDISK = PL5
-PLSTR = PL6
-PLTTY = PLSTR
-PLMIN = PL0
-PLMIN = PL1
-MAX_INTR_LEVELS = 10
-MAX_INTR_NESTING = 50
-STRSCHED = EVT_STRSCHED
-GLOBALSOFTINT = EVT_GLOBCALLOUT
-LOCALSOFTINT = EVT_LCLCALLOUT
-
-# Included from sys/ksynch_p.h
-def GET_TIME(timep): return \
-
-LK_THRESHOLD = 500000
-
-# Included from sys/list.h
-
-# Included from sys/listasm.h
-def remque_null(e): return \
-
-def LS_ISEMPTY(listp): return \
-
-LK_BASIC = 0x1
-LK_SLEEP = 0x2
-LK_NOSTATS = 0x4
-def CYCLES_SINCE(c): return CYCLES_BETWEEN((c), CYCLES())
-
-LSB_NLKDS = 92
-EVT_RUNRUN = 0x01
-EVT_KPRUNRUN = 0x02
-SP_UNLOCKED = 0
-SP_LOCKED = 1
-KS_LOCKTEST = 0x01
-KS_MPSTATS = 0x02
-KS_DEINITED = 0x04
-KS_NVLTTRACE = 0x08
-RWS_READ = (ord('r'))
-RWS_WRITE = (ord('w'))
-RWS_UNLOCKED = (ord('u'))
-RWS_BUSY = (ord('b'))
-def SLEEP_LOCKOWNED(lkp): return \
-
-def SLEEP_DISOWN(lkp): return \
-
-KS_NOPRMPT = 0x00000001
-__KS_LOCKTEST = KS_LOCKTEST
-__KS_LOCKTEST = 0
-__KS_MPSTATS = KS_MPSTATS
-__KS_MPSTATS = 0
-__KS_NVLTTRACE = KS_NVLTTRACE
-__KS_NVLTTRACE = 0
-KSFLAGS = (__KS_LOCKTEST|__KS_MPSTATS|__KS_NVLTTRACE)
-KSVUNIPROC = 1
-KSVMPDEBUG = 2
-KSVMPNODEBUG = 3
-KSVFLAG = KSVUNIPROC
-KSVFLAG = KSVMPDEBUG
-KSVFLAG = KSVMPNODEBUG
-
-# Included from sys/ksinline.h
-_A_SP_LOCKED = 1
-_A_SP_UNLOCKED = 0
-_A_INVPL = -1
-def _ATOMIC_INT_INCR(atomic_intp): return \
-
-def _ATOMIC_INT_DECR(atomic_intp): return \
-
-def ATOMIC_INT_READ(atomic_intp): return _ATOMIC_INT_READ(atomic_intp)
-
-def ATOMIC_INT_INCR(atomic_intp): return _ATOMIC_INT_INCR(atomic_intp)
-
-def ATOMIC_INT_DECR(atomic_intp): return _ATOMIC_INT_DECR(atomic_intp)
-
-def FSPIN_INIT(lp): return
-
-def FSPIN_LOCK(l): return DISABLE()
-
-def FSPIN_TRYLOCK(l): return (DISABLE(), B_TRUE)
-
-def FSPIN_UNLOCK(l): return ENABLE()
-
-def LOCK_DEINIT(lp): return
-
-def LOCK_DEALLOC(lp): return
-
-def LOCK_OWNED(lp): return (B_TRUE)
-
-def RW_DEINIT(lp): return
-
-def RW_DEALLOC(lp): return
-
-def RW_OWNED(lp): return (B_TRUE)
-
-def IS_LOCKED(lockp): return B_FALSE
-
-def LOCK_PLMIN(lockp): return \
-
-def TRYLOCK_PLMIN(lockp): return LOCK_PLMIN(lockp)
-
-def LOCK_SH_PLMIN(lockp): return LOCK_PLMIN(lockp)
-
-def RW_RDLOCK_PLMIN(lockp): return LOCK_PLMIN(lockp)
-
-def RW_WRLOCK_PLMIN(lockp): return LOCK_PLMIN(lockp)
-
-def LOCK_DEINIT(l): return
-
-def LOCK_PLMIN(lockp): return LOCK((lockp), PLMIN)
-
-def TRYLOCK_PLMIN(lockp): return TRYLOCK((lockp), PLMIN)
-
-def LOCK_SH_PLMIN(lockp): return LOCK_SH((lockp), PLMIN)
-
-def RW_RDLOCK_PLMIN(lockp): return RW_RDLOCK((lockp), PLMIN)
-
-def RW_WRLOCK_PLMIN(lockp): return RW_WRLOCK((lockp), PLMIN)
-
-def FSPIN_IS_LOCKED(fsp): return B_FALSE
-
-def SPIN_IS_LOCKED(lockp): return B_FALSE
-
-def FSPIN_OWNED(l): return (B_TRUE)
-
-CR_MLDREAL = 0x00000001
-CR_RDUMP = 0x00000002
-def crhold(credp): return crholdn((credp), 1)
-
-def crfree(credp): return crfreen((credp), 1)
-
-
-# Included from sys/strmdep.h
-def str_aligned(X): return (((uint)(X) & (sizeof(int) - 1)) == 0)
-
-
-# Included from sys/engine.h
-
-# Included from sys/clock.h
-
-# Included from sys/time.h
-DST_NONE = 0
-DST_USA = 1
-DST_AUST = 2
-DST_WET = 3
-DST_MET = 4
-DST_EET = 5
-DST_CAN = 6
-DST_GB = 7
-DST_RUM = 8
-DST_TUR = 9
-DST_AUSTALT = 10
-ITIMER_REAL = 0
-ITIMER_VIRTUAL = 1
-ITIMER_PROF = 2
-FD_SETSIZE = 4096
-FD_NBBY = 8
-
-# Included from time.h
-NULL = 0
-CLOCKS_PER_SEC = 1000000
-
-# Included from sys/clock_p.h
-CGBITS = 4
-IDBITS = 28
-def toid_unpackcg(idval): return (((idval) >> IDBITS) & 0xf)
-
-def toid_unpackid(idval): return ((idval) & 0xfffffff)
-
-def toid_unpackcg(idval): return 0
-
-def toid_unpackid(idval): return (idval)
-
-NCALLOUT_HASH = 1024
-CALLOUT_MAXVAL = 0x7fffffff
-TO_PERIODIC = 0x80000000
-TO_IMMEDIATE = 0x80000000
-SEC = 1
-MILLISEC = 1000
-MICROSEC = 1000000
-NANOSEC = 1000000000
-SECHR = (60*60)
-SECDAY = (24*SECHR)
-SECYR = (365*SECDAY)
-def TIME_OWNED_R(cgnum): return (B_TRUE)
-
-LOOPSECONDS = 1800
-LOOPMICROSECONDS = (LOOPSECONDS * MICROSEC)
-def TICKS_SINCE(t): return TICKS_BETWEEN(t, TICKS())
-
-MAXRQS = 2
-E_OFFLINE = 0x01
-E_BAD = 0x02
-E_SHUTDOWN = 0x04
-E_DRIVER = 0x08
-E_DEFAULTKEEP = 0x100
-E_DRIVERBOUND = 0x200
-E_EXCLUSIVE = 0x400
-E_CGLEADER = 0x800
-E_NOWAY = (E_OFFLINE|E_BAD|E_SHUTDOWN)
-E_BOUND = 0x01
-E_GLOBAL = 0x00
-E_UNAVAIL = -1
-ENGINE_ONLINE = 1
-def PROCESSOR_UNMAP(e): return ((e) - engine)
-
-BOOTENG = 0
-QMOVED = 0x0001
-QWANTR = 0x0002
-QWANTW = 0x0004
-QFULL = 0x0008
-QREADR = 0x0010
-QUSE = 0x0020
-QNOENB = 0x0040
-QUP = 0x0080
-QBACK = 0x0100
-QINTER = 0x0200
-QPROCSON = 0x0400
-QTOENAB = 0x0800
-QFREEZE = 0x1000
-QBOUND = 0x2000
-QDEFCNT = 0x4000
-QENAB = 0x0001
-QSVCBUSY = 0x0002
-STRM_PUTCNT_TABLES = 31
-def STRM_MYENG_PUTCNT(sdp): return STRM_PUTCNT(l.eng_num, sdp)
-
-QB_FULL = 0x01
-QB_WANTW = 0x02
-QB_BACK = 0x04
-NBAND = 256
-DB_WASDUPED = 0x1
-DB_2PIECE = 0x2
-STRLEAKHASHSZ = 1021
-MSGMARK = 0x01
-MSGNOLOOP = 0x02
-MSGDELIM = 0x04
-MSGNOGET = 0x08
-MSGLOG = 0x10
-M_DATA = 0x00
-M_PROTO = 0x01
-M_BREAK = 0x08
-M_PASSFP = 0x09
-M_SIG = 0x0b
-M_DELAY = 0x0c
-M_CTL = 0x0d
-M_IOCTL = 0x0e
-M_SETOPTS = 0x10
-M_RSE = 0x11
-M_TRAIL = 0x12
-M_IOCACK = 0x81
-M_IOCNAK = 0x82
-M_PCPROTO = 0x83
-M_PCSIG = 0x84
-M_READ = 0x85
-M_FLUSH = 0x86
-M_STOP = 0x87
-M_START = 0x88
-M_HANGUP = 0x89
-M_ERROR = 0x8a
-M_COPYIN = 0x8b
-M_COPYOUT = 0x8c
-M_IOCDATA = 0x8d
-M_PCRSE = 0x8e
-M_STOPI = 0x8f
-M_STARTI = 0x90
-M_PCCTL = 0x91
-M_PCSETOPTS = 0x92
-QNORM = 0x00
-QPCTL = 0x80
-STRCANON = 0x01
-RECOPY = 0x02
-SO_ALL = 0x003f
-SO_READOPT = 0x0001
-SO_WROFF = 0x0002
-SO_MINPSZ = 0x0004
-SO_MAXPSZ = 0x0008
-SO_HIWAT = 0x0010
-SO_LOWAT = 0x0020
-SO_MREADON = 0x0040
-SO_MREADOFF = 0x0080
-SO_NDELON = 0x0100
-SO_NDELOFF = 0x0200
-SO_ISTTY = 0x0400
-SO_ISNTTY = 0x0800
-SO_TOSTOP = 0x1000
-SO_TONSTOP = 0x2000
-SO_BAND = 0x4000
-SO_DELIM = 0x8000
-SO_NODELIM = 0x010000
-SO_STRHOLD = 0x020000
-SO_LOOP = 0x040000
-DRVOPEN = 0x0
-MODOPEN = 0x1
-CLONEOPEN = 0x2
-OPENFAIL = -1
-BPRI_LO = 1
-BPRI_MED = 2
-BPRI_HI = 3
-INFPSZ = -1
-FLUSHALL = 1
-FLUSHDATA = 0
-STRHIGH = 5120
-STRLOW = 1024
-MAXIOCBSZ = 1024
-def straln(a): return (caddr_t)((int)(a) & ~(sizeof(int)-1))
-
-IPM_ID = 200
-ICMPM_ID = 201
-TCPM_ID = 202
-UDPM_ID = 203
-ARPM_ID = 204
-APPM_ID = 205
-RIPM_ID = 206
-PPPM_ID = 207
-AHDLCM_ID = 208
-MHDLCRIPM_ID = 209
-HDLCM_ID = 210
-PPCID_ID = 211
-IGMPM_ID = 212
-IPIPM_ID = 213
-IPPROTO_IP = 0
-IPPROTO_HOPOPTS = 0
-IPPROTO_ICMP = 1
-IPPROTO_IGMP = 2
-IPPROTO_GGP = 3
-IPPROTO_IPIP = 4
-IPPROTO_TCP = 6
-IPPROTO_EGP = 8
-IPPROTO_PUP = 12
-IPPROTO_UDP = 17
-IPPROTO_IDP = 22
-IPPROTO_TP = 29
-IPPROTO_IPV6 = 41
-IPPROTO_ROUTING = 43
-IPPROTO_FRAGMENT = 44
-IPPROTO_ESP = 50
-IPPROTO_AH = 51
-IPPROTO_ICMPV6 = 58
-IPPROTO_NONE = 59
-IPPROTO_DSTOPTS = 60
-IPPROTO_HELLO = 63
-IPPROTO_ND = 77
-IPPROTO_EON = 80
-IPPROTO_RAW = 255
-IPPROTO_MAX = 256
-IPPORT_ECHO = 7
-IPPORT_DISCARD = 9
-IPPORT_SYSTAT = 11
-IPPORT_DAYTIME = 13
-IPPORT_NETSTAT = 15
-IPPORT_FTP = 21
-IPPORT_TELNET = 23
-IPPORT_SMTP = 25
-IPPORT_TIMESERVER = 37
-IPPORT_NAMESERVER = 42
-IPPORT_WHOIS = 43
-IPPORT_MTP = 57
-IPPORT_TFTP = 69
-IPPORT_RJE = 77
-IPPORT_FINGER = 79
-IPPORT_TTYLINK = 87
-IPPORT_SUPDUP = 95
-IPPORT_EXECSERVER = 512
-IPPORT_LOGINSERVER = 513
-IPPORT_CMDSERVER = 514
-IPPORT_EFSSERVER = 520
-IPPORT_BIFFUDP = 512
-IPPORT_WHOSERVER = 513
-IPPORT_ROUTESERVER = 520
-IPPORT_RESERVED = 1024
-IPPORT_USERRESERVED = 65535
-IPPORT_RESERVED_LOW = 512
-IPPORT_RESERVED_HIGH = 1023
-IPPORT_USERRESERVED_LOW = 32768
-IPPORT_USERRESERVED_HIGH = 65535
-INET_ADDRSTRLEN = 16
-IP_OPTIONS = 1
-IP_TOS = 2
-IP_TTL = 3
-IP_HDRINCL = 4
-IP_RECVOPTS = 5
-IP_RECVRETOPTS = 6
-IP_RECVDSTADDR = 7
-IP_RETOPTS = 8
-IP_MULTICAST_IF = 9
-IP_MULTICAST_LOOP = 10
-IP_ADD_MEMBERSHIP = 11
-IP_DROP_MEMBERSHIP = 12
-IP_BROADCAST_IF = 14
-IP_RECVIFINDEX = 15
-IP_MULTICAST_TTL = 16
-MRT_INIT = 17
-MRT_DONE = 18
-MRT_ADD_VIF = 19
-MRT_DEL_VIF = 20
-MRT_ADD_MFC = 21
-MRT_DEL_MFC = 22
-MRT_VERSION = 23
-IP_DEFAULT_MULTICAST_TTL = 1
-IP_DEFAULT_MULTICAST_LOOP = 1
-IP_MAX_MEMBERSHIPS = 20
-INADDR_UNSPEC_GROUP = 0xe0000000
-INADDR_ALLHOSTS_GROUP = 0xe0000001
-INADDR_ALLRTRS_GROUP = 0xe0000002
-INADDR_MAX_LOCAL_GROUP = 0xe00000ff
-
-# Included from netinet/in_mp.h
-
-# Included from netinet/in_mp_ddi.h
-
-# Included from sys/inline.h
-IP_HIER_BASE = (20)
-def ASSERT_LOCK(x): return
-
-def ASSERT_WRLOCK(x): return
-
-def ASSERT_UNLOCK(x): return
-
-def CANPUT(q): return canput((q))
-
-def CANPUTNEXT(q): return canputnext((q))
-
-INET_DEBUG = 1
diff --git a/Lib/plat-unixware7/STROPTS.py b/Lib/plat-unixware7/STROPTS.py
deleted file mode 100644
index ef50a9c..0000000
--- a/Lib/plat-unixware7/STROPTS.py
+++ /dev/null
@@ -1,328 +0,0 @@
-# Generated by h2py from /usr/include/sys/stropts.h
-
-# Included from sys/types.h
-def quad_low(x): return x.val[0]
-
-ADT_EMASKSIZE = 8
-SHRT_MIN = -32768
-SHRT_MAX = 32767
-INT_MIN = (-2147483647-1)
-INT_MAX = 2147483647
-LONG_MIN = (-2147483647-1)
-LONG_MAX = 2147483647
-OFF32_MAX = LONG_MAX
-ISTAT_ASSERTED = 0
-ISTAT_ASSUMED = 1
-ISTAT_NONE = 2
-OFF_MAX = OFF32_MAX
-CLOCK_MAX = LONG_MAX
-P_MYID = (-1)
-P_MYHOSTID = (-1)
-
-# Included from sys/select.h
-FD_SETSIZE = 4096
-NBBY = 8
-NULL = 0
-
-# Included from sys/conf.h
-D_NEW = 0x00
-D_OLD = 0x01
-D_DMA = 0x02
-D_BLKOFF = 0x400
-D_LFS = 0x8000
-D_STR = 0x0800
-D_MOD = 0x1000
-D_PSEUDO = 0x2000
-D_RANDOM = 0x4000
-D_HOT = 0x10000
-D_SEEKNEG = 0x04
-D_TAPE = 0x08
-D_NOBRKUP = 0x10
-D_INITPUB = 0x20
-D_NOSPECMACDATA = 0x40
-D_RDWEQ = 0x80
-SECMASK = (D_INITPUB|D_NOSPECMACDATA|D_RDWEQ)
-DAF_REQDMA = 0x1
-DAF_PHYSREQ = 0x2
-DAF_PRE8 = 0x4
-DAF_STATIC = 0x8
-DAF_STR = 0x10
-D_MP = 0x100
-D_UPF = 0x200
-ROOTFS_NAMESZ = 7
-FMNAMESZ = 8
-MCD_VERSION = 1
-DI_BCBP = 0
-DI_MEDIA = 1
-
-# Included from sys/secsys.h
-ES_MACOPENLID = 1
-ES_MACSYSLID = 2
-ES_MACROOTLID = 3
-ES_PRVINFO = 4
-ES_PRVSETCNT = 5
-ES_PRVSETS = 6
-ES_MACADTLID = 7
-ES_PRVID = 8
-ES_TPGETMAJOR = 9
-SA_EXEC = 0o01
-SA_WRITE = 0o02
-SA_READ = 0o04
-SA_SUBSIZE = 0o10
-
-# Included from sys/stropts_f.h
-X_STR = (ord('S')<<8)
-X_I_BASE = (X_STR|0o200)
-X_I_NREAD = (X_STR|0o201)
-X_I_PUSH = (X_STR|0o202)
-X_I_POP = (X_STR|0o203)
-X_I_LOOK = (X_STR|0o204)
-X_I_FLUSH = (X_STR|0o205)
-X_I_SRDOPT = (X_STR|0o206)
-X_I_GRDOPT = (X_STR|0o207)
-X_I_STR = (X_STR|0o210)
-X_I_SETSIG = (X_STR|0o211)
-X_I_GETSIG = (X_STR|0o212)
-X_I_FIND = (X_STR|0o213)
-X_I_LINK = (X_STR|0o214)
-X_I_UNLINK = (X_STR|0o215)
-X_I_PEEK = (X_STR|0o217)
-X_I_FDINSERT = (X_STR|0o220)
-X_I_SENDFD = (X_STR|0o221)
-X_I_RECVFD = (X_STR|0o222)
-
-# Included from unistd.h
-
-# Included from sys/unistd.h
-R_OK = 0o04
-W_OK = 0o02
-X_OK = 0o01
-F_OK = 000
-EFF_ONLY_OK = 0o10
-EX_OK = 0o20
-SEEK_SET = 0
-SEEK_CUR = 1
-SEEK_END = 2
-_SC_ARG_MAX = 1
-_SC_CHILD_MAX = 2
-_SC_CLK_TCK = 3
-_SC_NGROUPS_MAX = 4
-_SC_OPEN_MAX = 5
-_SC_JOB_CONTROL = 6
-_SC_SAVED_IDS = 7
-_SC_VERSION = 8
-_SC_PASS_MAX = 9
-_SC_LOGNAME_MAX = 10
-_SC_PAGESIZE = 11
-_SC_PAGE_SIZE = _SC_PAGESIZE
-_SC_XOPEN_VERSION = 12
-_SC_NACLS_MAX = 13
-_SC_NPROCESSORS_CONF = 14
-_SC_NPROCESSORS_ONLN = 15
-_SC_NPROCESSES = 39
-_SC_TOTAL_MEMORY = 40
-_SC_USEABLE_MEMORY = 41
-_SC_GENERAL_MEMORY = 42
-_SC_DEDICATED_MEMORY = 43
-_SC_NCGS_CONF = 44
-_SC_NCGS_ONLN = 45
-_SC_MAX_CPUS_PER_CG = 46
-_SC_CG_SIMPLE_IMPL = 47
-_SC_CACHE_LINE = 48
-_SC_SYSTEM_ID = 49
-_SC_THREADS = 51
-_SC_THREAD_ATTR_STACKADDR = 52
-_SC_THREAD_ATTR_STACKSIZE = 53
-_SC_THREAD_DESTRUCTOR_ITERATIONS = 54
-_SC_THREAD_KEYS_MAX = 55
-_SC_THREAD_PRIORITY_SCHEDULING = 56
-_SC_THREAD_PRIO_INHERIT = 57
-_SC_THREAD_PRIO_PROTECT = 58
-_SC_THREAD_STACK_MIN = 59
-_SC_THREAD_PROCESS_SHARED = 60
-_SC_THREAD_SAFE_FUNCTIONS = 61
-_SC_THREAD_THREADS_MAX = 62
-_SC_KERNEL_VM = 63
-_SC_TZNAME_MAX = 320
-_SC_STREAM_MAX = 321
-_SC_XOPEN_CRYPT = 323
-_SC_XOPEN_ENH_I18N = 324
-_SC_XOPEN_SHM = 325
-_SC_XOPEN_XCU_VERSION = 327
-_SC_AES_OS_VERSION = 330
-_SC_ATEXIT_MAX = 331
-_SC_2_C_BIND = 350
-_SC_2_C_DEV = 351
-_SC_2_C_VERSION = 352
-_SC_2_CHAR_TERM = 353
-_SC_2_FORT_DEV = 354
-_SC_2_FORT_RUN = 355
-_SC_2_LOCALEDEF = 356
-_SC_2_SW_DEV = 357
-_SC_2_UPE = 358
-_SC_2_VERSION = 359
-_SC_BC_BASE_MAX = 370
-_SC_BC_DIM_MAX = 371
-_SC_BC_SCALE_MAX = 372
-_SC_BC_STRING_MAX = 373
-_SC_COLL_WEIGHTS_MAX = 380
-_SC_EXPR_NEST_MAX = 381
-_SC_LINE_MAX = 382
-_SC_RE_DUP_MAX = 383
-_SC_IOV_MAX = 390
-_SC_NPROC_CONF = 391
-_SC_NPROC_ONLN = 392
-_SC_XOPEN_UNIX = 400
-_SC_SEMAPHORES = 440
-_CS_PATH = 1
-__O_CS_HOSTNAME = 2
-_CS_RELEASE = 3
-_CS_VERSION = 4
-__O_CS_MACHINE = 5
-__O_CS_ARCHITECTURE = 6
-_CS_HW_SERIAL = 7
-__O_CS_HW_PROVIDER = 8
-_CS_SRPC_DOMAIN = 9
-_CS_INITTAB_NAME = 10
-__O_CS_SYSNAME = 11
-_CS_LFS_CFLAGS = 20
-_CS_LFS_LDFLAGS = 21
-_CS_LFS_LIBS = 22
-_CS_LFS_LINTFLAGS = 23
-_CS_LFS64_CFLAGS = 24
-_CS_LFS64_LDFLAGS = 25
-_CS_LFS64_LIBS = 26
-_CS_LFS64_LINTFLAGS = 27
-_CS_ARCHITECTURE = 100
-_CS_BUSTYPES = 101
-_CS_HOSTNAME = 102
-_CS_HW_PROVIDER = 103
-_CS_KERNEL_STAMP = 104
-_CS_MACHINE = 105
-_CS_OS_BASE = 106
-_CS_OS_PROVIDER = 107
-_CS_SYSNAME = 108
-_CS_USER_LIMIT = 109
-_PC_LINK_MAX = 1
-_PC_MAX_CANON = 2
-_PC_MAX_INPUT = 3
-_PC_NAME_MAX = 4
-_PC_PATH_MAX = 5
-_PC_PIPE_BUF = 6
-_PC_NO_TRUNC = 7
-_PC_VDISABLE = 8
-_PC_CHOWN_RESTRICTED = 9
-_PC_FILESIZEBITS = 10
-_POSIX_VERSION = 199009
-_XOPEN_VERSION = 4
-GF_PATH = "/etc/group"
-PF_PATH = "/etc/passwd"
-F_ULOCK = 0
-F_LOCK = 1
-F_TLOCK = 2
-F_TEST = 3
-_POSIX_JOB_CONTROL = 1
-_POSIX_SAVED_IDS = 1
-_POSIX_VDISABLE = 0
-NULL = 0
-STDIN_FILENO = 0
-STDOUT_FILENO = 1
-STDERR_FILENO = 2
-_XOPEN_UNIX = 1
-_XOPEN_ENH_I18N = 1
-_XOPEN_XPG4 = 1
-_POSIX2_C_VERSION = 199209
-_POSIX2_VERSION = 199209
-_XOPEN_XCU_VERSION = 4
-_POSIX_SEMAPHORES = 1
-_POSIX_THREADS = 1
-_POSIX_THREAD_ATTR_STACKADDR = 1
-_POSIX_THREAD_ATTR_STACKSIZE = 1
-_POSIX_THREAD_PRIORITY_SCHEDULING = 1
-_POSIX_THREAD_PROCESS_SHARED = 1
-_POSIX_THREAD_SAFE_FUNCTIONS = 1
-_POSIX2_C_BIND = 1
-_POSIX2_CHAR_TERM = 1
-_POSIX2_FORT_RUN = 1
-_POSIX2_LOCALEDEF = 1
-_POSIX2_UPE = 1
-_LFS_ASYNCHRONOUS_IO = 1
-_LFS_LARGEFILE = 1
-_LFS64_ASYNCHRONOUS_IO = 1
-_LFS64_LARGEFILE = 1
-_LFS64_STDIO = 1
-FMNAMESZ = 8
-SNDZERO = 0x001
-SNDPIPE = 0x002
-RNORM = 0x000
-RMSGD = 0x001
-RMSGN = 0x002
-RMODEMASK = 0x003
-RPROTDAT = 0x004
-RPROTDIS = 0x008
-RPROTNORM = 0x010
-RPROTMASK = 0x01c
-FLUSHR = 0x01
-FLUSHW = 0x02
-FLUSHRW = 0x03
-FLUSHBAND = 0x04
-S_INPUT = 0x0001
-S_HIPRI = 0x0002
-S_OUTPUT = 0x0004
-S_MSG = 0x0008
-S_ERROR = 0x0010
-S_HANGUP = 0x0020
-S_RDNORM = 0x0040
-S_WRNORM = S_OUTPUT
-S_RDBAND = 0x0080
-S_WRBAND = 0x0100
-S_BANDURG = 0x0200
-RS_HIPRI = 0x01
-MSG_HIPRI = 0x01
-MSG_ANY = 0x02
-MSG_BAND = 0x04
-MSG_DISCARD = 0x08
-MSG_PEEKIOCTL = 0x10
-MORECTL = 1
-MOREDATA = 2
-MUXID_ALL = (-1)
-ANYMARK = 0x01
-LASTMARK = 0x02
-STR = (ord('S')<<8)
-I_NREAD = (STR|0o1)
-I_PUSH = (STR|0o2)
-I_POP = (STR|0o3)
-I_LOOK = (STR|0o4)
-I_FLUSH = (STR|0o5)
-I_SRDOPT = (STR|0o6)
-I_GRDOPT = (STR|0o7)
-I_STR = (STR|0o10)
-I_SETSIG = (STR|0o11)
-I_GETSIG = (STR|0o12)
-I_FIND = (STR|0o13)
-I_LINK = (STR|0o14)
-I_UNLINK = (STR|0o15)
-I_PEEK = (STR|0o17)
-I_FDINSERT = (STR|0o20)
-I_SENDFD = (STR|0o21)
-I_RECVFD = (STR|0o22)
-I_E_RECVFD = (STR|0o16)
-I_RECVFD = (STR|0o16)
-I_RECVFD = (STR|0o22)
-I_SWROPT = (STR|0o23)
-I_GWROPT = (STR|0o24)
-I_LIST = (STR|0o25)
-I_PLINK = (STR|0o26)
-I_PUNLINK = (STR|0o27)
-I_FLUSHBAND = (STR|0o34)
-I_CKBAND = (STR|0o35)
-I_GETBAND = (STR|0o36)
-I_ATMARK = (STR|0o37)
-I_SETCLTIME = (STR|0o40)
-I_GETCLTIME = (STR|0o41)
-I_CANPUT = (STR|0o42)
-I_S_RECVFD = (STR|0o43)
-I_STATS = (STR|0o44)
-I_BIGPIPE = (STR|0o45)
-I_GETTP = (STR|0o46)
-INFTIM = -1
diff --git a/Lib/plat-unixware7/regen b/Lib/plat-unixware7/regen
deleted file mode 100755
index 68998a7..0000000
--- a/Lib/plat-unixware7/regen
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /bin/sh
-case `uname -sr` in
-UnixWare*) ;;
-*) echo Probably not on a UnixWare system 1>&2
- exit 1;;
-esac
-set -v
-h2py -i '(u_long)' /usr/include/netinet/in.h
-h2py /usr/include/sys/stropts.h
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 4c66b65..9885daa 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1310,29 +1310,8 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
-# Create the PLATDIR source directory, if one wasn't distributed..
-# For multiarch targets, use the plat-linux/regen script.
$(srcdir)/Lib/$(PLATDIR):
mkdir $(srcdir)/Lib/$(PLATDIR)
- if [ -n "$(MULTIARCH)" ]; then \
- cp $(srcdir)/Lib/plat-linux/regen $(srcdir)/Lib/$(PLATDIR)/regen; \
- else \
- cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen; \
- fi; \
- export PATH; PATH="`pwd`:$$PATH"; \
- export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
- export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
- export EXE; EXE="$(BUILDEXE)"; \
- export CC; CC="$(CC)"; \
- if [ -n "$(MULTIARCH)" ]; then export MULTIARCH; MULTIARCH=$(MULTIARCH); fi; \
- export PYTHON_FOR_BUILD; \
- if [ "$(BUILD_GNU_TYPE)" = "$(HOST_GNU_TYPE)" ]; then \
- PYTHON_FOR_BUILD="$(BUILDPYTHON)"; \
- else \
- PYTHON_FOR_BUILD="$(PYTHON_FOR_BUILD)"; \
- fi; \
- export H2PY; H2PY="$$PYTHON_FOR_BUILD $(abs_srcdir)/Tools/scripts/h2py.py"; \
- cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen
python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
# Substitution happens here, as the completely-expanded BINDIR
@@ -1657,7 +1636,6 @@ funny:
-o -name '*.tmSnippet' \
-o -name 'Setup' \
-o -name 'Setup.*' \
- -o -name regen \
-o -name README \
-o -name NEWS \
-o -name HISTORY \
diff --git a/Misc/NEWS b/Misc/NEWS
index 97c4fe4..a977d6c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -95,6 +95,8 @@ Core and Builtins
Library
-------
+- Issue #28027: Remove undocumented modules from ``Lib/plat-*``.
+
- Issue #27445: Don't pass str(_charset) to MIMEText.set_payload().
Patch by Claude Paroz.