diff options
author | Dimitri Staessens <[email protected]> | 2018-02-23 12:42:17 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-02-23 12:53:56 +0100 |
commit | fe9d3fcb26b6ff30f4f02f14dddcde186b2955c1 (patch) | |
tree | 9d4d03468ed8993eb02d1407081dd9b3bcd872d3 /src/ipcpd/normal/dt.h | |
parent | 89388506dd7d88adfc9188547341d7f36bcce397 (diff) | |
download | ouroboros-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 <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/normal/dt.h')
-rw-r--r-- | src/ipcpd/normal/dt.h | 3 |
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, |