summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAtish Kumar Patra <apatra@codeaurora.org>2015-04-24 18:16:28 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:13:50 -0700
commit6b3fc777e59ad3ac76d4dd89ac251f7004100b79 (patch)
tree0a0594455a61615fdef86c2d31411b8d90612a8d /include
parentf359b9f372b0fbfb0000618750bf0dff8408ecba (diff)
net: ipc_router: Add support for IPC Router version negotiation
Currently, IPC Router statically associates the version of the protocol to be used with each link. Thus, dynamic version negotiation is not possible. Add support for version negotiation that sets IPC Router version after a successful negotiation. Change-Id: Iea04742ef30443c1e36760561e7f20175c4fbaa6 Signed-off-by: Atish Kumar Patra <apatra@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipc_router.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ipc_router.h b/include/linux/ipc_router.h
index c89b972a91bd..ad2192d89e0d 100644
--- a/include/linux/ipc_router.h
+++ b/include/linux/ipc_router.h
@@ -53,8 +53,10 @@ union rr_control_msg {
uint32_t cmd;
struct {
uint32_t cmd;
- uint32_t magic;
+ uint32_t checksum;
+ uint32_t versions;
uint32_t capability;
+ uint32_t reserved;
} hello;
struct {
uint32_t cmd;