FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
flowprobe.api
Go to the documentation of this file.
1
/* Define a simple enable-disable binary API to control the feature */
2
3
/** \file
4
This file defines the vpp control-plane API messages
5
used to control the flowprobe plugin
6
*/
7
8
option
version
=
"1.0.0"
;
9
10
/** \brief Enable / disable per-packet IPFIX recording on an interface
11
@param client_index - opaque cookie to identify the sender
12
@param context - sender context, to match reply w/ request
13
@param is_add - add address if non-zero, else delete
14
@param is_ipv6 - if non-zero the address is ipv6, else ipv4
15
@param sw_if_index - index of the interface
16
*/
17
autoreply manual_print define flowprobe_tx_interface_add_del
18
{
19
/* Client identifier, set from api_main.my_client_index */
20
u32
client_index
;
21
22
/* Arbitrary context, so client can match reply to request */
23
u32
context
;
24
25
/* Enable / disable the feature */
26
u8
is_add
;
27
u8
which
;
/* 0 = ipv4, 1 = l2, 2 = ipv6 */
28
29
/* Interface handle */
30
u32
sw_if_index
;
31
};
32
33
autoreply define
flowprobe_params
34
{
35
u32
client_index
;
36
u32
context
;
37
u8
record_l2
;
38
u8
record_l3
;
39
u8
record_l4
;
40
u32
active_timer
;
/* ~0 is off, 0 is default */
41
u32
passive_timer
;
/* ~0 is off, 0 is default */
42
};
vl_api_flowprobe_tx_interface_add_del_t::sw_if_index
u32 sw_if_index
Definition:
flowprobe.api:30
vl_api_flowprobe_params_t::client_index
u32 client_index
Definition:
flowprobe.api:35
vl_api_flowprobe_tx_interface_add_del_t::which
u8 which
Definition:
flowprobe.api:27
vl_api_flowprobe_params_t::context
u32 context
Definition:
flowprobe.api:36
vl_api_flowprobe_params_t::active_timer
u32 active_timer
Definition:
flowprobe.api:40
u8
unsigned char u8
Definition:
types.h:56
u32
unsigned int u32
Definition:
types.h:88
flowprobe_params
static int flowprobe_params(flowprobe_main_t *fm, u8 record_l2, u8 record_l3, u8 record_l4, u32 active_timer, u32 passive_timer)
Definition:
flowprobe.c:716
vl_api_flowprobe_tx_interface_add_del_t::context
u32 context
Definition:
flowprobe.api:23
vl_api_flowprobe_tx_interface_add_del_t::is_add
u8 is_add
Definition:
flowprobe.api:26
vl_api_flowprobe_params_t::passive_timer
u32 passive_timer
Definition:
flowprobe.api:41
version
option version
Definition:
flowprobe.api:8
vl_api_flowprobe_tx_interface_add_del_t::client_index
u32 client_index
Definition:
flowprobe.api:20
vl_api_flowprobe_params_t::record_l4
u8 record_l4
Definition:
flowprobe.api:39
vl_api_flowprobe_params_t::record_l3
u8 record_l3
Definition:
flowprobe.api:38
vl_api_flowprobe_params_t::record_l2
u8 record_l2
Definition:
flowprobe.api:37
src
plugins
flowprobe
flowprobe.api
Generated on Sun Dec 8 2019 18:01:57 for FD.io VPP by
1.8.13