1 #ifndef _ASM_SOCKET_H
2 #define _ASM_SOCKET_H
3
4 #include <linux/types.h>
5 #include <asm/ioctl.h>
6 #include <asm/sockios.h>
7
8
9
10
11
12
13
14
15 #define SOL_SOCKET 0xffff
16
17 #define SO_DEBUG 0x0001
18 #define SO_REUSEADDR 0x0004
19 #define SO_KEEPALIVE 0x0008
20 #define SO_DONTROUTE 0x0010
21 #define SO_BROADCAST 0x0020
22 #define SO_LINGER 0x0080
23 #define SO_OOBINLINE 0x0100
24
25
26 #define SO_TYPE 0x1008
27 #define SO_ERROR 0x1007
28 #define SO_SNDBUF 0x1001
29 #define SO_RCVBUF 0x1002
30
31
32 #define SO_NO_CHECK 11
33 #define SO_PRIORITY 12
34 #define SO_BSDCOMPAT 14
35
36 #endif