From bb0a01dbb52cb0a02ce684b6fef3ec85e6c1918a Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 22 Aug 2016 11:13:31 +0200 Subject: ipcpd: normal: Add initial steps for N+1 flow allocation This adds the initial framework for flow allocation between two N+1 endpoints. The FMGR will receive flow allocation requests and will create a connection as a result, addressed to the right address, it will also pass a flow allocation message to this address. Upon receipt on the other side, the FMGR will be receive a flow allocation message and a pointer to a new connection. The FMGR can then accept or destroy the connection. This commit also introduces the RMT function, which is needed by the FRCT to forward its SDUs on the right file descriptor. --- src/ipcpd/normal/flow_alloc.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/ipcpd/normal/flow_alloc.proto (limited to 'src/ipcpd/normal/flow_alloc.proto') diff --git a/src/ipcpd/normal/flow_alloc.proto b/src/ipcpd/normal/flow_alloc.proto new file mode 100644 index 00000000..b1ca7cb8 --- /dev/null +++ b/src/ipcpd/normal/flow_alloc.proto @@ -0,0 +1,13 @@ +enum flow_alloc_code { + FLOW_REQ = 1; + FLOW_REPLY = 2; + FLOW_DEALLOC = 3; +}; + +message flow_alloc_msg { + required flow_alloc_code code = 1; + optional string dst_name = 2; + optional string src_ae_name = 3; + optional uint32 qos_cube = 4; + optional sint32 response = 5; +}; -- cgit v1.2.3