diff options
author | Luca Deri <deri@ntop.org> | 2015-06-14 10:37:34 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2015-06-14 10:37:34 +0200 |
commit | c4adefe75b957988922a6d39c49296cd07e305cf (patch) | |
tree | df50b5dacc0290ca07efb16fbfd9fd8b243e5263 /src/include | |
parent | 11fb7e1796c300993b72f6a042dd870925ef76b3 (diff) |
Added EAQ protocol support
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_protocol_ids.h | 5 | ||||
-rw-r--r-- | src/include/ndpi_protocols.h | 1 | ||||
-rw-r--r-- | src/include/ndpi_typedefs.h | 9 |
3 files changed, 8 insertions, 7 deletions
diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h index 29578b043..209707481 100644 --- a/src/include/ndpi_protocol_ids.h +++ b/src/include/ndpi_protocol_ids.h @@ -236,9 +236,10 @@ #define NDPI_SERVICE_VIBER NDPI_PROTOCOL_VIBER /* Tomasz Bujlow <tomasz@skatnet.dk> */ #define NDPI_SERVICE_YAHOO NDPI_PROTOCOL_YAHOO /* Tomasz Bujlow <tomasz@skatnet.dk> */ #define NDPI_SERVICE_PANDORA 187 +#define NDPI_PROTOCOL_EAQ 190 -/* UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE (NDPI_PROTOCOL_WHATSAPP_VOICE) */ -#define NDPI_LAST_IMPLEMENTED_PROTOCOL 189 +/* UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE */ +#define NDPI_LAST_IMPLEMENTED_PROTOCOL 190 #define NDPI_MAX_SUPPORTED_PROTOCOLS (NDPI_LAST_IMPLEMENTED_PROTOCOL + 1) #define NDPI_MAX_NUM_CUSTOM_PROTOCOLS (NDPI_NUM_BITS-NDPI_LAST_IMPLEMENTED_PROTOCOL) diff --git a/src/include/ndpi_protocols.h b/src/include/ndpi_protocols.h index 4fc0516d8..f5cd3271a 100644 --- a/src/include/ndpi_protocols.h +++ b/src/include/ndpi_protocols.h @@ -178,5 +178,6 @@ void ndpi_search_twitter(struct ndpi_detection_module_struct *ndpi_struct, struc void ndpi_search_vhua(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow); void ndpi_search_telegram(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow); void ndpi_search_quic(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow); +void ndpi_search_eaq(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow); #endif /* __NDPI_PROTOCOLS_INCLUDE_FILE__ */ diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index a75b7c4cb..c35064b88 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -373,23 +373,18 @@ struct ndpi_flow_tcp_struct { #ifdef NDPI_PROTOCOL_MAIL_IMAP u_int32_t mail_imap_stage:3; #endif - #ifdef NDPI_PROTOCOL_SKYPE u_int8_t skype_packet_id; #endif - #ifdef NDPI_PROTOCOL_CITRIX u_int8_t citrix_packet_id; #endif - #ifdef NDPI_PROTOCOL_LOTUS_NOTES u_int8_t lotus_notes_packet_id; #endif - #ifdef NDPI_PROTOCOL_TEAMVIEWER u_int8_t teamviewer_stage; #endif - #ifdef NDPI_PROTOCOL_ZMQ u_int8_t prev_zmq_pkt_len; u_char prev_zmq_pkt[10]; @@ -439,6 +434,10 @@ struct ndpi_flow_udp_struct { #ifdef NDPI_PROTOCOL_TEAMVIEWER u_int8_t teamviewer_stage; #endif +#ifdef NDPI_PROTOCOL_EAQ + u_int8_t eaq_pkt_id; + u_int32_t eaq_sequence; +#endif } #if !defined(WIN32) __attribute__ ((__packed__)) |