summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-08 17:06:42 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-08 17:06:42 +0200
commit4e80e06772a0896dcb0f9f6fa2e455e7542eac24 (patch)
tree924156d142bce5521757e9349fa0b3fd2ff1b0cc /include
parent5812dfb832e513dc455a0d48624bcad62334d457 (diff)
parent4e13c71204e9667cfc4b7da6491972f854d9402d (diff)
downloadouroboros-4e80e06772a0896dcb0f9f6fa2e455e7542eac24.tar.gz
ouroboros-4e80e06772a0896dcb0f9f6fa2e455e7542eac24.zip
Merged in dstaesse/ouroboros/be-fast-path (pull request #66)
lib: changed port_id to int
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/ipcp.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h
index 570eca67..63e19e9d 100644
--- a/include/ouroboros/ipcp.h
+++ b/include/ouroboros/ipcp.h
@@ -49,27 +49,27 @@ int ipcp_enroll(pid_t pid,
char * member_name,
char * n_1_dif);
-int ipcp_bootstrap(pid_t pid,
+int ipcp_bootstrap(pid_t pid,
dif_config_msg_t * conf);
/* Flow related ops, these go from IRMd to IPCP */
-int ipcp_name_reg(pid_t pid,
- char * name);
-int ipcp_name_unreg(pid_t pid,
+int ipcp_name_reg(pid_t pid,
+ char * name);
+int ipcp_name_unreg(pid_t pid,
char * name);
int ipcp_flow_alloc(pid_t pid,
- uint32_t port_id,
+ int port_id,
pid_t n_pid,
char * dst_name,
char * src_ap_name,
char * src_ae_name,
struct qos_spec * qos);
-int ipcp_flow_alloc_resp(pid_t pid,
- uint32_t port_id,
- pid_t n_pid,
- int response);
+int ipcp_flow_alloc_resp(pid_t pid,
+ int port_id,
+ pid_t n_pid,
+ int response);
/* These operations go from the IPCP to the IRMd */
@@ -78,16 +78,16 @@ int ipcp_flow_req_arr(pid_t pid,
char * dst_name,
char * src_ap_name,
char * src_ae_name);
-int ipcp_flow_alloc_reply(pid_t pid,
- uint32_t port_id,
- int response);
+int ipcp_flow_alloc_reply(pid_t pid,
+ int port_id,
+ int response);
/*
* This operation can go both ways
* pid == 0 means the IRMd is the destination
*/
-int ipcp_flow_dealloc(pid_t pid,
- uint32_t port_id);
+int ipcp_flow_dealloc(pid_t pid,
+ int port_id);
#endif /* OUROBOROS_IPCP_H */