FD.io VPP  v18.01.2-1-g9b554f3
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

#define MTHRESH   6 /* threshold for median */

Definition at line 37 of file qsort.c.

#define THRESH   4 /* threshold for insertion */

Definition at line 36 of file qsort.c.

Function Documentation

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:

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: