aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_typedefs.h
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2023-09-27 17:05:12 +0200
committerLuca <deri@ntop.org>2023-09-27 17:05:12 +0200
commit77e5daf03e1ee7a8377a5a8906fe2c089c94ecf0 (patch)
tree4a53b889791a634d8572702ce4e78ec0f9286dce /src/include/ndpi_typedefs.h
parentef3adb98308f14628e64b918f739e472de00cfcf (diff)
Cleaned up mining datastructure
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r--src/include/ndpi_typedefs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 690c9daf9..f3439ad88 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1480,9 +1480,6 @@ struct ndpi_flow_struct {
/* Some protocols calculate the entropy. */
float entropy;
- /* Place textual flow info here */
- char flow_extra_info[16];
-
/* General purpose field used to save mainly hostname/SNI information.
* In details it used for: MGCP, COLLECTD, DNS, SSDP and NETBIOS name, HTTP, MUNIN and DHCP hostname,
* WHOIS request, TLS/QUIC server name, XIAOMI domain and STUN realm.
@@ -1563,6 +1560,10 @@ struct ndpi_flow_struct {
} softether;
struct {
+ char currency[16];
+ } mining;
+
+ struct {
char *server_names, *advertised_alpns, *negotiated_alpn, *tls_supported_versions, *issuerDN, *subjectDN;
u_int32_t notBefore, notAfter;
char ja3_client[33], ja3_server[33];