From 6b3fc777e59ad3ac76d4dd89ac251f7004100b79 Mon Sep 17 00:00:00 2001 From: Atish Kumar Patra Date: Fri, 24 Apr 2015 18:16:28 -0600 Subject: 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 --- include/linux/ipc_router.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/linux') 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; -- cgit v1.2.3