# Generated by h2py from /usr/include/netinet/in.h

# Included from cygwin/in.h

# Included from stdint.h
INT8_MIN = (-128)
INT16_MIN = (-32768)
INT32_MIN = (-2147483647 - 1)
INT8_MAX = (127)
INT16_MAX = (32767)
INT32_MAX = (2147483647)
UINT8_MAX = (255)
UINT16_MAX = (65535)
INT_LEAST8_MIN = (-128)
INT_LEAST16_MIN = (-32768)
INT_LEAST32_MIN = (-2147483647 - 1)
INT_LEAST8_MAX = (127)
INT_LEAST16_MAX = (32767)
INT_LEAST32_MAX = (2147483647)
UINT_LEAST8_MAX = (255)
UINT_LEAST16_MAX = (65535)
INT_FAST8_MIN = (-128)
INT_FAST16_MIN = (-2147483647 - 1)
INT_FAST32_MIN = (-2147483647 - 1)
INT_FAST8_MAX = (127)
INT_FAST16_MAX = (2147483647)
INT_FAST32_MAX = (2147483647)
UINT_FAST8_MAX = (255)
INTPTR_MIN = (-2147483647 - 1)
INTPTR_MAX = (2147483647)
PTRDIFF_MIN = (-2147483647 - 1)
PTRDIFF_MAX = (2147483647)
SIG_ATOMIC_MIN = (-2147483647 - 1)
SIG_ATOMIC_MAX = (2147483647)
WCHAR_MIN = (0)
WCHAR_MAX = (65535)
WINT_MIN = (-2147483647 - 1)
WINT_MAX = (2147483647)
def INT8_C(x): return x

def INT16_C(x): return x

def INT32_C(x): return x ## L

def INT64_C(x): return x ## LL

def UINT8_C(x): return x ## U

def UINT16_C(x): return x ## U

def UINT32_C(x): return x ## UL

def UINT64_C(x): return x ## ULL

def INTMAX_C(x): return x ## L

def UINTMAX_C(x): return x ## UL

__SOCK_SIZE__ = 16
IN_CLASSA_NET = (-16777216)
IN_CLASSA_NSHIFT = 24
IN_CLASSA_HOST = ((-1) & ~IN_CLASSA_NET)
IN_CLASSA_MAX = 128
IN_CLASSB_NET = (-65536)
IN_CLASSB_NSHIFT = 16
IN_CLASSB_HOST = ((-1) & ~IN_CLASSB_NET)
IN_CLASSB_MAX = 65536
IN_CLASSC_NET = (-256)
IN_CLASSC_NSHIFT = 8
IN_CLASSC_HOST = ((-1) & ~IN_CLASSC_NET)
def IN_MULTICAST(a): return IN_CLASSD(a)

IN_MULTICAST_NET = (-268435456)
INADDR_NONE = (-1)
IN_LOOPBACKNET = 127
INADDR_LOOPBACK = 0x7f000001
INADDR_UNSPEC_GROUP = (-536870912)
INADDR_ALLHOSTS_GROUP = (-536870911)
INADDR_MAX_LOCAL_GROUP = (-536870657)

# Included from asm/byteorder.h
__LITTLE_ENDIAN = 1234
def __constant_ntohl(x): return \

def __constant_ntohs(x): return \

def __htonl(x): return __ntohl(x)

def __htons(x): return __ntohs(x)

def __constant_htonl(x): return __constant_ntohl(x)

def __constant_htons(x): return __constant_ntohs(x)

def ntohl(x): return \

def ntohs(x): return \

def htonl(x): return \

def htons(x): return \

def LOOPBACK(x): return (((x) & htonl((-16777216))) == htonl(0x7f000000))

def MULTICAST(x): return (((x) & htonl((-268435456))) == htonl((-536870912)))

