From 192ccde3ae37e33eb33421a6877ed4b4a025fbdb Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 7 Oct 2016 16:05:52 +0200 Subject: lib: Add non-copy reading from fd for IPCPs --- src/ipcpd/shim-eth-llc/main.c | 2 +- src/ipcpd/shim-udp/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ipcpd') 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; -- cgit v1.2.3