FD.io VPP
v18.07-34-g55fbdb9
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Data Structures
Source
Files
Symbols
ipsec_gre.api
Go to the documentation of this file.
1
/*
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:
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 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
26
*/
27
define ipsec_gre_add_del_tunnel {
28
u32
client_index
;
29
u32
context
;
30
u32
local_sa_id
;
31
u32
remote_sa_id
;
32
u8
is_add
;
33
u8
src_address[4];
34
u8
dst_address[4];
35
};
36
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
41
*/
42
define ipsec_gre_add_del_tunnel_reply {
43
u32
context
;
44
i32
retval
;
45
u32
sw_if_index
;
46
};
47
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
52
*/
53
define ipsec_gre_tunnel_dump {
54
u32
client_index
;
55
u32
context
;
56
u32
sw_if_index
;
57
};
58
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
66
*/
67
define ipsec_gre_tunnel_details {
68
u32
context
;
69
u32
sw_if_index
;
70
u32
local_sa_id
;
71
u32
remote_sa_id
;
72
u8
src_address[4];
73
u8
dst_address[4];
74
};
75
76
/*
77
* Local Variables:
78
* eval: (c-set-style "gnu")
79
* End:
80
*/
81
vl_api_ipsec_gre_tunnel_details_t::remote_sa_id
u32 remote_sa_id
Definition:
ipsec_gre.api:71
vl_api_ipsec_gre_add_del_tunnel_reply_t::retval
i32 retval
Definition:
ipsec_gre.api:44
vl_api_ipsec_gre_tunnel_dump_t::context
u32 context
Definition:
ipsec_gre.api:55
vl_api_ipsec_gre_add_del_tunnel_t::remote_sa_id
u32 remote_sa_id
Definition:
ipsec_gre.api:31
vl_api_ipsec_gre_add_del_tunnel_reply_t::context
u32 context
Definition:
ipsec_gre.api:43
vl_api_ipsec_gre_tunnel_details_t::local_sa_id
u32 local_sa_id
Definition:
ipsec_gre.api:70
u8
unsigned char u8
Definition:
types.h:56
vl_api_ipsec_gre_tunnel_details_t::sw_if_index
u32 sw_if_index
Definition:
ipsec_gre.api:69
u32
unsigned int u32
Definition:
types.h:88
vl_api_ipsec_gre_add_del_tunnel_t::local_sa_id
u32 local_sa_id
Definition:
ipsec_gre.api:30
vl_api_ipsec_gre_tunnel_dump_t::client_index
u32 client_index
Definition:
ipsec_gre.api:54
vl_api_ipsec_gre_tunnel_dump_t::sw_if_index
u32 sw_if_index
Definition:
ipsec_gre.api:56
vl_api_ipsec_gre_add_del_tunnel_t::client_index
u32 client_index
Definition:
ipsec_gre.api:28
version
option version
Definition:
ipsec_gre.api:16
vl_api_ipsec_gre_tunnel_details_t::context
u32 context
Definition:
ipsec_gre.api:68
vl_api_ipsec_gre_add_del_tunnel_t::context
u32 context
Definition:
ipsec_gre.api:29
vl_api_ipsec_gre_add_del_tunnel_reply_t::sw_if_index
u32 sw_if_index
Definition:
ipsec_gre.api:45
i32
signed int i32
Definition:
types.h:81
vl_api_ipsec_gre_add_del_tunnel_t::is_add
u8 is_add
Definition:
ipsec_gre.api:32
src
vnet
ipsec-gre
ipsec_gre.api
Generated on Sun Sep 16 2018 01:22:48 for FD.io VPP by
1.8.11