Search | Google it | Results 1 - 1 of 1 for funcall:__IPADDR from t2ex/bsd_source/t2ex/network/net/src_bsd/netinet/in.h (0.01 seconds) |
171: 172: #define IN_CLASSA(i) (((uint32_t)(i) & __IPADDR(0x80000000)) == \ 173: __IPADDR(0x00000000)) 174: #define IN_CLASSA_NET __IPADDR(0xff000000) 175: #define IN_CLASSA_NSHIFT 24 176: #define IN_CLASSA_HOST __IPADDR(0x00ffffff) 177: #define IN_CLASSA_MAX 128 178: 179: #define IN_CLASSB(i) (((uint32_t)(i) & __IPADDR(0xc0000000)) == \ 180: __IPADDR(0x80000000)) 181: #define IN_CLASSB_NET __IPADDR(0xffff0000) 182: #define IN_CLASSB_NSHIFT 16 183: #define IN_CLASSB_HOST __IPADDR(0x0000ffff) 184: #define IN_CLASSB_MAX 65536 185: 186: #define IN_CLASSC(i) (((uint32_t)(i) & __IPADDR(0xe0000000)) == \ 187: __IPADDR(0xc0000000)) 188: #define IN_CLASSC_NET __IPADDR(0xffffff00) 189: #define IN_CLASSC_NSHIFT 8 190: #define IN_CLASSC_HOST __IPADDR(0x000000ff) 191: 192: #define IN_CLASSD(i) (((uint32_t)(i) & __IPADDR(0xf0000000)) == \ 193: __IPADDR(0xe0000000)) 194: /* These ones aren't really net and host fields, but routing needn't know. */ 195: #define IN_CLASSD_NET __IPADDR(0xf0000000) 196: #define IN_CLASSD_NSHIFT 28 197: #define IN_CLASSD_HOST __IPADDR(0x0fffffff) 198: #define IN_MULTICAST(i) IN_CLASSD(i) 199: 200: #define IN_EXPERIMENTAL(i) (((uint32_t)(i) & __IPADDR(0xf0000000)) == \ 201: __IPADDR(0xf0000000)) 202: #define IN_BADCLASS(i) (((uint32_t)(i) & __IPADDR(0xf0000000)) == \ 203: __IPADDR(0xf0000000)) 204: 205: #define IN_LINKLOCAL(i) (((uint32_t)(i) & __IPADDR(0xffff0000)) == \ 206: __IPADDR(0xa9fe0000)) 207: 208: #define IN_PRIVATE(i) ((((uint32_t)(i) & __IPADDR(0xff000000)) == \ 209: __IPADDR(0x0a000000)) || \ 210: (((uint32_t)(i) & __IPADDR(0xfff00000)) == \ 211: __IPADDR(0xac100000)) || \ 212: (((uint32_t)(i) & __IPADDR(0xffff0000)) == \ 213: __IPADDR(0xc0a80000))) 214: 215: #define IN_LOCAL_GROUP(i) (((uint32_t)(i) & __IPADDR(0xffffff00)) == \ 216: __IPADDR(0xe0000000)) 217: 219: 220: #define INADDR_ANY __IPADDR(0x00000000) 221: #define INADDR_LOOPBACK __IPADDR(0x7f000001) 222: #define INADDR_BROADCAST __IPADDR(0xffffffff) /* must be masked */ 223: #define INADDR_NONE __IPADDR(0xffffffff) /* -1 return */ 224: 225: #define INADDR_UNSPEC_GROUP __IPADDR(0xe0000000) /* 224.0.0.0 */ 226: #define INADDR_ALLHOSTS_GROUP __IPADDR(0xe0000001) /* 224.0.0.1 */ 227: #define INADDR_ALLRTRS_GROUP __IPADDR(0xe0000002) /* 224.0.0.2 */ 228: #define INADDR_CARP_GROUP __IPADDR(0xe0000012) /* 224.0.0.18 */ 229: #define INADDR_MAX_LOCAL_GROUP __IPADDR(0xe00000ff) /* 224.0.0.255 */ 230: