diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-08 16:54:12 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-08 16:54:12 +0200 |
commit | 4e13c71204e9667cfc4b7da6491972f854d9402d (patch) | |
tree | 924156d142bce5521757e9349fa0b3fd2ff1b0cc /src/ipcpd/ipcp-ops.h | |
parent | 021af9e01ce6c6376534b33ef1a06ea4189028d4 (diff) | |
download | ouroboros-4e13c71204e9667cfc4b7da6491972f854d9402d.tar.gz ouroboros-4e13c71204e9667cfc4b7da6491972f854d9402d.zip |
lib: changed port_id to int
returning -1 as uint32_t leads to bugs.
also changed types in GPB to sint to use zigzag encoding.
Diffstat (limited to 'src/ipcpd/ipcp-ops.h')
-rw-r--r-- | src/ipcpd/ipcp-ops.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ipcpd/ipcp-ops.h b/src/ipcpd/ipcp-ops.h index 91b6cac9..5e90939d 100644 --- a/src/ipcpd/ipcp-ops.h +++ b/src/ipcpd/ipcp-ops.h @@ -33,21 +33,21 @@ struct ipcp_ops { int (* ipcp_enroll)(char * member_name, char * n_1_dif); int (* ipcp_reg)(char ** dif_names, - size_t len); + size_t len); int (* ipcp_unreg)(char ** dif_names, - size_t len); + size_t len); int (* ipcp_name_reg)(char * name); int (* ipcp_name_unreg)(char * name); - int (* ipcp_flow_alloc)(uint32_t port_id, - pid_t n_pid, - char * dst_ap_name, - char * src_ap_name, - char * src_ae_name, + int (* ipcp_flow_alloc)(int port_id, + pid_t n_pid, + char * dst_ap_name, + char * src_ap_name, + char * src_ae_name, struct qos_spec * qos); - int (* ipcp_flow_alloc_resp)(uint32_t port_id, - pid_t n_pid, - int response); - int (* ipcp_flow_dealloc)(uint32_t port_id); + int (* ipcp_flow_alloc_resp)(int port_id, + pid_t n_pid, + int response); + int (* ipcp_flow_dealloc)(int port_id); }; #endif /* IPCPD_IPCP_OPS_H */ |