diff options
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r-- | include/linux/socket.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index 7b3aae2052a6..032a19eb61b1 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h | |||
@@ -189,7 +189,8 @@ struct ucred { | |||
189 | #define AF_ISDN 34 /* mISDN sockets */ | 189 | #define AF_ISDN 34 /* mISDN sockets */ |
190 | #define AF_PHONET 35 /* Phonet sockets */ | 190 | #define AF_PHONET 35 /* Phonet sockets */ |
191 | #define AF_IEEE802154 36 /* IEEE802154 sockets */ | 191 | #define AF_IEEE802154 36 /* IEEE802154 sockets */ |
192 | #define AF_MAX 37 /* For now.. */ | 192 | #define AF_CAIF 37 /* CAIF sockets */ |
193 | #define AF_MAX 38 /* For now.. */ | ||
193 | 194 | ||
194 | /* Protocol families, same as address families. */ | 195 | /* Protocol families, same as address families. */ |
195 | #define PF_UNSPEC AF_UNSPEC | 196 | #define PF_UNSPEC AF_UNSPEC |
@@ -229,6 +230,7 @@ struct ucred { | |||
229 | #define PF_ISDN AF_ISDN | 230 | #define PF_ISDN AF_ISDN |
230 | #define PF_PHONET AF_PHONET | 231 | #define PF_PHONET AF_PHONET |
231 | #define PF_IEEE802154 AF_IEEE802154 | 232 | #define PF_IEEE802154 AF_IEEE802154 |
233 | #define PF_CAIF AF_CAIF | ||
232 | #define PF_MAX AF_MAX | 234 | #define PF_MAX AF_MAX |
233 | 235 | ||
234 | /* Maximum queue length specifiable by listen. */ | 236 | /* Maximum queue length specifiable by listen. */ |
@@ -255,6 +257,7 @@ struct ucred { | |||
255 | #define MSG_ERRQUEUE 0x2000 /* Fetch message from error queue */ | 257 | #define MSG_ERRQUEUE 0x2000 /* Fetch message from error queue */ |
256 | #define MSG_NOSIGNAL 0x4000 /* Do not generate SIGPIPE */ | 258 | #define MSG_NOSIGNAL 0x4000 /* Do not generate SIGPIPE */ |
257 | #define MSG_MORE 0x8000 /* Sender will send more */ | 259 | #define MSG_MORE 0x8000 /* Sender will send more */ |
260 | #define MSG_WAITFORONE 0x10000 /* recvmmsg(): block until 1+ packets avail */ | ||
258 | 261 | ||
259 | #define MSG_EOF MSG_FIN | 262 | #define MSG_EOF MSG_FIN |
260 | 263 | ||
@@ -300,6 +303,7 @@ struct ucred { | |||
300 | #define SOL_PNPIPE 275 | 303 | #define SOL_PNPIPE 275 |
301 | #define SOL_RDS 276 | 304 | #define SOL_RDS 276 |
302 | #define SOL_IUCV 277 | 305 | #define SOL_IUCV 277 |
306 | #define SOL_CAIF 278 | ||
303 | 307 | ||
304 | /* IPX options */ | 308 | /* IPX options */ |
305 | #define IPX_TYPE 1 | 309 | #define IPX_TYPE 1 |