[tcp] Allow out-of-order receive queue to be discarded
[gpxe.git] / src / arch / i386 / include / limits.h
blob031b6c57a9ca982f57973a2b54f0dca3f10ff57b
1 #ifndef LIMITS_H
2 #define LIMITS_H 1
4 FILE_LICENCE ( GPL2_OR_LATER );
6 /* Number of bits in a `char' */
7 #define CHAR_BIT 8
9 /* Minimum and maximum values a `signed char' can hold */
10 #define SCHAR_MIN (-128)
11 #define SCHAR_MAX 127
13 /* Maximum value an `unsigned char' can hold. (Minimum is 0.) */
14 #define UCHAR_MAX 255
16 /* Minimum and maximum values a `char' can hold */
17 #define CHAR_MIN SCHAR_MIN
18 #define CHAR_MAX SCHAR_MAX
20 /* Minimum and maximum values a `signed short int' can hold */
21 #define SHRT_MIN (-32768)
22 #define SHRT_MAX 32767
24 /* Maximum value an `unsigned short' can hold. (Minimum is 0.) */
25 #define USHRT_MAX 65535
28 /* Minimum and maximum values a `signed int' can hold */
29 #define INT_MIN (-INT_MAX - 1)
30 #define INT_MAX 2147483647
32 /* Maximum value an `unsigned int' can hold. (Minimum is 0.) */
33 #define UINT_MAX 4294967295U
36 /* Minimum and maximum values a `signed int' can hold */
37 #define INT_MAX 2147483647
38 #define INT_MIN (-INT_MAX - 1)
41 /* Maximum value an `unsigned int' can hold. (Minimum is 0.) */
42 #define UINT_MAX 4294967295U
45 /* Minimum and maximum values a `signed long' can hold */
46 #define LONG_MAX 2147483647
47 #define LONG_MIN (-LONG_MAX - 1L)
49 /* Maximum value an `unsigned long' can hold. (Minimum is 0.) */
50 #define ULONG_MAX 4294967295UL
52 /* Minimum and maximum values a `signed long long' can hold */
53 #define LLONG_MAX 9223372036854775807LL
54 #define LLONG_MIN (-LONG_MAX - 1LL)
57 /* Maximum value an `unsigned long long' can hold. (Minimum is 0.) */
58 #define ULLONG_MAX 18446744073709551615ULL
61 #endif /* LIMITS_H */