1 #ifndef _ASM_SOCKET_H 2 #define _ASM_SOCKET_H 3 4 /* For setsockoptions(2) */ 5 /* 6 * Note: we only bother about making the SOL_SOCKET options 7 * same as OSF/1, as that's all that "normal" programs are 8 * likely to set. We don't necessarily want to be binary 9 * compatible with _everything_. 10 */ 11 #define SOL_SOCKET 0xffff 12 13 #define SO_DEBUG 0x0001 14 #define SO_REUSEADDR 0x0004 15 #define SO_KEEPALIVE 0x0008 16 #define SO_DONTROUTE 0x0010 17 #define SO_BROADCAST 0x0020 18 #define SO_LINGER 0x0080 19 #define SO_OOBINLINE 0x0100 20 /* To add :#define SO_REUSEPORT 0x0200 */ 21 22 #define SO_TYPE 0x1008 23 #define SO_ERROR 0x1007 24 #define SO_SNDBUF 0x1001 25 #define SO_RCVBUF 0x1002 26 27 /* linux-specific, might as well be the same as on i386 */ 28 #define SO_NO_CHECK 11 29 #define SO_PRIORITY 12 30 31 #endif /* _ASM_SOCKET_H */