summaryrefslogtreecommitdiff
path: root/include/uapi/linux/qrtr.h
diff options
context:
space:
mode:
authorCourtney Cavin <courtney.cavin@sonymobile.com>2016-05-06 17:09:08 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-09 06:46:14 +0300
commitbdabad3e363d825ddf9679dd431cca0b2c30f881 (patch)
tree4389faff05dd23ddcc296277aa7c51a4ec65bc3f /include/uapi/linux/qrtr.h
parent43315f31adc2bf3b35e04dcf2372c3bb08014ed1 (diff)
downloadlinux-bdabad3e363d825ddf9679dd431cca0b2c30f881.tar.xz
net: Add Qualcomm IPC router
Add an implementation of Qualcomm's IPC router protocol, used to communicate with service providing remote processors. Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> [bjorn: Cope with 0 being a valid node id and implement RTM_NEWADDR] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/qrtr.h')
-rw-r--r--include/uapi/linux/qrtr.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/qrtr.h b/include/uapi/linux/qrtr.h
new file mode 100644
index 000000000000..66c0748d26e2
--- /dev/null
+++ b/include/uapi/linux/qrtr.h
@@ -0,0 +1,12 @@
+#ifndef _LINUX_QRTR_H
+#define _LINUX_QRTR_H
+
+#include <linux/socket.h>
+
+struct sockaddr_qrtr {
+ __kernel_sa_family_t sq_family;
+ __u32 sq_node;
+ __u32 sq_port;
+};
+
+#endif /* _LINUX_QRTR_H */