summaryrefslogtreecommitdiff
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorGustavo Solaira <gustavos@codeaurora.org>2018-11-19 12:14:04 -0800
committerGustavo Solaira <gustavos@codeaurora.org>2018-11-19 13:02:16 -0800
commit332c11dd05e008a83bca08edae6f3bd2093687bc (patch)
treee58cfa976083b868af238af04853e65d21e88263 /include/linux/socket.h
parenta772e4964b4afe9a728d241e152ba35fcba0e078 (diff)
net: socket: Add AF_QIPCRTR protocol definition
Add definition to enable QRTR based sockets. Change-Id: Ic5b070462a103abcc5820fadb7b6bdc40946f1e5 Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r--include/linux/socket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h
index 5bf59c8493b7..9d3b16ea92d9 100644
--- a/include/linux/socket.h
+++ b/include/linux/socket.h
@@ -200,7 +200,8 @@ struct ucred {
#define AF_ALG 38 /* Algorithm sockets */
#define AF_NFC 39 /* NFC sockets */
#define AF_VSOCK 40 /* vSockets */
-#define AF_MAX 41 /* For now.. */
+#define AF_QIPCRTR 42 /* QTI IPC Router */
+#define AF_MAX 43 /* For now.. */
/* Protocol families, same as address families. */
#define PF_UNSPEC AF_UNSPEC
@@ -246,6 +247,7 @@ struct ucred {
#define PF_ALG AF_ALG
#define PF_NFC AF_NFC
#define PF_VSOCK AF_VSOCK
+#define PF_QIPCRTR AF_QIPCRTR
#define PF_MAX AF_MAX
/* Maximum queue length specifiable by listen. */