FD.io VPP  v20.09-rc2-28-g3c5414029
Vector Packet Processing
macros.h File Reference
+ Include dependency graph for macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clib_macro_main_t
 

Functions

int clib_macro_unset (clib_macro_main_t *mm, char *name)
 
int clib_macro_set_value (clib_macro_main_t *mm, char *name, char *value)
 
void clib_macro_add_builtin (clib_macro_main_t *mm, char *name, void *eval_fn)
 
i8clib_macro_get_value (clib_macro_main_t *mm, char *name)
 
i8clib_macro_eval (clib_macro_main_t *mm, i8 *s, i32 complain, u16 level, u16 max_level)
 
i8clib_macro_eval_dollar (clib_macro_main_t *mm, i8 *s, i32 complain)
 
void clib_macro_init (clib_macro_main_t *mm)
 
void clib_macro_free (clib_macro_main_t *mm)
 

Variables

format_function_t format_clib_macro_main
 

Function Documentation

◆ clib_macro_add_builtin()

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

Definition at line 213 of file macros.c.

◆ clib_macro_eval()

i8* clib_macro_eval ( clib_macro_main_t mm,
i8 s,
i32  complain,
u16  level,
u16  max_level 
)

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 ( clib_macro_main_t mm,
i8 s,
i32  complain 
)

Definition at line 201 of file macros.c.

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

◆ clib_macro_free()

void clib_macro_free ( clib_macro_main_t mm)

Definition at line 247 of file macros.c.

+ Here is the caller graph for this function:

◆ clib_macro_get_value()

i8* clib_macro_get_value ( clib_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 ( clib_macro_main_t mm)

Definition at line 230 of file macros.c.

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

◆ clib_macro_set_value()

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

Definition at line 64 of file macros.c.

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

◆ clib_macro_unset()

int clib_macro_unset ( clib_macro_main_t mm,
char *  name 
)

Definition at line 44 of file macros.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ format_clib_macro_main

format_function_t format_clib_macro_main

Definition at line 48 of file macros.h.