socket.h (3532fa7402cda16f7b95261b0339c58630051f0b) socket.h (e32448e059adc8e6b31df483a679b399bc990e5a)
1
2#if defined(TARGET_MIPS)
3 // MIPS special values for constants
4
5 /*
6 * For setsockopt(2)
7 *
8 * This defines are ABI conformant as far as Linux supports these ...

--- 95 unchanged lines hidden (view full) ---

104 #define TARGET_SO_RCVBUFFORCE 33
105 #define TARGET_SO_KEEPALIVE 9
106 #define TARGET_SO_OOBINLINE 10
107 #define TARGET_SO_NO_CHECK 11
108 #define TARGET_SO_PRIORITY 12
109 #define TARGET_SO_LINGER 13
110 #define TARGET_SO_BSDCOMPAT 14
111 /* To add :#define TARGET_SO_REUSEPORT 15 */
1
2#if defined(TARGET_MIPS)
3 // MIPS special values for constants
4
5 /*
6 * For setsockopt(2)
7 *
8 * This defines are ABI conformant as far as Linux supports these ...

--- 95 unchanged lines hidden (view full) ---

104 #define TARGET_SO_RCVBUFFORCE 33
105 #define TARGET_SO_KEEPALIVE 9
106 #define TARGET_SO_OOBINLINE 10
107 #define TARGET_SO_NO_CHECK 11
108 #define TARGET_SO_PRIORITY 12
109 #define TARGET_SO_LINGER 13
110 #define TARGET_SO_BSDCOMPAT 14
111 /* To add :#define TARGET_SO_REUSEPORT 15 */
112#if defined(TARGET_PPC)
113 #define TARGET_SO_RCVLOWAT 16
114 #define TARGET_SO_SNDLOWAT 17
115 #define TARGET_SO_RCVTIMEO 18
116 #define TARGET_SO_SNDTIMEO 19
117 #define TARGET_SO_PASSCRED 20
118 #define TARGET_SO_PEERCRED 21
119#else
112 #define TARGET_SO_PASSCRED 16
113 #define TARGET_SO_PEERCRED 17
114 #define TARGET_SO_RCVLOWAT 18
115 #define TARGET_SO_SNDLOWAT 19
116 #define TARGET_SO_RCVTIMEO 20
117 #define TARGET_SO_SNDTIMEO 21
120 #define TARGET_SO_PASSCRED 16
121 #define TARGET_SO_PEERCRED 17
122 #define TARGET_SO_RCVLOWAT 18
123 #define TARGET_SO_SNDLOWAT 19
124 #define TARGET_SO_RCVTIMEO 20
125 #define TARGET_SO_SNDTIMEO 21
126#endif
118
119 /* Security levels - as per NRL IPv6 - don't actually do anything */
120 #define TARGET_SO_SECURITY_AUTHENTICATION 22
121 #define TARGET_SO_SECURITY_ENCRYPTION_TRANSPORT 23
122 #define TARGET_SO_SECURITY_ENCRYPTION_NETWORK 24
123
124 #define TARGET_SO_BINDTODEVICE 25
125

--- 13 unchanged lines hidden ---
127
128 /* Security levels - as per NRL IPv6 - don't actually do anything */
129 #define TARGET_SO_SECURITY_AUTHENTICATION 22
130 #define TARGET_SO_SECURITY_ENCRYPTION_TRANSPORT 23
131 #define TARGET_SO_SECURITY_ENCRYPTION_NETWORK 24
132
133 #define TARGET_SO_BINDTODEVICE 25
134

--- 13 unchanged lines hidden ---