From 03939a596ca1d7f731290236a87faec7b23360b1 Mon Sep 17 00:00:00 2001 From: xver Date: Tue, 12 Jun 2018 20:00:48 -0400 Subject: [PATCH] change header&hash data type. was: real,double is: log,longint --- utils/dpi/include/shunt_dpi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/dpi/include/shunt_dpi.h b/utils/dpi/include/shunt_dpi.h index e6c80b23..d9037ff0 100644 --- a/utils/dpi/include/shunt_dpi.h +++ b/utils/dpi/include/shunt_dpi.h @@ -734,7 +734,7 @@ int shunt_dpi_recv_string (int sockid,int size,char** string); See Also: - */ -double shunt_dpi_hash(const char *str); +long shunt_dpi_hash(const char *str); /* Function: shunt_dpi_send_header @@ -789,7 +789,7 @@ int shunt_dpi_recv_header (int sockid,cs_header* h); - - */ -int shunt_dpi_send_data_header (int sockid,cs_header* h,double data_type,svOpenArrayHandle trnx_payload_sizes); +int shunt_dpi_send_data_header (int sockid,cs_header* h,long data_type,svOpenArrayHandle trnx_payload_sizes); /* Function: shunt_dpi_recv_data_header @@ -806,7 +806,7 @@ int shunt_dpi_send_data_header (int sockid,cs_header* h,double data_type,svOpenA - - */ -int shunt_dpi_recv_data_header (int sockid,cs_header* h,double* data_type,svOpenArrayHandle** trnx_payload_sizes); +int shunt_dpi_recv_data_header (int sockid,cs_header* h,long* data_type,svOpenArrayHandle** trnx_payload_sizes); /* Function: shunt_dpi_hs_send