suricata
util-memcmp.h File Reference
#include "suricata-common.h"
#include "util-optimize.h"
Include dependency graph for util-memcmp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SCMemcmp(a, b, c)
 

Functions

void MemcmpRegisterTests (void)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Memcmp implementations for SSE3, SSE4.1, SSE4.2.

Both SCMemcmp and SCMemcmpLowercase return 0 on a exact match, 1 on a failed match.

Definition in file util-memcmp.h.

Macro Definition Documentation

◆ SCMemcmp

#define SCMemcmp (   a,
  b,
 
)
Value:
({ \
memcmp((a), (b), (c)) ? 1 : 0; \
})

Definition at line 291 of file util-memcmp.h.

Function Documentation

◆ MemcmpRegisterTests()

void MemcmpRegisterTests ( void  )

Definition at line 350 of file util-memcmp.c.

References UtRegisterTest().

Here is the call graph for this function: