FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
file.h File Reference
+ Include dependency graph for file.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clib_file
 
struct  clib_file_main_t
 

Macros

#define UNIX_FILE_DATA_AVAILABLE_TO_WRITE   (1 << 0)
 
#define UNIX_FILE_EVENT_EDGE_TRIGGERED   (1 << 1)
 

Typedefs

typedef clib_error_t *( clib_file_function_t) (struct clib_file *f)
 
typedef struct clib_file clib_file_t
 

Enumerations

enum  clib_file_update_type_t { UNIX_FILE_UPDATE_ADD, UNIX_FILE_UPDATE_MODIFY, UNIX_FILE_UPDATE_DELETE }
 

Functions

static uword clib_file_add (clib_file_main_t *um, clib_file_t *template)
 
static void clib_file_del (clib_file_main_t *um, clib_file_t *f)
 
static void clib_file_del_by_index (clib_file_main_t *um, uword index)
 
static uword clib_file_set_data_available_to_write (clib_file_main_t *um, u32 clib_file_index, uword is_available)
 

Macro Definition Documentation

#define UNIX_FILE_DATA_AVAILABLE_TO_WRITE   (1 << 0)

Definition at line 56 of file file.h.

#define UNIX_FILE_EVENT_EDGE_TRIGGERED   (1 << 1)

Definition at line 57 of file file.h.

Typedef Documentation

typedef clib_error_t*( clib_file_function_t) (struct clib_file *f)

Definition at line 48 of file file.h.

typedef struct clib_file clib_file_t

Enumeration Type Documentation

Enumerator
UNIX_FILE_UPDATE_ADD 
UNIX_FILE_UPDATE_MODIFY 
UNIX_FILE_UPDATE_DELETE 

Definition at line 66 of file file.h.

Function Documentation

static uword clib_file_add ( clib_file_main_t um,
clib_file_t template 
)
inlinestatic

Definition at line 84 of file file.h.

+ Here is the caller graph for this function:

static void clib_file_del ( clib_file_main_t um,
clib_file_t f 
)
inlinestatic

Definition at line 94 of file file.h.

+ Here is the caller graph for this function:

static void clib_file_del_by_index ( clib_file_main_t um,
uword  index 
)
inlinestatic

Definition at line 103 of file file.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword clib_file_set_data_available_to_write ( clib_file_main_t um,
u32  clib_file_index,
uword  is_available 
)
inlinestatic

Definition at line 111 of file file.h.

+ Here is the caller graph for this function: