|
libwebsockets
Lightweight C library for HTML5 websockets
|
#include <lws-conmon.h>
Data Fields | |
| lws_sockaddr46 | peer46 |
| union { | |
| struct { | |
| int | response |
| } | http |
| } | protocol_specific |
| struct addrinfo * | dns_results_copy |
| lws_conmon_interval_us_t | ciu_dns |
| lws_conmon_interval_us_t | ciu_sockconn |
| lws_conmon_interval_us_t | ciu_tls |
| lws_conmon_interval_us_t | ciu_txn_resp |
| lws_conmon_pcol_t | pcol |
| lws_conmon_dns_disposition_t | dns_disposition |
Definition at line 81 of file lws-conmon.h.
| lws_sockaddr46 lws_conmon::peer46 |
The peer we actually connected to, if any. .peer46.sa4.sa_family is either 0 if invalid, or the AF_
Definition at line 82 of file lws-conmon.h.
| union { ... } lws_conmon::protocol_specific |
possibly-present protocol-specific additional information. This is only valid for the first transaction after connection and does not capture results for persistent or muxed connections like ws messages, mqtt messages, or h2 streams
| struct addrinfo* lws_conmon::dns_results_copy |
NULL, or Allocated copy of dns results, owned by this object and freed when object destroyed. Only set if client flag LCCSCF_CONMON applied
Definition at line 97 of file lws-conmon.h.
| lws_conmon_interval_us_t lws_conmon::ciu_dns |
0, or if a socket connection, us taken to acquire this DNS response
Definition at line 102 of file lws-conmon.h.
| lws_conmon_interval_us_t lws_conmon::ciu_sockconn |
0, or if connection-based, the us interval between the socket connect() attempt that succeeded, and the connection setup
Definition at line 106 of file lws-conmon.h.
| lws_conmon_interval_us_t lws_conmon::ciu_tls |
0 if no tls, or us taken to establish the tls tunnel
Definition at line 109 of file lws-conmon.h.
| lws_conmon_interval_us_t lws_conmon::ciu_txn_resp |
0, or if the protocol supports transactions, the interval between sending the initial transaction request and starting to receive the response
Definition at line 111 of file lws-conmon.h.
| lws_conmon_pcol_t lws_conmon::pcol |
indicates which extra protocol_specific info member is valid, if any
Definition at line 116 of file lws-conmon.h.
| lws_conmon_dns_disposition_t lws_conmon::dns_disposition |
indicates general disposition of DNS request
Definition at line 120 of file lws-conmon.h.