From fe9d3fcb26b6ff30f4f02f14dddcde186b2955c1 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Fri, 23 Feb 2018 12:42:17 +0100 Subject: ipcpd: Print endpoint in flow statistics The flow statistics will now print the endpoint of the flow. If it's a local endpoint for the IPCP, it will print the component (e.g. "flow-allocator"). For remote flows, it will print the address of the IPCP. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/ipcpd/normal/dt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ipcpd/normal/dt.h') diff --git a/src/ipcpd/normal/dt.h b/src/ipcpd/normal/dt.h index f3bfdc56..e0bbe3f3 100644 --- a/src/ipcpd/normal/dt.h +++ b/src/ipcpd/normal/dt.h @@ -46,7 +46,8 @@ int dt_start(void); void dt_stop(void); int dt_reg_comp(void * comp, - void (* func)(void * comp, struct shm_du_buff * sdb)); + void (* func)(void * comp, struct shm_du_buff * sdb), + char * name); int dt_write_sdu(uint64_t dst_addr, qoscube_t qc, -- cgit v1.2.3