Go to the source code of this file.
|
always_inline uword | unix_file_add (unix_main_t *um, unix_file_t *template) |
|
always_inline void | unix_file_del (unix_main_t *um, unix_file_t *f) |
|
always_inline uword | unix_file_set_data_available_to_write (u32 unix_file_index, uword is_available) |
|
always_inline void | unix_save_error (unix_main_t *um, clib_error_t *error) |
|
int | vlib_unix_main (int argc, char *argv[]) |
|
clib_error_t * | unix_physmem_init (vlib_main_t *vm, int fail_if_physical_memory_not_present) |
|
void | vlib_unix_cli_set_prompt (char *prompt) |
| Set the CLI prompt. More...
|
|
static unix_main_t * | vlib_unix_get_main (void) |
|
clib_error_t * | write_sys_fs (char *file_name, char *fmt,...) |
|
clib_error_t * | read_sys_fs (char *file_name, char *fmt,...) |
|
clib_error_t * | foreach_directory_file (char *dir_name, clib_error_t *(*f)(void *arg, u8 *path_name, u8 *file_name), void *arg, int scan_dirs) |
|
#define UNIX_FILE_DATA_AVAILABLE_TO_WRITE (1 << 0) |
#define UNIX_FILE_EVENT_EDGE_TRIGGERED (1 << 1) |
#define UNIX_FLAG_INTERACTIVE (1 << 0) |
#define UNIX_FLAG_NODAEMON (1 << 1) |
Enumerator |
---|
UNIX_FILE_UPDATE_ADD |
|
UNIX_FILE_UPDATE_MODIFY |
|
UNIX_FILE_UPDATE_DELETE |
|
Definition at line 69 of file unix.h.
clib_error_t* read_sys_fs |
( |
char * |
file_name, |
|
|
char * |
fmt, |
|
|
|
... |
|
) |
| |
void vlib_unix_cli_set_prompt |
( |
char * |
prompt | ) |
|
Set the CLI prompt.
- Parameters
-
The | C string to set the prompt to. |
- Note
- This setting is global; it impacts all current and future CLI sessions.
Definition at line 2189 of file cli.c.
int vlib_unix_main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
clib_error_t* write_sys_fs |
( |
char * |
file_name, |
|
|
char * |
fmt, |
|
|
|
... |
|
) |
| |