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:
7 * http://www.apache.org/licenses/LICENSE-2.0
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.
16 option version = "1.0.0";
18 /** \brief Create or delete an IPIP tunnel
19 @param client_index - opaque cookie to identify the sender
20 @param context - sender context, to match reply w/ request
21 @param is_ipv6 - Use 0 for IPv4, 1 for IPv6
22 @param instance - optional unique custom device instance, else ~0.
23 @param src_address - Source IP address
24 @param dst_address - Destination IP address, can be multicast
25 @param fib_index - Encap FIB table ID
27 define ipip_add_tunnel
32 u32 instance; /* If non-~0, specifies a custom dev instance */
38 define ipip_add_tunnel_reply
45 autoreply define ipip_del_tunnel
52 define ipip_6rd_add_tunnel
65 define ipip_6rd_add_tunnel_reply
72 autoreply define ipip_6rd_del_tunnel
79 define ipip_tunnel_dump
86 define ipip_tunnel_details
99 * eval: (c-set-style "gnu")