diff options
Diffstat (limited to 'linux/src/include/asm-i386/socket.h')
-rw-r--r-- | linux/src/include/asm-i386/socket.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/linux/src/include/asm-i386/socket.h b/linux/src/include/asm-i386/socket.h new file mode 100644 index 00000000..73015115 --- /dev/null +++ b/linux/src/include/asm-i386/socket.h @@ -0,0 +1,27 @@ +#ifndef _ASM_SOCKET_H +#define _ASM_SOCKET_H + +#include <asm/sockios.h> + +/* For setsockoptions(2) */ +#define SOL_SOCKET 1 + +#define SO_DEBUG 1 +#define SO_REUSEADDR 2 +#define SO_TYPE 3 +#define SO_ERROR 4 +#define SO_DONTROUTE 5 +#define SO_BROADCAST 6 +#define SO_SNDBUF 7 +#define SO_RCVBUF 8 +#define SO_KEEPALIVE 9 +#define SO_OOBINLINE 10 +#define SO_NO_CHECK 11 +#define SO_PRIORITY 12 +#define SO_LINGER 13 +#define SO_BSDCOMPAT 14 +/* To add :#define SO_REUSEPORT 15 */ + +#define SO_BINDTODEVICE 25 + +#endif /* _ASM_SOCKET_H */ |