IPv6 ND Router discovery control plane (VPP-1095)
[vpp.git] / src / vnet / ip / rd_cp.api
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.0";
17
18 /** \brief Enable/disable IPv6 ND address autoconfiguration
19            and setting up default routes
20     @param client_index - opaque cookie to identify the sender
21     @param context - sender context, to match reply w/ request
22     @param sw_if_index - interface to enable the autoconfigutation on
23     @param enable - 1 to enable address autoconfiguration, 0 to disable
24     @param install_default_routes - 1 to enable installing defaut routes,
25                                     0 to disable installing defaut routes,
26                                     the value is ignored (and taken as 0)
27                                     when enable param is set to 0
28 */
29 autoreply define ip6_nd_address_autoconfig
30 {
31   u32 client_index;
32   u32 context;
33   u32 sw_if_index;
34   u8 enable;
35   u8 install_default_routes;
36 };
37
38 /*
39  * Local Variables:
40  * eval: (c-set-style "gnu")
41  * End:
42  */