aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux/qrtr.h
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-10-10 23:45:18 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-11 15:28:38 -0700
commit28978713c51b0a70acf748f76f9d6d2d20dcf980 (patch)
tree8d1edae63bb40ed7777f9a6ded8efdbef2f4de40 /include/uapi/linux/qrtr.h
parentnet: qrtr: Invoke sk_error_report() after setting sk_err (diff)
downloadwireguard-linux-28978713c51b0a70acf748f76f9d6d2d20dcf980.tar.xz
wireguard-linux-28978713c51b0a70acf748f76f9d6d2d20dcf980.zip
net: qrtr: Move constants to header file
The constants are used by both the name server and clients, so clarify their value and move them to the uapi header. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/qrtr.h b/include/uapi/linux/qrtr.h
index 9d76c566f66e..63e8803e4d90 100644
--- a/include/uapi/linux/qrtr.h
+++ b/include/uapi/linux/qrtr.h
@@ -4,6 +4,9 @@
#include <linux/socket.h>
#include <linux/types.h>
+#define QRTR_NODE_BCAST 0xffffffffu
+#define QRTR_PORT_CTRL 0xfffffffeu
+
struct sockaddr_qrtr {
__kernel_sa_family_t sq_family;
__u32 sq_node;