FD.io VPP
v16.09
Vector Packet Processing
Main Page
Related Pages
Data Structures
Source
Files
Symbols
ila.api
Go to the documentation of this file.
1
/** \brief Enable ILA processing of SIR-to-ILA packets on a given interface.
2
@param client_index - opaque cookie to identify the sender
3
@param context - sender context, to match reply w/ request
4
@param sw_if_index - The software interface index.
5
@param enable - Enable if not null, disable otherwise.
6
*/
7
define ila_iface
8
{
9
u32
client_index
;
10
u32
context
;
11
u32
sw_if_index
;
12
u8
enable
;
13
};
14
15
define ila_iface_reply {
16
u32
context
;
17
i32
retval
;
18
};
19
20
/** \brief Add or delete an ILA entry.
21
@param client_index - opaque cookie to identify the sender
22
@param context - sender context, to match reply w/ request
23
@param type - The ILA type to be used.
24
Supported values:
25
0: Interface Identifier (iid)
26
1: Locally Unique Identifier (luid)
27
3: IPv6 Virtual Network Identifier (vnid-ip6)
28
4: Multicast Virtual Network Identifier (vnid-multicast)
29
@param sir_address - Standard Identifier Representation address which uniquely
30
identifies the ILA entry.
31
@param local_adj_index - The local FIB index if the entry is a local entry,
32
~0 if the entry is not local (only used to translate from SIR to ILA).
33
@param csum_mode - The checksum mode for this entry.
34
Supported values:
35
0: No action
36
1: Neutral Mapping
37
2: Adjust for Transport Layer
38
@param dir - The translation direction
39
Supported values:
40
0: Bidirection
41
1: SIR to ILA only
42
2: ILA to SIR only
43
@param is_del - Whether the entry with the given SIR address should be deleted.
44
*/
45
define
ila_add_del_entry
{
46
u32
client_index
;
47
u32
context
;
48
u8
type
;
49
u8
sir_address[16];
50
u64
locator
;
51
u32
vnid
;
52
u32
local_adj_index
;
53
u8
csum_mode
;
54
u8
dir
;
55
u8
is_del
;
56
};
57
58
define ila_add_del_entry_reply {
59
u32
context
;
60
i32
retval
;
61
};
62
vl_api_ila_add_del_entry_t::csum_mode
u8 csum_mode
Definition:
ila.api:53
vl_api_ila_add_del_entry_t::locator
u64 locator
Definition:
ila.api:50
vl_api_ila_add_del_entry_reply_t::context
u32 context
Definition:
ila.api:59
vl_api_ila_iface_reply_t::context
u32 context
Definition:
ila.api:16
vl_api_ila_iface_t::context
u32 context
Definition:
ila.api:10
vl_api_ila_add_del_entry_reply_t::retval
i32 retval
Definition:
ila.api:60
ila_add_del_entry
int ila_add_del_entry(ila_add_del_entry_args_t *args)
Definition:
ila.c:619
vl_api_ila_add_del_entry_t::vnid
u32 vnid
Definition:
ila.api:51
vl_api_ila_add_del_entry_t::type
u8 type
Definition:
ila.api:48
vl_api_ila_add_del_entry_t::dir
u8 dir
Definition:
ila.api:54
i32
int i32
Definition:
types.h:81
u64
unsigned long u64
Definition:
types.h:89
vl_api_ila_add_del_entry_t::context
u32 context
Definition:
ila.api:47
vl_api_ila_iface_reply_t::retval
i32 retval
Definition:
ila.api:17
vl_api_ila_iface_t::client_index
u32 client_index
Definition:
ila.api:9
vl_api_ila_add_del_entry_t::local_adj_index
u32 local_adj_index
Definition:
ila.api:52
vl_api_ila_iface_t::enable
u8 enable
Definition:
ila.api:12
vl_api_ila_iface_t::sw_if_index
u32 sw_if_index
Definition:
ila.api:11
u32
unsigned int u32
Definition:
types.h:88
vl_api_ila_add_del_entry_t::is_del
u8 is_del
Definition:
ila.api:55
vl_api_ila_add_del_entry_t::client_index
u32 client_index
Definition:
ila.api:46
u8
unsigned char u8
Definition:
types.h:56
plugins
ila-plugin
ila
ila.api
Generated on Fri Nov 18 2016 06:17:25 for FD.io VPP by
1.8.11