2 * Copyright (c) 2015-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:
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.
18 /** \brief Add / del ipsec gre tunnel request
19 @param client_index - opaque cookie to identify the sender
20 @param context - sender context, to match reply w/ request
21 @param local_sa_id - local SA id
22 @param remote_sa_id - remote SA id
23 @param is_add - 1 if adding the tunnel, 0 if deleting
24 @param src_address - tunnel source address
25 @param dst_address - tunnel destination address
27 define ipsec_gre_add_del_tunnel {
37 /** \brief Reply for add / del ipsec gre tunnel request
38 @param context - returned sender context, to match reply w/ request
39 @param retval - return code
40 @param sw_if_index - software index of the new ipsec gre tunnel
42 define ipsec_gre_add_del_tunnel_reply {
48 /** \brief Dump ipsec gre tunnel table
49 @param client_index - opaque cookie to identify the sender
50 @param context - sender context, to match reply w/ request
51 @param tunnel_index - gre tunnel identifier or -1 in case of all tunnels
53 define ipsec_gre_tunnel_dump {
59 /** \brief ipsec gre tunnel operational state response
60 @param context - returned sender context, to match reply w/ request
61 @param sw_if_index - software index of the ipsec gre tunnel
62 @param local_sa_id - local SA id
63 @param remote_sa_id - remote SA id
64 @param src_address - tunnel source address
65 @param dst_address - tunnel destination address
67 define ipsec_gre_tunnel_details {
78 * eval: (c-set-style "gnu")