FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
unix-misc.c File Reference
+ Include dependency graph for unix-misc.c:

Go to the source code of this file.

Functions

clib_error_tunix_file_n_bytes (char *file, uword *result)
 
clib_error_tunix_file_read_contents (char *file, u8 *result, uword n_bytes)
 
clib_error_tunix_file_contents (char *file, u8 **result)
 
clib_error_tunix_proc_file_contents (char *file, u8 **result)
 
void os_panic (void)
 
void os_exit (int)
 
void os_puts (u8 *string, uword string_length, uword is_error)
 
void os_out_of_memory (void)
 
uword os_get_cpu_number (void)
 
uword os_get_ncpus (void)
 

Function Documentation

void os_exit ( int  code)

Definition at line 180 of file unix-misc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword os_get_cpu_number ( void  )

Definition at line 224 of file unix-misc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword os_get_ncpus ( void  )

Definition at line 231 of file unix-misc.c.

+ Here is the caller graph for this function:

void os_out_of_memory ( void  )

Definition at line 217 of file unix-misc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void os_panic ( void  )

Definition at line 172 of file unix-misc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void os_puts ( u8 string,
uword  string_length,
uword  is_error 
)

Definition at line 189 of file unix-misc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* unix_file_contents ( char *  file,
u8 **  result 
)

Definition at line 109 of file unix-misc.c.

+ Here is the call graph for this function:

clib_error_t* unix_file_n_bytes ( char *  file,
uword result 
)

Definition at line 49 of file unix-misc.c.

+ Here is the caller graph for this function:

clib_error_t* unix_file_read_contents ( char *  file,
u8 result,
uword  n_bytes 
)

Definition at line 65 of file unix-misc.c.

+ Here is the caller graph for this function:

clib_error_t* unix_proc_file_contents ( char *  file,
u8 **  result 
)

Definition at line 132 of file unix-misc.c.

+ Here is the call graph for this function: