From 3213d2205ae55f9b79664597251a11ca9fc8d8c6 Mon Sep 17 00:00:00 2001 From: Sorin Zamfir Date: Sun, 20 Mar 2016 13:38:29 +0200 Subject: Removed unused type definitions. Disabled tracing in the example application. --- src/include/ndpi_typedefs.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3