FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
feature.api
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016 Cisco and/or its affiliates.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at:
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
/** \file
17
18
This file defines VPP feature control-plane API messages which are generally
19
called through a shared memory interface.
20
*/
21
22
option
version
=
"1.0.1"
;
23
24
/** \brief Feature path enable/disable request
25
@param client_index - opaque cookie to identify the sender
26
@param context - sender context, to match reply w/ request
27
@param sw_if_index - the interface
28
@param enable - 1 = on, 0 = off
29
*/
30
autoreply define feature_enable_disable {
31
u32
client_index
;
32
u32
context
;
33
u32
sw_if_index
;
34
u8
enable
;
35
u8
arc_name[64];
36
u8
feature_name[64];
37
};
38
39
/*
40
* Local Variables:
41
* eval: (c-set-style "gnu")
42
* End:
43
*/
vl_api_feature_enable_disable_t::context
u32 context
Definition:
feature.api:32
vl_api_feature_enable_disable_t::client_index
u32 client_index
Definition:
feature.api:31
u8
unsigned char u8
Definition:
types.h:56
vl_api_feature_enable_disable_t::enable
u8 enable
Definition:
feature.api:34
u32
unsigned int u32
Definition:
types.h:88
version
option version
Definition:
feature.api:22
vl_api_feature_enable_disable_t::sw_if_index
u32 sw_if_index
Definition:
feature.api:33
src
vnet
feature
feature.api
Generated on Mon Jun 29 2020 12:03:02 for FD.io VPP by
1.8.13