gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:__IPADDR from t2ex/bsd_source/lib/libc/src_bsd/include/netinet/in.h (0.00 seconds)
t2ex
bsd_source/lib/libc/src_bsd/include/netinet/in.h - 27.1KB - 821 lines
161: 
162: #define IN_CLASSA(i)            (((u_int32_t)(i) & __IPADDR(0x80000000)) == \
163:                                  __IPADDR(0x00000000))
164: #define IN_CLASSA_NET           __IPADDR(0xff000000)
165: #define IN_CLASSA_NSHIFT        24
166: #define IN_CLASSA_HOST          __IPADDR(0x00ffffff)
167: #define IN_CLASSA_MAX           128
168: 
169: #define IN_CLASSB(i)            (((u_int32_t)(i) & __IPADDR(0xc0000000)) == \
170:                                  __IPADDR(0x80000000))
171: #define IN_CLASSB_NET           __IPADDR(0xffff0000)
172: #define IN_CLASSB_NSHIFT        16
173: #define IN_CLASSB_HOST          __IPADDR(0x0000ffff)
174: #define IN_CLASSB_MAX           65536
175: 
176: #define IN_CLASSC(i)            (((u_int32_t)(i) & __IPADDR(0xe0000000)) == \
177:                                  __IPADDR(0xc0000000))
178: #define IN_CLASSC_NET           __IPADDR(0xffffff00)
179: #define IN_CLASSC_NSHIFT        8
180: #define IN_CLASSC_HOST          __IPADDR(0x000000ff)
181: 
182: #define IN_CLASSD(i)            (((u_int32_t)(i) & __IPADDR(0xf0000000)) == \
183:                                  __IPADDR(0xe0000000))
184: /* These ones aren't really net and host fields, but routing needn't know. */
185: #define IN_CLASSD_NET           __IPADDR(0xf0000000)
186: #define IN_CLASSD_NSHIFT        28
187: #define IN_CLASSD_HOST          __IPADDR(0x0fffffff)
188: #define IN_MULTICAST(i)         IN_CLASSD(i)
189: 
190: #define IN_RFC3021_NET          __IPADDR(0xfffffffe)
191: #define IN_RFC3021_NSHIFT       31
192: #define IN_RFC3021_HOST         __IPADDR(0x00000001)
193: #define IN_RFC3021_SUBNET(n)    (((u_int32_t)(n) & IN_RFC3021_NET) == \
195: 196: #define IN_EXPERIMENTAL(i) (((u_int32_t)(i) & __IPADDR(0xf0000000)) == \ 197: __IPADDR(0xf0000000)) 198: #define IN_BADCLASS(i) (((u_int32_t)(i) & __IPADDR(0xf0000000)) == \ 199: __IPADDR(0xf0000000)) 200: 201: #define IN_LOCAL_GROUP(i) (((u_int32_t)(i) & __IPADDR(0xffffff00)) == \ 202: __IPADDR(0xe0000000)) 203:
210: 211: #define INADDR_ANY __IPADDR(0x00000000) 212: #define INADDR_LOOPBACK __IPADDR(0x7f000001) 213: #define INADDR_BROADCAST __IPADDR(0xffffffff) /* must be masked */ 214: #ifndef _KERNEL 215: #define INADDR_NONE __IPADDR(0xffffffff) /* -1 return */ 216: #endif 217: 218: #define INADDR_UNSPEC_GROUP __IPADDR(0xe0000000) /* 224.0.0.0 */ 219: #define INADDR_ALLHOSTS_GROUP __IPADDR(0xe0000001) /* 224.0.0.1 */ 220: #define INADDR_ALLROUTERS_GROUP __IPADDR(0xe0000002) /* 224.0.0.2 */ 221: #define INADDR_CARP_GROUP __IPADDR(0xe0000012) /* 224.0.0.18 */ 222: #define INADDR_PFSYNC_GROUP __IPADDR(0xe00000f0) /* 224.0.0.240 */ 223: #define INADDR_MAX_LOCAL_GROUP __IPADDR(0xe00000ff) /* 224.0.0.255 */ 224: