diff options
author | Sorin Zamfir <sorin.zamfir@yahoo.com> | 2016-03-20 13:38:29 +0200 |
---|---|---|
committer | Sorin Zamfir <sorin.zamfir@yahoo.com> | 2016-03-20 13:38:29 +0200 |
commit | 3213d2205ae55f9b79664597251a11ca9fc8d8c6 (patch) | |
tree | b2e0718ce502929f102cb15f28b7ccd4570bce94 /src | |
parent | 3dde80ed0fea830fed64bfd82eb9801aee0ca8e3 (diff) |
Removed unused type definitions.
Disabled tracing in the example application.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_typedefs.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 4fe8d5712..620c9685d 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -345,14 +345,6 @@ typedef enum { HTTP_METHOD_CONNECT } ndpi_http_method; -typedef enum { - COAP_METHOD_UNKNOWN = 0, - COAP_METHOD_GET, - COAP_METHOD_POST, - COAP_METHOD_PUT, - COAP_METHOD_DELETE -} ndpi_coap_method; - struct ndpi_id_struct { /** detected_protocol_bitmask: @@ -584,9 +576,6 @@ struct ndpi_flow_tcp_struct { u_int8_t prev_zmq_pkt_len; u_char prev_zmq_pkt[10]; #endif -#ifdef NDPI_PROTOCOL_MQTT - u_int8_t mqtt_stage:2; -#endif } #ifndef WIN32 __attribute__ ((__packed__)) @@ -636,9 +625,6 @@ struct ndpi_flow_udp_struct { u_int8_t eaq_pkt_id; u_int32_t eaq_sequence; #endif -#ifdef NDPI_PROTOCOL_COAP - u_int32_t coap_stage:2; -#endif } #ifndef WIN32 __attribute__ ((__packed__)) @@ -921,11 +907,6 @@ struct ndpi_flow_struct { char *url, *content_type; } http; - struct { - ndpi_coap_method method; - char *url, *content_type; - } coap; - union { /* the only fields useful for nDPI and ntopng */ |