diff options
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/socket.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-mips/socket.h b/include/asm-mips/socket.h index 63f60254d308..facc2d7a87ca 100644 --- a/include/asm-mips/socket.h +++ b/include/asm-mips/socket.h | |||
@@ -102,6 +102,13 @@ enum sock_type { | |||
102 | }; | 102 | }; |
103 | 103 | ||
104 | #define SOCK_MAX (SOCK_PACKET + 1) | 104 | #define SOCK_MAX (SOCK_PACKET + 1) |
105 | /* Mask which covers at least up to SOCK_MASK-1. The | ||
106 | * * remaining bits are used as flags. */ | ||
107 | #define SOCK_TYPE_MASK 0xf | ||
108 | |||
109 | /* Flags for socket, socketpair, paccept */ | ||
110 | #define SOCK_CLOEXEC O_CLOEXEC | ||
111 | #define SOCK_NONBLOCK O_NONBLOCK | ||
105 | 112 | ||
106 | #define ARCH_HAS_SOCKET_TYPES 1 | 113 | #define ARCH_HAS_SOCKET_TYPES 1 |
107 | 114 | ||