FD.io VPP
v18.01-8-g0eacf49
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Data Structures
Source
Files
Symbols
stn.api
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017 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
/**
17
* @file stn.api
18
* @brief VPP control-plane API messages for STN plugin.
19
*
20
*/
21
22
23
/** \brief Add/del STN rules
24
@param client_index - opaque cookie to identify the sender
25
@param context - sender context, to match reply w/ request
26
@param is_ip4 - 1 if address type is IPv4
27
@param ip_address - STN rule IP address
28
@param sw_if_index - Interface index
29
@param is_add - 1 if add, 0 if delete
30
*/
31
autoreply manual_print define stn_add_del_rule {
32
u32
client_index
;
33
u32
context
;
34
u8
is_ip4
;
35
u8
ip_address[16];
36
u32
sw_if_index
;
37
u8
is_add
;
38
};
39
40
/** \brief Dump STN rules
41
@param client_index - opaque cookie to identify the sender
42
@param context - sender context, to match reply w/ request
43
*/
44
define stn_rules_dump {
45
u32
client_index
;
46
u32
context
;
47
};
48
49
/** \brief STN response to rules request
50
@param context - sender context, to match reply w/ request
51
@param is_ip4 - 1 if address type is IPv4
52
@param ip_address - IP address
53
@param sw_if_index - Interface index
54
*/
55
define stn_rule_details {
56
u32
context
;
57
u8
is_ip4
;
58
u8
ip_address[16];
59
u32
sw_if_index
;
60
};
61
vl_api_stn_add_del_rule_t::client_index
u32 client_index
Definition:
stn.api:32
vl_api_stn_add_del_rule_t::is_add
u8 is_add
Definition:
stn.api:37
vl_api_stn_add_del_rule_t::context
u32 context
Definition:
stn.api:33
vl_api_stn_rule_details_t::sw_if_index
u32 sw_if_index
Definition:
stn.api:59
vl_api_stn_rules_dump_t::context
u32 context
Definition:
stn.api:46
vl_api_stn_add_del_rule_t::sw_if_index
u32 sw_if_index
Definition:
stn.api:36
u32
unsigned int u32
Definition:
types.h:88
vl_api_stn_rules_dump_t::client_index
u32 client_index
Definition:
stn.api:45
vl_api_stn_rule_details_t::is_ip4
u8 is_ip4
Definition:
stn.api:57
vl_api_stn_rule_details_t::context
u32 context
Definition:
stn.api:56
u8
unsigned char u8
Definition:
types.h:56
vl_api_stn_add_del_rule_t::is_ip4
u8 is_ip4
Definition:
stn.api:34
src
plugins
stn
stn.api
Generated on Wed Feb 7 2018 04:45:34 for FD.io VPP by
1.8.11