FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
qsort.c File Reference
+ Include dependency graph for qsort.c:

Go to the source code of this file.

Data Structures

struct  qst_t
 

Macros

#define THRESH   4 /* threshold for insertion */
 
#define MTHRESH   6 /* threshold for median */
 

Functions

static void qst (qst_t *q, char *base, char *max)
 
void qsort (void *base, uword n, uword size, int(*compar)(const void *, const void *))
 

Macro Definition Documentation

◆ MTHRESH

#define MTHRESH   6 /* threshold for median */

Definition at line 37 of file qsort.c.

◆ THRESH

#define THRESH   4 /* threshold for insertion */

Definition at line 36 of file qsort.c.

Function Documentation

◆ qsort()

void qsort ( void *  base,
uword  n,
uword  size,
int(*)(const void *, const void *)  compar 
)

Definition at line 56 of file qsort.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qst()

static void qst ( qst_t q,
char *  base,
char *  max 
)
static

Definition at line 145 of file qsort.c.

+ Here is the caller graph for this function: