FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
ioam_export.h File Reference
+ Include dependency graph for ioam_export.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ioam_export_buffer
 
struct  ioam_export_main_t
 
struct  ipfix_data_packet_t
 
struct  ip4_ipfix_data_packet_t
 

Macros

#define DEFAULT_EXPORT_SIZE   (3 * CLIB_CACHE_LINE_BYTES)
 
#define DEFAULT_EXPORT_RECORDS   7
 
#define IPFIX_IOAM_EXPORT_ID   272
 

Typedefs

typedef struct ioam_export_buffer ioam_export_buffer_t
 

Functions

static ioam_export_buffer_tioam_export_get_my_buffer (u32 thread_id)
 
static int ioam_export_buffer_add_header (vlib_buffer_t *b0)
 
static int ioam_export_init_buffer (vlib_main_t *vm, ioam_export_buffer_t *eb)
 
static void ioam_export_thread_buffer_free (void)
 
static int ioam_export_thread_buffer_init (vlib_main_t *vm)
 
static void ioam_export_header_cleanup (ip4_address_t *collector_address, ip4_address_t *src_address)
 
static int ioam_export_header_create (ip4_address_t *collector_address, ip4_address_t *src_address)
 
static int ioam_export_send_buffer (vlib_main_t *vm, ioam_export_buffer_t *eb)
 

Variables

ioam_export_main_t ioam_export_main
 
vlib_node_registration_t export_node
 (constructor) VLIB_REGISTER_NODE (export_node) More...
 

Macro Definition Documentation

#define DEFAULT_EXPORT_RECORDS   7

Definition at line 84 of file ioam_export.h.

#define DEFAULT_EXPORT_SIZE   (3 * CLIB_CACHE_LINE_BYTES)

Definition at line 79 of file ioam_export.h.

#define IPFIX_IOAM_EXPORT_ID   272

Definition at line 186 of file ioam_export.h.

Typedef Documentation

Function Documentation

static int ioam_export_buffer_add_header ( vlib_buffer_t b0)
inlinestatic

Definition at line 95 of file ioam_export.h.

+ Here is the caller graph for this function:

static ioam_export_buffer_t* ioam_export_get_my_buffer ( u32  thread_id)
inlinestatic

Definition at line 86 of file ioam_export.h.

+ Here is the caller graph for this function:

static void ioam_export_header_cleanup ( ip4_address_t collector_address,
ip4_address_t src_address 
)
inlinestatic

Definition at line 202 of file ioam_export.h.

+ Here is the caller graph for this function:

static int ioam_export_header_create ( ip4_address_t collector_address,
ip4_address_t src_address 
)
inlinestatic

Definition at line 210 of file ioam_export.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int ioam_export_init_buffer ( vlib_main_t vm,
ioam_export_buffer_t eb 
)
inlinestatic

Definition at line 105 of file ioam_export.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int ioam_export_send_buffer ( vlib_main_t vm,
ioam_export_buffer_t eb 
)
inlinestatic

Definition at line 266 of file ioam_export.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ioam_export_thread_buffer_free ( void  )
inlinestatic

Definition at line 124 of file ioam_export.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int ioam_export_thread_buffer_init ( vlib_main_t vm)
inlinestatic

Definition at line 146 of file ioam_export.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

Initial value:
=
{
.function = ip6_export_node_fn,
.name = "ip6-export",
.vector_size = sizeof (u32),
.format_trace = format_export_trace,
.error_strings = export_error_strings,
.n_next_nodes = EXPORT_N_NEXT,
.next_nodes =
{
[EXPORT_NEXT_POP_HBYH] = "ip6-pop-hop-by-hop"
},
}
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static u8 * format_export_trace(u8 *s, va_list *args)
Definition: node.c:30
#define ARRAY_LEN(x)
Definition: clib.h:59
static uword ip6_export_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: node.c:123
unsigned int u32
Definition: types.h:88
static char * export_error_strings[]
Definition: node.c:54

(constructor) VLIB_REGISTER_NODE (export_node)

Definition at line 77 of file ioam_export.h.

ioam_export_main_t ioam_export_main

Definition at line 75 of file ioam_export.h.