FD.io VPP  v20.05-21-gb1500e9ff
Vector Packet Processing
macros.c File Reference
+ Include dependency graph for macros.c:

Go to the source code of this file.

Functions

static int macro_isalnum (i8 c)
 
static i8builtin_eval (macro_main_t *mm, i8 *varname, i32 complain)
 
int clib_macro_unset (macro_main_t *mm, char *name)
 
int clib_macro_set_value (macro_main_t *mm, char *name, char *value)
 
i8clib_macro_get_value (macro_main_t *mm, char *name)
 
i8clib_macro_eval (macro_main_t *mm, i8 *s, i32 complain)
 
i8clib_macro_eval_dollar (macro_main_t *mm, i8 *s, i32 complain)
 
void clib_macro_add_builtin (macro_main_t *mm, char *name, void *eval_fn)
 
static i8eval_hostname (macro_main_t *mm, i32 complain)
 
void clib_macro_init (macro_main_t *mm)
 
void clib_macro_free (macro_main_t *mm)
 

Function Documentation

◆ builtin_eval()

static i8* builtin_eval ( macro_main_t mm,
i8 varname,
i32  complain 
)
static

Definition at line 31 of file macros.c.

+ Here is the caller graph for this function:

◆ clib_macro_add_builtin()

void clib_macro_add_builtin ( macro_main_t mm,
char *  name,
void *  eval_fn 
)

Definition at line 204 of file macros.c.

◆ clib_macro_eval()

i8* clib_macro_eval ( macro_main_t mm,
i8 s,
i32  complain 
)

Definition at line 95 of file macros.c.

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

◆ clib_macro_eval_dollar()

i8* clib_macro_eval_dollar ( macro_main_t mm,
i8 s,
i32  complain 
)

Definition at line 192 of file macros.c.

+ Here is the call graph for this function:

◆ clib_macro_free()

void clib_macro_free ( macro_main_t mm)

Definition at line 238 of file macros.c.

◆ clib_macro_get_value()

i8* clib_macro_get_value ( macro_main_t mm,
char *  name 
)

Definition at line 79 of file macros.c.

+ Here is the caller graph for this function:

◆ clib_macro_init()

void clib_macro_init ( macro_main_t mm)

Definition at line 221 of file macros.c.

+ Here is the call graph for this function:

◆ clib_macro_set_value()

int clib_macro_set_value ( macro_main_t mm,
char *  name,
char *  value 
)

Definition at line 64 of file macros.c.

+ Here is the call graph for this function:

◆ clib_macro_unset()

int clib_macro_unset ( macro_main_t mm,
char *  name 
)

Definition at line 44 of file macros.c.

+ Here is the caller graph for this function:

◆ eval_hostname()

static i8* eval_hostname ( macro_main_t mm,
i32  complain 
)
static

Definition at line 211 of file macros.c.

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

◆ macro_isalnum()

static int macro_isalnum ( i8  c)
inlinestatic

Definition at line 22 of file macros.c.

+ Here is the caller graph for this function: