summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/dt.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-02-23 12:42:17 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2018-02-23 12:53:56 +0100
commitfe9d3fcb26b6ff30f4f02f14dddcde186b2955c1 (patch)
tree9d4d03468ed8993eb02d1407081dd9b3bcd872d3 /src/ipcpd/normal/dt.h
parent89388506dd7d88adfc9188547341d7f36bcce397 (diff)
downloadouroboros-fe9d3fcb26b6ff30f4f02f14dddcde186b2955c1.tar.gz
ouroboros-fe9d3fcb26b6ff30f4f02f14dddcde186b2955c1.zip
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 <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/normal/dt.h')
-rw-r--r--src/ipcpd/normal/dt.h3
1 files changed, 2 insertions, 1 deletions
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,