1 # Generated by h2py from /usr/include/netinet/in.h
17 IPPORT_RESERVED
= 1024
18 IPPORT_USERRESERVED
= 5000
19 def __IPADDR(x
): return ((u_int32_t
)(x
))
27 def IN_MULTICAST(i
): return IN_CLASSD(i
)
40 IP_MULTICAST_LOOP
= 11
41 IP_ADD_MEMBERSHIP
= 12
42 IP_DROP_MEMBERSHIP
= 13
44 IP_DEFAULT_MULTICAST_TTL
= 1
45 IP_DEFAULT_MULTICAST_LOOP
= 1
46 IP_MAX_MEMBERSHIPS
= 20
47 IPPROTO_MAXID
= (IPPROTO_IDP
+ 1)
49 IPCTL_SENDREDIRECTS
= 2
53 IPCTL_DIRECTEDBCAST
= 6
56 def in_nullhost(x
): return ((x
).s_addr
== INADDR_ANY
)