@ -701,7 +701,7 @@ static InspectionBuffer *GetHttp2HNameData(DetectEngineThreadCtx *det_ctx,
uint32_t b_len = 0 ;
const uint8_t * b = NULL ;
if ( rs_http2_tx_get_header_name ( cbdata - > txv , flags , ( uint32_t ) cbdata - > local_id , & b , & b_len ) ! = 1 )
if ( rs_http2_tx_get_header_name ( cbdata - > txv , flags , cbdata - > local_id , & b , & b_len ) ! = 1 )
return NULL ;
if ( b = = NULL | | b_len = = 0 )
return NULL ;
@ -723,7 +723,7 @@ static void PrefilterTxHttp2HName(DetectEngineThreadCtx *det_ctx,
const MpmCtx * mpm_ctx = ctx - > mpm_ctx ;
const int list_id = ctx - > list_id ;
int local_id = 0 ;
u int32_ t local_id = 0 ;
while ( 1 ) {
// loop until we get a NULL
@ -767,7 +767,7 @@ static int DetectEngineInspectHttp2HeaderName(
const Signature * s ,
Flow * f , uint8_t flags , void * alstate , void * txv , uint64_t tx_id )
{
int local_id = 0 ;
u int32_ t local_id = 0 ;
const DetectEngineTransforms * transforms = NULL ;
if ( ! engine - > mpm ) {
@ -835,7 +835,7 @@ static InspectionBuffer *GetHttp2HeaderData(DetectEngineThreadCtx *det_ctx,
uint32_t b_len = 0 ;
const uint8_t * b = NULL ;
if ( rs_http2_tx_get_header ( cbdata - > txv , flags , ( uint32_t ) cbdata - > local_id , & b , & b_len ) ! = 1 )
if ( rs_http2_tx_get_header ( cbdata - > txv , flags , cbdata - > local_id , & b , & b_len ) ! = 1 )
return NULL ;
if ( b = = NULL | | b_len = = 0 )
return NULL ;
@ -856,7 +856,7 @@ static void PrefilterTxHttp2Header(DetectEngineThreadCtx *det_ctx,
const MpmCtx * mpm_ctx = ctx - > mpm_ctx ;
const int list_id = ctx - > list_id ;
int local_id = 0 ;
u int32_ t local_id = 0 ;
while ( 1 ) {
// loop until we get a NULL
@ -899,7 +899,7 @@ static int DetectEngineInspectHttp2Header(
const Signature * s ,
Flow * f , uint8_t flags , void * alstate , void * txv , uint64_t tx_id )
{
int local_id = 0 ;
u int32_ t local_id = 0 ;
const DetectEngineTransforms * transforms = NULL ;
if ( ! engine - > mpm ) {