FD.io VPP  v16.06
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)
 

Function Documentation

void os_exit ( int  code)

Definition at line 169 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 206 of file unix-misc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void os_out_of_memory ( void  )

Definition at line 202 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 165 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 175 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 104 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 48 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 63 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 126 of file unix-misc.c.

+ Here is the call graph for this function: