Monitoring / diagnostics API for the transport service. More...
Go to the source code of this file.
Data Structures | |
| struct | GNUNET_TRANSPORT_MonitorInformation |
| Information about another peer's address. More... | |
| struct | GNUNET_TRANSPORT_LinkInformation |
| State of one virtual link, the abstraction CORE sits on top of. More... | |
Macros | |
| #define | GNUNET_TRANSPORT_MONITOR_VERSION 0x00000000 |
| Version number of the transport API. | |
Typedefs | |
| typedef void(* | GNUNET_TRANSPORT_MonitorCallback) (void *cls, const struct GNUNET_PeerIdentity *peer, const struct GNUNET_TRANSPORT_MonitorInformation *mi) |
| Function to call with information about a peer. | |
| typedef void(* | GNUNET_TRANSPORT_LinkCallback) (void *cls, const struct GNUNET_PeerIdentity *peer, const struct GNUNET_TRANSPORT_LinkInformation *li) |
| Function called once per virtual link, and a final time with peer and li both NULL to signal the end of the listing. | |
Enumerations | |
| enum | GNUNET_TRANSPORT_LinkRoute { GNUNET_TRANSPORT_LINK_ROUTE_DIRECT = 0 , GNUNET_TRANSPORT_LINK_ROUTE_DV = 1 } |
| How is a virtual link routed? More... | |
Functions | |
| struct GNUNET_TRANSPORT_MonitorContext * | GNUNET_TRANSPORT_monitor (const struct GNUNET_CONFIGURATION_Handle *cfg, const struct GNUNET_PeerIdentity *peer, int one_shot, GNUNET_TRANSPORT_MonitorCallback cb, void *cb_cls) |
| Return information about a specific peer or all peers currently known to transport service once or in monitoring mode. | |
| void | GNUNET_TRANSPORT_monitor_cancel (struct GNUNET_TRANSPORT_MonitorContext *mc) |
| Cancel request to monitor peers. | |
| struct GNUNET_TRANSPORT_LinkListContext * | GNUNET_TRANSPORT_links_list (const struct GNUNET_CONFIGURATION_Handle *cfg, const struct GNUNET_PeerIdentity *peer, int include_unconfirmed, GNUNET_TRANSPORT_LinkCallback cb, void *cb_cls) |
| Ask the transport service for the virtual links it currently has. | |
| void | GNUNET_TRANSPORT_links_list_cancel (struct GNUNET_TRANSPORT_LinkListContext *llc) |
| Cancel a request to list virtual links. | |
Monitoring / diagnostics API for the transport service.
Definition in file gnunet_transport_monitor_service.h.