diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-09-02 15:04:19 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-09-02 15:04:19 +0200 |
commit | 10d74eef2851e032ee92c62907a7e8e6db230369 (patch) | |
tree | 5391bc92f4c3e614dbe1a1dfe908dbe6d3cccb13 /src/ipcpd/shim-udp | |
parent | ee2235c62cf0c51f7188fdeb6ac283c1e2ea0335 (diff) | |
parent | 4f44c91c68a3706e04334066f28471d56cc71849 (diff) | |
download | ouroboros-10d74eef2851e032ee92c62907a7e8e6db230369.tar.gz ouroboros-10d74eef2851e032ee92c62907a7e8e6db230369.zip |
Merged in dstaesse/ouroboros/be-split-fp (pull request #238)
lib: Add northbound ringbuffers
Diffstat (limited to 'src/ipcpd/shim-udp')
-rw-r--r-- | src/ipcpd/shim-udp/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c index 34af71a7..c35bd244 100644 --- a/src/ipcpd/shim-udp/main.c +++ b/src/ipcpd/shim-udp/main.c @@ -128,7 +128,7 @@ static int shim_ap_init() return -1; } - _ap_instance->rb = shm_ap_rbuff_create(); + _ap_instance->rb = shm_ap_rbuff_create_n(); if (_ap_instance->rb == NULL) { shm_rdrbuff_close(_ap_instance->rdrb); bmp_destroy(_ap_instance->fds); @@ -1179,7 +1179,7 @@ static int ipcp_udp_flow_alloc(pid_t n_api, if (qos != QOS_CUBE_BE) LOG_DBG("QoS requested. UDP/IP can't do that."); - rb = shm_ap_rbuff_open(n_api); + rb = shm_ap_rbuff_open_s(n_api); if (rb == NULL) return -1; /* -ENORBUFF */ @@ -1333,7 +1333,7 @@ static int ipcp_udp_flow_alloc_resp(pid_t n_api, return -1; } - rb = shm_ap_rbuff_open(n_api); + rb = shm_ap_rbuff_open_s(n_api); if (rb == NULL) { LOG_ERR("Could not open N + 1 ringbuffer."); _ap_instance->flows[fd].state = FLOW_NULL; |