Lines Matching refs:in_addr_t
12 typedef uint32_t in_addr_t;
14 in_addr_t s_addr;
48 #define INADDR_ANY ((in_addr_t)0x00000000)
49 #define INADDR_BROADCAST ((in_addr_t)0xffffffff)
50 #define INADDR_NONE ((in_addr_t)0xffffffff)
51 #define INADDR_LOOPBACK ((in_addr_t)0x7f000001)
53 #define INADDR_UNSPEC_GROUP ((in_addr_t)0xe0000000)
54 #define INADDR_ALLHOSTS_GROUP ((in_addr_t)0xe0000001)
55 #define INADDR_ALLRTRS_GROUP ((in_addr_t)0xe0000002)
56 #define INADDR_MAX_LOCAL_GROUP ((in_addr_t)0xe00000ff)
159 #define IN_CLASSA(a) ((((in_addr_t)(a)) & 0x80000000) == 0)
164 #define IN_CLASSB(a) ((((in_addr_t)(a)) & 0xc0000000) == 0x80000000)
169 #define IN_CLASSC(a) ((((in_addr_t)(a)) & 0xe0000000) == 0xc0000000)
173 #define IN_CLASSD(a) ((((in_addr_t)(a)) & 0xf0000000) == 0xe0000000)
175 #define IN_EXPERIMENTAL(a) ((((in_addr_t)(a)) & 0xe0000000) == 0xe0000000)
176 #define IN_BADCLASS(a) ((((in_addr_t)(a)) & 0xf0000000) == 0xf0000000)