summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-10-07 16:05:52 +0200
committerdimitri staessens <[email protected]>2016-10-07 16:05:52 +0200
commit192ccde3ae37e33eb33421a6877ed4b4a025fbdb (patch)
treed3d0b18c009757cc5ac7081882152c5f9d9e005b /src/ipcpd
parent71f10f5efab37f3df3d909d324cff2e098d21c85 (diff)
downloadouroboros-192ccde3ae37e33eb33421a6877ed4b4a025fbdb.tar.gz
ouroboros-192ccde3ae37e33eb33421a6877ed4b4a025fbdb.zip
lib: Add non-copy reading from fd for IPCPs
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/shim-eth-llc/main.c2
-rw-r--r--src/ipcpd/shim-udp/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c
index c5e6d74d..130f3945 100644
--- a/src/ipcpd/shim-eth-llc/main.c
+++ b/src/ipcpd/shim-eth-llc/main.c
@@ -597,7 +597,7 @@ static void * eth_llc_ipcp_sdu_writer(void * o)
uint8_t dsap;
uint8_t r_addr[MAC_SIZE];
- fd = ipcp_flow_read(&sdb);
+ fd = ipcp_read_shim(&sdb);
if (fd < 0)
continue;
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c
index 8c31e11a..12f6d82e 100644
--- a/src/ipcpd/shim-udp/main.c
+++ b/src/ipcpd/shim-udp/main.c
@@ -510,7 +510,7 @@ static void * ipcp_udp_sdu_loop(void * o)
int fd;
struct shm_du_buff * sdb;
- fd = ipcp_flow_read(&sdb);
+ fd = ipcp_read_shim(&sdb);
if (fd < 0)
continue;