![]() |
FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Include dependency graph for serialize.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | serialize_stream_t |
| struct | serialize_main_header_t |
| struct | serialize_main_t |
| struct | serialize_multiple_main_t |
Macros | |
| #define | SERIALIZE_END_OF_STREAM (1 << 0) |
| #define | serialize_error_return(m, args...) serialize_error (&(m)->header, clib_error_return (0, args)) |
| #define | SERIALIZE_FLAG_IS_READ (1 << 0) |
| #define | SERIALIZE_FLAG_IS_WRITE (1 << 1) |
| #define | vec_serialize(m, v, f) serialize ((m), serialize_vector, (v), sizeof ((v)[0]), (f)) |
| #define | vec_unserialize(m, v, f) unserialize ((m), unserialize_vector, (v), sizeof ((*(v))[0]), (f)) |
| #define | vec_unserialize_aligned(m, v, f) unserialize ((m), unserialize_aligned_vector, (v), sizeof ((*(v))[0]), (f)) |
| #define | pool_serialize(m, v, f) serialize ((m), serialize_pool, (v), sizeof ((v)[0]), (f)) |
| #define | pool_unserialize(m, v, f) unserialize ((m), unserialize_pool, (v), sizeof ((*(v))[0]), (f)) |
| #define | pool_unserialize_aligned(m, v, a, f) unserialize ((m), unserialize_aligned_pool, (v), sizeof ((*(v))[0]), (a), (f)) |
Typedefs | |
| typedef void() | serialize_data_function_t(struct serialize_main_header_t *h, struct serialize_stream_t *s) |
| typedef struct serialize_stream_t | serialize_stream_t |
| typedef struct serialize_main_header_t | serialize_main_header_t |
| typedef void() | serialize_function_t(serialize_main_t *m, va_list *va) |
| #define pool_serialize | ( | m, | |
| v, | |||
| f | |||
| ) | serialize ((m), serialize_pool, (v), sizeof ((v)[0]), (f)) |
Definition at line 384 of file serialize.h.
| #define pool_unserialize | ( | m, | |
| v, | |||
| f | |||
| ) | unserialize ((m), unserialize_pool, (v), sizeof ((*(v))[0]), (f)) |
Definition at line 387 of file serialize.h.
| #define pool_unserialize_aligned | ( | m, | |
| v, | |||
| a, | |||
| f | |||
| ) | unserialize ((m), unserialize_aligned_pool, (v), sizeof ((*(v))[0]), (a), (f)) |
Definition at line 390 of file serialize.h.
| #define SERIALIZE_END_OF_STREAM (1 << 0) |
Definition at line 72 of file serialize.h.
| #define serialize_error_return | ( | m, | |
| args... | |||
| ) | serialize_error (&(m)->header, clib_error_return (0, args)) |
Definition at line 112 of file serialize.h.
| #define SERIALIZE_FLAG_IS_READ (1 << 0) |
Definition at line 119 of file serialize.h.
| #define SERIALIZE_FLAG_IS_WRITE (1 << 1) |
Definition at line 120 of file serialize.h.
| #define vec_serialize | ( | m, | |
| v, | |||
| f | |||
| ) | serialize ((m), serialize_vector, (v), sizeof ((v)[0]), (f)) |
Definition at line 371 of file serialize.h.
| #define vec_unserialize | ( | m, | |
| v, | |||
| f | |||
| ) | unserialize ((m), unserialize_vector, (v), sizeof ((*(v))[0]), (f)) |
Definition at line 374 of file serialize.h.
| #define vec_unserialize_aligned | ( | m, | |
| v, | |||
| f | |||
| ) | unserialize ((m), unserialize_aligned_vector, (v), sizeof ((*(v))[0]), (f)) |
Definition at line 377 of file serialize.h.
| typedef void() serialize_data_function_t(struct serialize_main_header_t *h, struct serialize_stream_t *s) |
Definition at line 50 of file serialize.h.
| typedef void() serialize_function_t(serialize_main_t *m, va_list *va) |
Definition at line 168 of file serialize.h.
| typedef struct serialize_main_header_t serialize_main_header_t |
| typedef struct serialize_stream_t serialize_stream_t |
| clib_error_t* serialize | ( | serialize_main_t * | m, |
| ... | |||
| ) |
Definition at line 672 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize_bitmap | ( | serialize_main_t * | m, |
| uword * | b | ||
| ) |
| void serialize_close | ( | serialize_main_t * | m | ) |
Definition at line 870 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void* serialize_close_vector | ( | serialize_main_t * | m | ) |
Definition at line 919 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize_cstring | ( | serialize_main_t * | m, |
| char * | string | ||
| ) |
Definition at line 164 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 107 of file serialize.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 178 of file serialize.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 185 of file serialize.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 218 of file serialize.h.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize_magic | ( | serialize_main_t * | m, |
| void * | magic, | ||
| u32 | magic_bytes | ||
| ) |
Definition at line 625 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| void serialize_multiple_1 | ( | serialize_main_t * | m, |
| void * | data, | ||
| uword | data_stride, | ||
| uword | n_data | ||
| ) |
Definition at line 934 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize_multiple_2 | ( | serialize_main_t * | m, |
| void * | data, | ||
| uword | data_stride, | ||
| uword | n_data | ||
| ) |
Definition at line 966 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize_multiple_4 | ( | serialize_main_t * | m, |
| void * | data, | ||
| uword | data_stride, | ||
| uword | n_data | ||
| ) |
Definition at line 1003 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* serialize_open_clib_file | ( | serialize_main_t * | m, |
| char * | file | ||
| ) |
Definition at line 1236 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize_open_clib_file_descriptor | ( | serialize_main_t * | m, |
| int | fd | ||
| ) |
Definition at line 1209 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize_open_data | ( | serialize_main_t * | m, |
| u8 * | data, | ||
| uword | n_data_bytes | ||
| ) |
Definition at line 883 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize_open_vector | ( | serialize_main_t * | m, |
| u8 * | vector | ||
| ) |
Definition at line 909 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void* serialize_read_write_not_inline | ( | serialize_main_header_t * | m, |
| serialize_stream_t * | s, | ||
| uword | n_bytes, | ||
| uword | flags | ||
| ) |
Definition at line 842 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 123 of file serialize.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| clib_error_t* unserialize | ( | serialize_main_t * | m, |
| ... | |||
| ) |
Definition at line 684 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword* unserialize_bitmap | ( | serialize_main_t * | m | ) |
| void unserialize_check_magic | ( | serialize_main_t * | m, |
| void * | magic, | ||
| u32 | magic_bytes | ||
| ) |
Definition at line 634 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void unserialize_close | ( | serialize_main_t * | m | ) |
Definition at line 877 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void unserialize_cstring | ( | serialize_main_t * | m, |
| char ** | string | ||
| ) |
Definition at line 178 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 171 of file serialize.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 201 of file serialize.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
Definition at line 254 of file serialize.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| void unserialize_multiple_1 | ( | serialize_main_t * | m, |
| void * | data, | ||
| uword | data_stride, | ||
| uword | n_data | ||
| ) |
Definition at line 1040 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void unserialize_multiple_2 | ( | serialize_main_t * | m, |
| void * | data, | ||
| uword | data_stride, | ||
| uword | n_data | ||
| ) |
Definition at line 1072 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void unserialize_multiple_4 | ( | serialize_main_t * | m, |
| void * | data, | ||
| uword | data_stride, | ||
| uword | n_data | ||
| ) |
Definition at line 1109 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* unserialize_open_clib_file | ( | serialize_main_t * | m, |
| char * | file | ||
| ) |
Definition at line 1242 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void unserialize_open_clib_file_descriptor | ( | serialize_main_t * | m, |
| int | fd | ||
| ) |
Definition at line 1215 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void unserialize_open_data | ( | serialize_main_t * | m, |
| u8 * | data, | ||
| uword | n_data_bytes | ||
| ) |
Definition at line 891 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void unserialize_open_vector | ( | serialize_main_t * | m, |
| u8 * | vector | ||
| ) |
| clib_error_t* va_serialize | ( | serialize_main_t * | m, |
| va_list * | va | ||
| ) |
Definition at line 651 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| serialize_function_t serialize_16 |
Definition at line 356 of file serialize.h.
| serialize_function_t serialize_32 |
Definition at line 355 of file serialize.h.
| serialize_function_t serialize_64 |
Definition at line 354 of file serialize.h.
| serialize_function_t serialize_8 |
Definition at line 357 of file serialize.h.
| serialize_function_t serialize_f32 |
Definition at line 359 of file serialize.h.
| serialize_function_t serialize_f64 |
Definition at line 358 of file serialize.h.
| serialize_function_t serialize_heap |
Definition at line 394 of file serialize.h.
| serialize_function_t serialize_pool |
Definition at line 381 of file serialize.h.
| serialize_function_t serialize_vec_16 |
Definition at line 363 of file serialize.h.
| serialize_function_t serialize_vec_32 |
Definition at line 364 of file serialize.h.
| serialize_function_t serialize_vec_64 |
Definition at line 365 of file serialize.h.
| serialize_function_t serialize_vec_8 |
Definition at line 362 of file serialize.h.
| serialize_function_t serialize_vector |
Definition at line 368 of file serialize.h.
| serialize_function_t unserialize_16 |
Definition at line 356 of file serialize.h.
| serialize_function_t unserialize_32 |
Definition at line 355 of file serialize.h.
| serialize_function_t unserialize_64 |
Definition at line 354 of file serialize.h.
| serialize_function_t unserialize_8 |
Definition at line 357 of file serialize.h.
| serialize_function_t unserialize_aligned_pool |
Definition at line 381 of file serialize.h.
| serialize_function_t unserialize_aligned_vector |
Definition at line 368 of file serialize.h.
| serialize_function_t unserialize_f32 |
Definition at line 359 of file serialize.h.
| serialize_function_t unserialize_f64 |
Definition at line 358 of file serialize.h.
| serialize_function_t unserialize_heap |
Definition at line 394 of file serialize.h.
| serialize_function_t unserialize_pool |
Definition at line 381 of file serialize.h.
| serialize_function_t unserialize_vec_16 |
Definition at line 363 of file serialize.h.
| serialize_function_t unserialize_vec_32 |
Definition at line 364 of file serialize.h.
| serialize_function_t unserialize_vec_64 |
Definition at line 365 of file serialize.h.
| serialize_function_t unserialize_vec_8 |
Definition at line 362 of file serialize.h.
| serialize_function_t unserialize_vector |
Definition at line 368 of file serialize.h.