summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-11-17 16:28:33 +0100
committerdimitri staessens <[email protected]>2016-11-17 17:02:09 +0100
commit2ae032ddc4f5eb6d0e7eaa5400c1ffb80e2c0a8d (patch)
tree18e6b9f690e7aaf615a91c4ccbc8ab0bc2edb967 /include
parentb0e0c74a14906639f5cd36d942d46b2d793e1fd4 (diff)
downloadouroboros-2ae032ddc4f5eb6d0e7eaa5400c1ffb80e2c0a8d.tar.gz
ouroboros-2ae032ddc4f5eb6d0e7eaa5400c1ffb80e2c0a8d.zip
lib: Remove dst_api field from rdrbuff blocks
Now that we have an rbuff per flow per AP, there is no more need to keep the dst_api in the rdrbuff. This also simplifies the sanitizer in the irmd.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/shm_rdrbuff.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/ouroboros/shm_rdrbuff.h b/include/ouroboros/shm_rdrbuff.h
index b16e2530..c4e1e7b0 100644
--- a/include/ouroboros/shm_rdrbuff.h
+++ b/include/ouroboros/shm_rdrbuff.h
@@ -43,18 +43,16 @@ void shm_rdrbuff_close(struct shm_rdrbuff * rdrb);
void shm_rdrbuff_destroy(struct shm_rdrbuff * rdrb);
-void * shm_rdrbuff_sanitize(void * o);
+void shm_rdrbuff_wait_full(struct shm_rdrbuff * rdrb);
/* returns the index of the buffer in the DU map */
ssize_t shm_rdrbuff_write(struct shm_rdrbuff * rdrb,
- pid_t dst_api,
size_t headspace,
size_t tailspace,
uint8_t * data,
size_t data_len);
ssize_t shm_rdrbuff_write_b(struct shm_rdrbuff * rdrb,
- pid_t dst_api,
size_t headspace,
size_t tailspace,
uint8_t * data,