summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-05-18 20:34:51 +0200
committerdimitri staessens <[email protected]>2016-05-18 20:53:05 +0200
commit6a4109706b20266833619d26cd89c5f9447fdd91 (patch)
tree0b2d8d6432e4f2125088279e1b2e2844fd4b7dda /src/ipcpd/ipcp.c
parent4d348ef99bb3e3927be315ef1bdd1ae827c9a28c (diff)
downloadouroboros-6a4109706b20266833619d26cd89c5f9447fdd91.tar.gz
ouroboros-6a4109706b20266833619d26cd89c5f9447fdd91.zip
Implementation of a full flow allocator for the shim UDP.
It uses UDP port 0x0D1F on all hosts to send and receive flow allocation messages. It supports communication between server and client AP over a single shim IPCP. Implementation of full flow deallocation is pending. Both the client and the server still have to call flow_dealloc();
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r--src/ipcpd/ipcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c
index 76d3620b..dd370005 100644
--- a/src/ipcpd/ipcp.c
+++ b/src/ipcpd/ipcp.c
@@ -200,8 +200,8 @@ void * ipcp_main_loop(void * o)
}
ret_msg.has_result = true;
ret_msg.result =
- _ipcp->ops->ipcp_flow_alloc(msg->port_id,
- msg->pid,
+ _ipcp->ops->ipcp_flow_alloc(msg->pid,
+ msg->port_id,
msg->dst_name,
msg->src_ap_name,
msg->src_ae_name,
@@ -214,8 +214,8 @@ void * ipcp_main_loop(void * o)
}
ret_msg.has_result = true;
ret_msg.result =
- _ipcp->ops->ipcp_flow_alloc_resp(msg->port_id,
- msg->pid,
+ _ipcp->ops->ipcp_flow_alloc_resp(msg->pid,
+ msg->port_id,
msg->result);
break;
case IPCP_MSG_CODE__IPCP_FLOW_DEALLOC: