2 * tracedump.api - streaming packet trace dump API
4 * Copyright (c) 2020 Cisco and/or its affiliates
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at:
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
20 * @brief VPP control-plane API messages.
22 * This file defines VPP control-plane binary API messages which are generally
23 * called through a shared memory interface.
26 /* Version and type recitations */
28 option version = "0.1.0";
31 rpc trace_dump returns trace_dump_reply
36 /* Client identifier, set from api_main.my_client_index */
39 /* Arbitrary context, so client can match reply to request */
42 /* Dispose of any cached data before we begin */
45 /* iterator positions, both ~0 to just clear the cache */
49 /* Max number of replies per burst */
53 define trace_dump_reply {
64 define trace_details {
65 /* Client identifier, set from api_main.my_client_index */
68 /* Arbitrary context, so client can match reply to request */
71 /* Position in the cache of this record */
78 /* Needed when set ends in the middle of a batch */