FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
dhcp6_ia_na_client_cp.api
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 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 option version = "1.0.1";
17 
18 import "vnet/interface_types.api";
19 
20 /** \brief Enable/disable DHCPv6 client on interface
21  @param client_index - opaque cookie to identify the sender
22  @param context - sender context, to match reply w/ request
23  @param sw_if_index - interface to enable/disable client on
24  @param enable - 1 to enable, 0 to disable
25 */
27 {
30  vl_api_interface_index_t sw_if_index;
31  bool enable;
32 };
33 
34 /*
35  * Local Variables:
36  * eval: (c-set-style "gnu")
37  * End:
38  */
vl_api_dhcp6_client_enable_disable_t::context
u32 context
Definition: dhcp6_ia_na_client_cp.api:29
vl_api_dhcp6_client_enable_disable_t::client_index
u32 client_index
Definition: dhcp6_ia_na_client_cp.api:28
vl_api_dhcp6_client_enable_disable_t::enable
bool enable
Definition: dhcp6_ia_na_client_cp.api:31
dhcp6_client_enable_disable
int dhcp6_client_enable_disable(u32 sw_if_index, u8 enable)
Definition: dhcp6_ia_na_client_cp.c:613
version
option version
Definition: dhcp6_ia_na_client_cp.api:16
vl_api_dhcp6_client_enable_disable_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: dhcp6_ia_na_client_cp.api:30
u32
unsigned int u32
Definition: types.h:88
vl_api_dhcp6_client_enable_disable_t
Enable/disable DHCPv6 client on interface.
Definition: dhcp6_ia_na_client_cp.api:26