FD.io VPP
v17.04.2-2-ga8f93f8
Vector Packet Processing
Main Page
Related Pages
Data Structures
Source
Files
Symbols
trace.api
Go to the documentation of this file.
1
/* Hey Emacs use -*- mode: C -*- */
2
/*
3
* Copyright (c) 2016 Cisco and/or its affiliates.
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at:
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
18
/** \brief iOAM6 Trace - Set the iOAM6 trace profile
19
@param trace_type - Type of trace requested
20
@param num_elts - Number of trace elements to be inserted
21
@param node_id - Trace Node ID
22
@param trace_tsp- Timestamp resolution
23
@param app_data - Application specific opaque
24
*/
25
define trace_profile_add {
26
u32
client_index
;
27
u32
context
;
28
u8
trace_type
;
29
u8
num_elts
;
30
u8
trace_tsp
;
31
u32
node_id
;
32
u32
app_data
;
33
};
34
35
/** \brief Trace profile add / del response
36
@param context - sender context, to match reply w/ request
37
@param retval - return value for request
38
*/
39
define trace_profile_add_reply {
40
u32
context
;
41
i32
retval
;
42
};
43
44
45
46
/** \brief Delete trace Profile
47
@param client_index - opaque cookie to identify the sender
48
@param context - sender context, to match reply w/ request
49
*/
50
define trace_profile_del {
51
u32
client_index
;
52
u32
context
;
53
};
54
55
/** \brief Trace profile add / del response
56
@param context - sender context, to match reply w/ request
57
@param retval - return value for request
58
*/
59
define trace_profile_del_reply {
60
u32
context
;
61
i32
retval
;
62
};
63
64
65
66
/** \brief Show trace Profile
67
@param client_index - opaque cookie to identify the sender
68
@param context - sender context, to match reply w/ request
69
*/
70
define trace_profile_show_config {
71
u32
client_index
;
72
u32
context
;
73
};
74
75
/** \brief Show trace config response
76
@param context - sender context, to match reply w/ request
77
@param retval - return value for request
78
@param trace_type - Type of trace requested
79
@param num_elts - Number of trace elements to be inserted
80
@param node_id - Trace Node ID
81
@param trace_tsp- Timestamp resolution
82
@param app_data - Application specific opaque
83
*/
84
define trace_profile_show_config_reply {
85
u32
context
;
86
i32
retval
;
87
u8
trace_type
;
88
u8
num_elts
;
89
u8
trace_tsp
;
90
u32
node_id
;
91
u32
app_data
;
92
};
vl_api_trace_profile_add_reply_t::context
u32 context
Definition:
trace.api:40
vl_api_trace_profile_add_t::context
u32 context
Definition:
trace.api:27
vl_api_trace_profile_add_t::trace_tsp
u8 trace_tsp
Definition:
trace.api:30
vl_api_trace_profile_del_t::client_index
u32 client_index
Definition:
trace.api:51
vl_api_trace_profile_show_config_t::client_index
u32 client_index
Definition:
trace.api:71
vl_api_trace_profile_show_config_reply_t::num_elts
u8 num_elts
Definition:
trace.api:88
i32
int i32
Definition:
types.h:81
vl_api_trace_profile_del_reply_t::retval
i32 retval
Definition:
trace.api:61
vl_api_trace_profile_add_reply_t::retval
i32 retval
Definition:
trace.api:41
vl_api_trace_profile_show_config_reply_t::trace_type
u8 trace_type
Definition:
trace.api:87
vl_api_trace_profile_show_config_reply_t::trace_tsp
u8 trace_tsp
Definition:
trace.api:89
vl_api_trace_profile_show_config_reply_t::context
u32 context
Definition:
trace.api:85
vl_api_trace_profile_show_config_reply_t::node_id
u32 node_id
Definition:
trace.api:90
vl_api_trace_profile_del_t::context
u32 context
Definition:
trace.api:52
u32
unsigned int u32
Definition:
types.h:88
vl_api_trace_profile_show_config_reply_t::retval
i32 retval
Definition:
trace.api:86
vl_api_trace_profile_show_config_reply_t::app_data
u32 app_data
Definition:
trace.api:91
u8
unsigned char u8
Definition:
types.h:56
vl_api_trace_profile_add_t::node_id
u32 node_id
Definition:
trace.api:31
vl_api_trace_profile_add_t::app_data
u32 app_data
Definition:
trace.api:32
vl_api_trace_profile_add_t::num_elts
u8 num_elts
Definition:
trace.api:29
vl_api_trace_profile_show_config_t::context
u32 context
Definition:
trace.api:72
vl_api_trace_profile_del_reply_t::context
u32 context
Definition:
trace.api:60
vl_api_trace_profile_add_t::client_index
u32 client_index
Definition:
trace.api:26
vl_api_trace_profile_add_t::trace_type
u8 trace_type
Definition:
trace.api:28
src
plugins
ioam
lib-trace
trace.api
Generated on Sat Jul 1 2017 12:01:36 for FD.io VPP by
1.8.11