summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp-ops.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-18 20:34:51 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-18 20:53:05 +0200
commit6a4109706b20266833619d26cd89c5f9447fdd91 (patch)
tree0b2d8d6432e4f2125088279e1b2e2844fd4b7dda /src/ipcpd/ipcp-ops.h
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-ops.h')
-rw-r--r--src/ipcpd/ipcp-ops.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ipcpd/ipcp-ops.h b/src/ipcpd/ipcp-ops.h
index a766c3ae..72c57595 100644
--- a/src/ipcpd/ipcp-ops.h
+++ b/src/ipcpd/ipcp-ops.h
@@ -38,14 +38,14 @@ struct ipcp_ops {
size_t len);
int (* ipcp_name_reg)(char * name);
int (* ipcp_name_unreg)(char * name);
- int (* ipcp_flow_alloc)(int port_id,
- pid_t n_pid,
+ int (* ipcp_flow_alloc)(pid_t n_pid,
+ int port_id,
char * dst_ap_name,
char * src_ap_name,
char * src_ae_name,
enum qos_cube qos);
- int (* ipcp_flow_alloc_resp)(int port_id,
- pid_t n_pid,
+ int (* ipcp_flow_alloc_resp)(pid_t n_pid,
+ int port_id,
int response);
int (* ipcp_flow_dealloc)(int port_id);
};