FD.io VPP  v16.09
Vector Packet Processing
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 {
13 };
14 
15 define ila_iface_reply {
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 */
49  u8 sir_address[16];
56 };
57 
58 define ila_add_del_entry_reply {
61 };
62 
u8 csum_mode
Definition: ila.api:53
u64 locator
Definition: ila.api:50
u32 context
Definition: ila.api:59
i32 retval
Definition: ila.api:60
int ila_add_del_entry(ila_add_del_entry_args_t *args)
Definition: ila.c:619
u32 vnid
Definition: ila.api:51
u8 type
Definition: ila.api:48
u8 dir
Definition: ila.api:54
int i32
Definition: types.h:81
unsigned long u64
Definition: types.h:89
u32 context
Definition: ila.api:47
u32 client_index
Definition: ila.api:9
u32 local_adj_index
Definition: ila.api:52
unsigned int u32
Definition: types.h:88
u8 is_del
Definition: ila.api:55
u32 client_index
Definition: ila.api:46
unsigned char u8
Definition: types.h:56