FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
rd_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 IPv6 ND address autoconfiguration
21
and setting up default routes
22
@param client_index - opaque cookie to identify the sender
23
@param context - sender context, to match reply w/ request
24
@param sw_if_index - interface to enable the autoconfigutation on
25
@param enable - 1 to enable address autoconfiguration, 0 to disable
26
@param install_default_routes - 1 to enable installing defaut routes,
27
0 to disable installing defaut routes,
28
the value is ignored (and taken as 0)
29
when enable param is set to 0
30
*/
31
autoreply define
ip6_nd_address_autoconfig
32
{
33
u32
client_index
;
34
u32
context
;
35
vl_api_interface_index_t
sw_if_index
;
36
bool
enable
;
37
bool
install_default_routes
;
38
};
39
40
/*
41
* Local Variables:
42
* eval: (c-set-style "gnu")
43
* End:
44
*/
vl_api_ip6_nd_address_autoconfig_t::enable
bool enable
Definition:
rd_cp.api:36
vl_api_ip6_nd_address_autoconfig_t
Enable/disable IPv6 ND address autoconfiguration and setting up default routes.
Definition:
rd_cp.api:31
ip6_nd_address_autoconfig
static clib_error_t * ip6_nd_address_autoconfig(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition:
rd_cp.c:541
vl_api_ip6_nd_address_autoconfig_t::client_index
u32 client_index
Definition:
rd_cp.api:33
vl_api_ip6_nd_address_autoconfig_t::context
u32 context
Definition:
rd_cp.api:34
vl_api_ip6_nd_address_autoconfig_t::install_default_routes
bool install_default_routes
Definition:
rd_cp.api:37
u32
unsigned int u32
Definition:
types.h:88
version
option version
Definition:
rd_cp.api:16
vl_api_ip6_nd_address_autoconfig_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition:
rd_cp.api:35
src
vnet
ip6-nd
rd_cp.api
Generated on Sat Jan 8 2022 10:36:41 for FD.io VPP by
1.8.17