FD.io VPP
v18.10-34-gcce845e
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Data Structures
Source
Files
Symbols
l2.api
Go to the documentation of this file.
1
/* Hey Emacs use -*- mode: C -*- */
2
/*
3
* Copyright (c) 2016 Cisco and/or its affiliates.
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at:
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
option
version
=
"2.0.1"
;
18
19
/** \brief Reply to l2_xconnect_dump
20
@param context - sender context which was passed in the request
21
@param rx_sw_if_index - Receive interface index
22
@param tx_sw_if_index - Transmit interface index
23
*/
24
define l2_xconnect_details
25
{
26
u32
context
;
27
u32
rx_sw_if_index
;
28
u32
tx_sw_if_index
;
29
};
30
31
/** \brief Dump L2 XConnects
32
@param client_index - opaque cookie to identify the sender
33
@param context - sender context, to match reply w/ request
34
*/
35
define l2_xconnect_dump
36
{
37
u32
client_index
;
38
u32
context
;
39
};
40
41
/** \brief l2 fib table details structure
42
@param bd_id - the l2 fib / bridge domain table id
43
@param mac - the entry's mac address
44
@param sw_if_index - index of the interface
45
@param static_mac - the entry is statically configured.
46
@param filter_mac - the entry is a mac filter entry.
47
@param bvi_mac - the mac address is a bridge virtual interface
48
*/
49
define l2_fib_table_details
50
{
51
u32
context
;
52
u32
bd_id
;
53
u8
mac
[6];
54
u32
sw_if_index
;
55
u8
static_mac
;
56
u8
filter_mac
;
57
u8
bvi_mac
;
58
};
59
60
/** \brief Dump l2 fib (aka bridge domain) table
61
@param client_index - opaque cookie to identify the sender
62
@param bd_id - the l2 fib / bridge domain table identifier
63
*/
64
define l2_fib_table_dump
65
{
66
u32
client_index
;
67
u32
context
;
68
u32
bd_id
;
69
};
70
71
/** \brief L2 fib clear table request, clear all mac entries in the l2 fib
72
@param client_index - opaque cookie to identify the sender
73
@param context - sender context, to match reply w/ request
74
*/
75
autoreply define l2_fib_clear_table
76
{
77
u32
client_index
;
78
u32
context
;
79
};
80
81
/** \brief L2 FIB flush all entries
82
@param client_index - opaque cookie to identify the sender
83
@param context - sender context, to match reply w/ request
84
*/
85
autoreply define l2fib_flush_all
86
{
87
u32
client_index
;
88
u32
context
;
89
};
90
91
/** \brief L2 FIB flush bridge domain entries
92
@param client_index - opaque cookie to identify the sender
93
@param context - sender context, to match reply w/ request
94
@param bd_id - the entry's bridge domain id
95
*/
96
autoreply define l2fib_flush_bd
97
{
98
u32
client_index
;
99
u32
context
;
100
u32
bd_id
;
101
};
102
103
/** \brief L2 FIB flush interface entries
104
@param client_index - opaque cookie to identify the sender
105
@param context - sender context, to match reply w/ request
106
@param bd_id - the entry's bridge domain id
107
*/
108
autoreply define l2fib_flush_int
109
{
110
u32
client_index
;
111
u32
context
;
112
u32
sw_if_index
;
113
};
114
115
/** \brief L2 FIB add entry request
116
@param client_index - opaque cookie to identify the sender
117
@param context - sender context, to match reply w/ request
118
@param mac - the entry's mac address
119
@param bd_id - the entry's bridge domain id
120
@param sw_if_index - the interface
121
@param is_add - If non zero add the entry, else delete it
122
@param static_mac -
123
@param filter_mac -
124
*/
125
autoreply define l2fib_add_del
126
{
127
u32
client_index
;
128
u32
context
;
129
u8
mac
[6];
130
u32
bd_id
;
131
u32
sw_if_index
;
132
u8
is_add
;
133
u8
static_mac
;
134
u8
filter_mac
;
135
u8
bvi_mac
;
136
};
137
138
/** \brief Register to receive L2 MAC events for learned and aged MAC
139
@param client_index - opaque cookie to identify the sender
140
@param context - sender context, to match reply w/ request
141
@param learn_limit - MAC learn limit, 0 => default to 1000
142
@param scan_delay - event scan delay in 10 msec unit, 0 => default to 100 msec
143
@param max_macs_in_event - in units of 10 mac entries, 0 => default to 100 entries
144
@param enable_disable - 1 => register for MAC events, 0 => cancel registration
145
@param pid - sender's pid
146
*/
147
autoreply define want_l2_macs_events
148
{
149
u32
client_index
;
150
u32
context
;
151
u32
learn_limit
;
152
u8
scan_delay
;
153
u8
max_macs_in_event
;
154
u8
enable_disable
;
155
u32
pid
;
156
};
157
158
/** \brief Entry for learned or aged MAC in L2 MAC Events
159
@param sw_if_index - sw_if_index in the domain
160
@param mac_addr - mac_address
161
@param action - 0 => newly learned MAC, 1 => MAC deleted by ager
162
3 => MAC move (sw_if_index changed)
163
@param flags - flag bits to provide other info, not yet used
164
*/
165
typeonly define mac_entry
166
{
167
u32
sw_if_index
;
168
u8
mac_addr[6];
169
u8
action
;
170
u8
flags
;
171
};
172
173
/** \brief L2 MAC event for a list of learned or aged MACs
174
@param client_index - opaque cookie to identify the sender
175
@param pid - client pid registered to receive notification
176
@param n_macs - number of learned/aged MAC entries
177
@param mac - array of learned/aged MAC entries
178
*/
179
define l2_macs_event
180
{
181
u32
client_index
;
182
u32
pid
;
183
u32
n_macs
;
184
vl_api_mac_entry_t
mac
[n_macs];
185
};
186
187
service
{
188
rpc want_l2_macs_events returns want_l2_macs_events_reply
189
events l2_macs_event;
190
};
191
192
/** \brief Set interface L2 flags (such as L2_LEARN, L2_FWD,
193
L2_FLOOD, L2_UU_FLOOD, or L2_ARP_TERM bits). This can be used
194
to disable one or more of the features represented by the
195
flag bits on an interface to override what is set as default
196
for all interfaces in the bridge domain
197
@param client_index - opaque cookie to identify the sender
198
@param context - sender context, to match reply w/ request
199
@param sw_if_index - interface
200
@param is_set - if non-zero, set the bits, else clear them
201
@param feature_bitmap - non-zero bits (as above) to set or clear
202
*/
203
define l2_flags
204
{
205
u32
client_index
;
206
u32
context
;
207
u32
sw_if_index
;
208
u8
is_set
;
209
u32
feature_bitmap
;
210
};
211
212
/** \brief Set interface L2 flags response
213
@param context - sender context, to match reply w/ request
214
@param retval - return code for the set l2 bits request
215
@param resulting_feature_bitmap - the internal l2 feature bitmap after the request is implemented
216
*/
217
define l2_flags_reply
218
{
219
u32
context
;
220
i32
retval
;
221
u32
resulting_feature_bitmap
;
222
};
223
224
/** \brief L2 bridge domain set mac age
225
@param client_index - opaque cookie to identify the sender
226
@param context - sender context, to match reply w/ request
227
@param bd_id - the bridge domain to create
228
@param mac_age - mac aging time in min, 0 for disabled
229
*/
230
autoreply define bridge_domain_set_mac_age
231
{
232
u32
client_index
;
233
u32
context
;
234
u32
bd_id
;
235
u8
mac_age
;
236
};
237
238
/** \brief L2 bridge domain add or delete request
239
@param client_index - opaque cookie to identify the sender
240
@param context - sender context, to match reply w/ request
241
@param bd_id - the bridge domain to create
242
@param flood - enable/disable bcast/mcast flooding in the bd
243
@param uu_flood - enable/disable unknown unicast flood in the bd
244
@param forward - enable/disable forwarding on all interfaces in the bd
245
@param learn - enable/disable learning on all interfaces in the bd
246
@param arp_term - enable/disable arp termination in the bd
247
@param mac_age - mac aging time in min, 0 for disabled
248
@param is_add - add or delete flag
249
*/
250
autoreply define bridge_domain_add_del
251
{
252
u32
client_index
;
253
u32
context
;
254
u32
bd_id
;
255
u8
flood
;
256
u8
uu_flood
;
257
u8
forward
;
258
u8
learn
;
259
u8
arp_term
;
260
u8
mac_age
;
261
u8
bd_tag[64];
262
u8
is_add
;
263
};
264
265
/** \brief L2 bridge domain request operational state details
266
@param client_index - opaque cookie to identify the sender
267
@param context - sender context, to match reply w/ request
268
@param bd_id - the bridge domain id desired or ~0 to request all bds
269
*/
270
define bridge_domain_dump
271
{
272
u32
client_index
;
273
u32
context
;
274
u32
bd_id
;
275
};
276
277
/** \brief L2 bridge domain sw interface operational state response
278
@param bd_id - the bridge domain id
279
@param sw_if_index - sw_if_index in the domain
280
@param shg - split horizon group for the interface
281
*/
282
typeonly manual_print manual_endian define bridge_domain_sw_if
283
{
284
u32
context
;
285
u32
sw_if_index
;
286
u8
shg
;
287
};
288
289
/** \brief L2 bridge domain operational state response
290
@param bd_id - the bridge domain id
291
@param flood - bcast/mcast flooding state on all interfaces in the bd
292
@param uu_flood - unknown unicast flooding state on all interfaces in the bd
293
@param forward - forwarding state on all interfaces in the bd
294
@param learn - learning state on all interfaces in the bd
295
@param arp_term - arp termination state on all interfaces in the bd
296
@param mac_age - mac aging time in min, 0 for disabled
297
@param bd_tag - optional textual tag for the bridge domain
298
@param n_sw_ifs - number of sw_if_index's in the domain
299
*/
300
manual_print manual_endian define bridge_domain_details
301
{
302
u32
context
;
303
u32
bd_id
;
304
u8
flood
;
305
u8
uu_flood
;
306
u8
forward
;
307
u8
learn
;
308
u8
arp_term
;
309
u8
mac_age
;
310
u8
bd_tag[64];
311
u32
bvi_sw_if_index
;
312
u32
uu_fwd_sw_if_index
;
313
u32
n_sw_ifs
;
314
vl_api_bridge_domain_sw_if_t
sw_if_details[n_sw_ifs];
315
};
316
317
/** \brief Flags that can be changed on a bridge domain */
318
enum
bd_flags
319
{
320
BRIDGE_API_FLAG_LEARN
= 0x1,
321
BRIDGE_API_FLAG_FWD
= 0x2,
322
BRIDGE_API_FLAG_FLOOD
= 0x4,
323
BRIDGE_API_FLAG_UU_FLOOD
= 0x8,
324
BRIDGE_API_FLAG_ARP_TERM
= 0x10,
325
};
326
327
/** \brief Set bridge flags request
328
@param client_index - opaque cookie to identify the sender
329
@param context - sender context, to match reply w/ request
330
@param bd_id - the bridge domain to set the flags for
331
@param is_set - if non-zero, set the flags, else clear them
332
@param flags - flags that are non-zero to set or clear
333
*/
334
define bridge_flags
335
{
336
u32
client_index
;
337
u32
context
;
338
u32
bd_id
;
339
u8
is_set
;
340
vl_api_bd_flags_t
flags
;
341
};
342
343
/** \brief Set bridge flags response
344
@param context - sender context, to match reply w/ request
345
@param retval - return code for the set bridge flags request
346
@param resulting_feature_bitmap - the internal L2 feature bitmap after the request is implemented
347
*/
348
define bridge_flags_reply
349
{
350
u32
context
;
351
i32
retval
;
352
u32
resulting_feature_bitmap
;
353
};
354
355
/** \brief L2 interface vlan tag rewrite configure request
356
@param client_index - opaque cookie to identify the sender
357
@param context - sender context, to match reply w/ request
358
@param sw_if_index - interface the operation is applied to
359
@param vtr_op - Choose from l2_vtr_op_t enum values
360
@param push_dot1q - first pushed flag dot1q id set, else dot1ad
361
@param tag1 - Needed for any push or translate vtr op
362
@param tag2 - Needed for any push 2 or translate x-2 vtr ops
363
*/
364
autoreply define l2_interface_vlan_tag_rewrite
365
{
366
u32
client_index
;
367
u32
context
;
368
u32
sw_if_index
;
369
u32
vtr_op
;
370
u32
push_dot1q
;
// ethertype of first pushed tag is dot1q/dot1ad
371
u32
tag1
;
// first pushed tag
372
u32
tag2
;
// second pushed tag
373
};
374
375
/** \brief L2 interface pbb tag rewrite configure request
376
@param client_index - opaque cookie to identify the sender
377
@param context - sender context, to match reply w/ request
378
@param sw_if_index - interface the operation is applied to
379
@param vtr_op - Choose from l2_vtr_op_t enum values
380
@param inner_tag - needed for translate_qinq vtr op only
381
@param outer_tag - needed for translate_qinq vtr op only
382
@param b_dmac - B-tag remote mac address, needed for any push or translate_qinq vtr op
383
@param b_smac - B-tag local mac address, needed for any push or translate qinq vtr op
384
@param b_vlanid - B-tag vlanid, needed for any push or translate qinq vtr op
385
@param i_sid - I-tag service id, needed for any push or translate qinq vtr op
386
*/
387
autoreply define l2_interface_pbb_tag_rewrite
388
{
389
u32
client_index
;
390
u32
context
;
391
u32
sw_if_index
;
392
u32
vtr_op
;
393
u16
outer_tag
;
394
u8
b_dmac[6];
395
u8
b_smac[6];
396
u16
b_vlanid
;
397
u32
i_sid
;
398
};
399
400
/** \brief L2 interface patch add / del request
401
@param client_index - opaque cookie to identify the sender
402
@param context - sender context, to match reply w/ request
403
@param rx_sw_if_index - receive side interface
404
@param tx_sw_if_index - transmit side interface
405
@param is_add - if non-zero set up the interface patch, else remove it
406
*/
407
autoreply define l2_patch_add_del
408
{
409
u32
client_index
;
410
u32
context
;
411
u32
rx_sw_if_index
;
412
u32
tx_sw_if_index
;
413
u8
is_add
;
414
};
415
416
/** \brief Set L2 XConnect between two interfaces request
417
@param client_index - opaque cookie to identify the sender
418
@param context - sender context, to match reply w/ request
419
@param rx_sw_if_index - Receive interface index
420
@param tx_sw_if_index - Transmit interface index
421
@param enable - enable xconnect if not 0, else set to L3 mode
422
*/
423
autoreply define sw_interface_set_l2_xconnect
424
{
425
u32
client_index
;
426
u32
context
;
427
u32
rx_sw_if_index
;
428
u32
tx_sw_if_index
;
429
u8
enable
;
430
};
431
432
/**
433
* @brief An enumeration of the type of ports that can be added
434
* to a bridge domain
435
*/
436
enum
l2_port_type
437
{
438
/* a 'normal' interface, i.e. not BVI or UU-Flood */
439
L2_API_PORT_TYPE_NORMAL
= 0,
440
/* a BVI interface in the BD */
441
L2_API_PORT_TYPE_BVI
= 1,
442
/* The interface on which to forward unknown unicast packets
443
* If this is not set for a BD then UU is flooded */
444
L2_API_PORT_TYPE_UU_FWD
= 2,
445
};
446
447
/** \brief Interface bridge mode request
448
@param client_index - opaque cookie to identify the sender
449
@param context - sender context, to match reply w/ request
450
@param rx_sw_if_index - the interface
451
@param bd_id - bridge domain id
452
@param port_type - port_mode, see #l2_port_type
453
@param shg - Split horizon group, for bridge mode only
454
@param enable - Enable beige mode if not 0, else set to L3 mode
455
*/
456
457
autoreply define sw_interface_set_l2_bridge
458
{
459
u32
client_index
;
460
u32
context
;
461
u32
rx_sw_if_index
;
462
u32
bd_id
;
463
vl_api_l2_port_type_t
port_type
;
464
u8
shg
;
465
u8
enable
;
466
};
467
468
/** \brief Set bridge domain ip to mac entry request
469
@param client_index - opaque cookie to identify the sender
470
@param context - sender context, to match reply w/ request
471
@param bd_id - the bridge domain to set the flags for
472
@param is_add - if non-zero, add the entry, else clear it
473
@param is_ipv6 - if non-zero, ipv6 address, else ipv4 address
474
@param mac_address - MAC address
475
@param
476
*/
477
autoreply define bd_ip_mac_add_del
478
{
479
u32
client_index
;
480
u32
context
;
481
u32
bd_id
;
482
u8
is_add
;
483
u8
is_ipv6
;
484
u8
ip_address[16];
485
u8
mac_address
[6];
486
};
487
488
/** \brief bridge domain IP to MAC entry details structure
489
@param bd_id - bridge domain table id
490
@param is_ipv6 - if non-zero, ipv6 address, else ipv4 address
491
@param ip_address - ipv4 or ipv6 address
492
@param mac_address - MAC address
493
*/
494
define bd_ip_mac_details
495
{
496
u32
context
;
497
u32
bd_id
;
498
u8
is_ipv6
;
499
u8
ip_address[16];
500
u8
mac_address
[6];
501
};
502
503
/** \brief Dump bridge domain IP to MAC entries
504
@param client_index - opaque cookie to identify the sender
505
@param bd_id - bridge domain identifier
506
*/
507
define bd_ip_mac_dump
508
{
509
u32
client_index
;
510
u32
context
;
511
u32
bd_id
;
512
};
513
514
/** \brief L2 interface ethernet flow point filtering enable/disable request
515
@param client_index - opaque cookie to identify the sender
516
@param context - sender context, to match reply w/ request
517
@param sw_if_index - interface to enable/disable filtering on
518
@param enable_disable - if non-zero enable filtering, else disable
519
*/
520
autoreply define l2_interface_efp_filter
521
{
522
u32
client_index
;
523
u32
context
;
524
u32
sw_if_index
;
525
u8
enable_disable
;
526
};
527
528
/** \brief Interface set vpath request
529
@param client_index - opaque cookie to identify the sender
530
@param context - sender context, to match reply w/ request
531
@param sw_if_index - interface used to reach neighbor
532
@param enable - if non-zero enable, else disable
533
*/
534
autoreply define sw_interface_set_vpath
535
{
536
u32
client_index
;
537
u32
context
;
538
u32
sw_if_index
;
539
u8
enable
;
540
};
541
542
/*
543
* Local Variables:
544
* eval: (c-set-style "gnu")
545
* End:
546
*/
vl_api_bridge_domain_details_t::uu_flood
u8 uu_flood
Definition:
l2.api:305
vl_api_bd_ip_mac_add_del_t::bd_id
u32 bd_id
Definition:
l2.api:481
vl_api_bridge_domain_details_t::arp_term
u8 arp_term
Definition:
l2.api:308
vl_api_bridge_flags_t::context
u32 context
Definition:
l2.api:337
vl_api_l2_macs_event_t::client_index
u32 client_index
Definition:
l2.api:181
BRIDGE_API_FLAG_UU_FLOOD
Definition:
l2.api:323
vl_api_bridge_domain_set_mac_age_t::bd_id
u32 bd_id
Definition:
l2.api:234
vl_api_bridge_domain_add_del_t::mac_age
u8 mac_age
Definition:
l2.api:260
vl_api_l2_xconnect_details_t::rx_sw_if_index
u32 rx_sw_if_index
Definition:
l2.api:27
vl_api_sw_interface_set_l2_xconnect_t::rx_sw_if_index
u32 rx_sw_if_index
Definition:
l2.api:427
vl_api_sw_interface_set_l2_bridge_t::rx_sw_if_index
u32 rx_sw_if_index
Definition:
l2.api:461
vl_api_sw_interface_set_l2_bridge_t::enable
u8 enable
Definition:
l2.api:465
vl_api_sw_interface_set_l2_bridge_t::port_type
vl_api_l2_port_type_t port_type
Definition:
l2.api:463
vl_api_l2_fib_table_details_t::filter_mac
u8 filter_mac
Definition:
l2.api:56
vl_api_l2_fib_table_details_t::static_mac
u8 static_mac
Definition:
l2.api:55
vl_api_l2_fib_table_details_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:54
vl_api_bridge_flags_reply_t::resulting_feature_bitmap
u32 resulting_feature_bitmap
Definition:
l2.api:352
l2_port_type
l2_port_type
An enumeration of the type of ports that can be added to a bridge domain.
Definition:
l2.api:436
vl_api_l2_fib_clear_table_t::client_index
u32 client_index
Definition:
l2.api:77
vl_api_want_l2_macs_events_t::enable_disable
u8 enable_disable
Definition:
l2.api:154
vl_api_l2_interface_pbb_tag_rewrite_t::outer_tag
u16 outer_tag
Definition:
l2.api:393
vl_api_l2fib_add_del_t::is_add
u8 is_add
Definition:
l2.api:132
vl_api_want_l2_macs_events_t::client_index
u32 client_index
Definition:
l2.api:149
vl_api_l2_fib_table_dump_t::context
u32 context
Definition:
l2.api:67
vl_api_l2_interface_vlan_tag_rewrite_t::client_index
u32 client_index
Definition:
l2.api:366
vl_api_bridge_domain_add_del_t::uu_flood
u8 uu_flood
Definition:
l2.api:256
vl_api_l2fib_flush_all_t::client_index
u32 client_index
Definition:
l2.api:87
vl_api_l2_interface_vlan_tag_rewrite_t::vtr_op
u32 vtr_op
Definition:
l2.api:369
vl_api_l2_xconnect_details_t::context
u32 context
Definition:
l2.api:26
u8
unsigned char u8
Definition:
types.h:56
vl_api_sw_interface_set_l2_bridge_t::shg
u8 shg
Definition:
l2.api:464
BRIDGE_API_FLAG_FLOOD
Definition:
l2.api:322
vl_api_mac_entry_t::action
u8 action
Definition:
l2.api:169
vl_api_mac_entry_t
Entry for learned or aged MAC in L2 MAC Events.
Definition:
l2.api:165
vl_api_bridge_domain_sw_if_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:285
vl_api_l2_interface_efp_filter_t::enable_disable
u8 enable_disable
Definition:
l2.api:525
vl_api_l2fib_add_del_t::bvi_mac
u8 bvi_mac
Definition:
l2.api:135
vl_api_l2fib_flush_int_t::context
u32 context
Definition:
l2.api:111
version
option version
Definition:
l2.api:17
vl_api_bridge_domain_add_del_t::context
u32 context
Definition:
l2.api:253
vl_api_l2_flags_reply_t::context
u32 context
Definition:
l2.api:219
vl_api_sw_interface_set_l2_xconnect_t::client_index
u32 client_index
Definition:
l2.api:425
vl_api_l2_interface_efp_filter_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:524
vl_api_sw_interface_set_l2_bridge_t::client_index
u32 client_index
Definition:
l2.api:459
vl_api_l2_patch_add_del_t::client_index
u32 client_index
Definition:
l2.api:409
vl_api_bridge_domain_sw_if_t
L2 bridge domain sw interface operational state response.
Definition:
l2.api:282
vl_api_want_l2_macs_events_t::scan_delay
u8 scan_delay
Definition:
l2.api:152
vl_api_l2_interface_efp_filter_t::client_index
u32 client_index
Definition:
l2.api:522
vl_api_l2_flags_t::feature_bitmap
u32 feature_bitmap
Definition:
l2.api:209
vl_api_l2_interface_vlan_tag_rewrite_t::tag1
u32 tag1
Definition:
l2.api:371
vl_api_l2fib_add_del_t::bd_id
u32 bd_id
Definition:
l2.api:130
vl_api_bridge_flags_reply_t::retval
i32 retval
Definition:
l2.api:351
vl_api_l2_interface_vlan_tag_rewrite_t::tag2
u32 tag2
Definition:
l2.api:372
u32
unsigned int u32
Definition:
types.h:88
vl_api_l2_flags_t::is_set
u8 is_set
Definition:
l2.api:208
vl_api_l2fib_flush_int_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:112
vl_api_bridge_domain_set_mac_age_t::mac_age
u8 mac_age
Definition:
l2.api:235
vl_api_l2_flags_t::context
u32 context
Definition:
l2.api:206
vl_api_mac_entry_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:167
vl_api_l2_fib_table_dump_t::client_index
u32 client_index
Definition:
l2.api:66
vl_api_l2fib_flush_bd_t::context
u32 context
Definition:
l2.api:99
vl_api_sw_interface_set_l2_xconnect_t::tx_sw_if_index
u32 tx_sw_if_index
Definition:
l2.api:428
vl_api_l2_interface_efp_filter_t::context
u32 context
Definition:
l2.api:523
vl_api_bridge_domain_details_t::bvi_sw_if_index
u32 bvi_sw_if_index
Definition:
l2.api:311
vl_api_sw_interface_set_vpath_t::enable
u8 enable
Definition:
l2.api:539
vl_api_l2_flags_t::client_index
u32 client_index
Definition:
l2.api:205
L2_API_PORT_TYPE_NORMAL
Definition:
l2.api:439
vl_api_l2_fib_table_dump_t::bd_id
u32 bd_id
Definition:
l2.api:68
u16
unsigned short u16
Definition:
types.h:57
vl_api_sw_interface_set_vpath_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:538
vl_api_l2fib_flush_bd_t::bd_id
u32 bd_id
Definition:
l2.api:100
vl_api_l2fib_flush_bd_t::client_index
u32 client_index
Definition:
l2.api:98
vl_api_bridge_domain_details_t::context
u32 context
Definition:
l2.api:302
vl_api_bridge_domain_sw_if_t::context
u32 context
Definition:
l2.api:284
vl_api_bridge_domain_dump_t::client_index
u32 client_index
Definition:
l2.api:272
vl_api_l2_xconnect_details_t::tx_sw_if_index
u32 tx_sw_if_index
Definition:
l2.api:28
vl_api_l2_flags_reply_t::retval
i32 retval
Definition:
l2.api:220
vl_api_sw_interface_set_l2_xconnect_t::enable
u8 enable
Definition:
l2.api:429
vl_api_l2_interface_pbb_tag_rewrite_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:391
mac_address
typedef mac_address
Definition:
ethernet_types.api:17
vl_api_l2_fib_table_details_t::bd_id
u32 bd_id
Definition:
l2.api:52
vl_api_bridge_domain_add_del_t::arp_term
u8 arp_term
Definition:
l2.api:259
vl_api_sw_interface_set_vpath_t::context
u32 context
Definition:
l2.api:537
vl_api_l2_macs_event_t::n_macs
u32 n_macs
Definition:
l2.api:183
vl_api_bridge_domain_details_t::learn
u8 learn
Definition:
l2.api:307
vl_api_bridge_flags_t::client_index
u32 client_index
Definition:
l2.api:336
vl_api_bridge_domain_dump_t::bd_id
u32 bd_id
Definition:
l2.api:274
vl_api_l2fib_add_del_t::client_index
u32 client_index
Definition:
l2.api:127
BRIDGE_API_FLAG_LEARN
Definition:
l2.api:320
vl_api_l2fib_add_del_t::context
u32 context
Definition:
l2.api:128
vl_api_l2_fib_clear_table_t::context
u32 context
Definition:
l2.api:78
vl_api_l2_interface_vlan_tag_rewrite_t::context
u32 context
Definition:
l2.api:367
vl_api_l2fib_add_del_t::static_mac
u8 static_mac
Definition:
l2.api:133
vl_api_l2_interface_pbb_tag_rewrite_t::client_index
u32 client_index
Definition:
l2.api:389
vl_api_bridge_domain_add_del_t::learn
u8 learn
Definition:
l2.api:258
vl_api_sw_interface_set_l2_xconnect_t::context
u32 context
Definition:
l2.api:426
vl_api_bridge_domain_details_t::bd_id
u32 bd_id
Definition:
l2.api:303
vl_api_bd_ip_mac_details_t::is_ipv6
u8 is_ipv6
Definition:
l2.api:498
vl_api_bridge_domain_add_del_t::forward
u8 forward
Definition:
l2.api:257
L2_API_PORT_TYPE_BVI
Definition:
l2.api:441
vl_api_l2_fib_table_details_t::bvi_mac
u8 bvi_mac
Definition:
l2.api:57
vl_api_bridge_flags_t::is_set
u8 is_set
Definition:
l2.api:339
vl_api_l2_xconnect_dump_t::context
u32 context
Definition:
l2.api:38
vl_api_bridge_domain_set_mac_age_t::client_index
u32 client_index
Definition:
l2.api:232
vl_api_l2_patch_add_del_t::is_add
u8 is_add
Definition:
l2.api:413
i32
signed int i32
Definition:
types.h:77
vl_api_bridge_domain_dump_t::context
u32 context
Definition:
l2.api:273
vl_api_bd_ip_mac_dump_t::client_index
u32 client_index
Definition:
l2.api:509
vl_api_bd_ip_mac_dump_t::bd_id
u32 bd_id
Definition:
l2.api:511
vl_api_mac_entry_t::flags
u8 flags
Definition:
l2.api:170
vl_api_bridge_domain_sw_if_t::shg
u8 shg
Definition:
l2.api:286
vl_api_bridge_domain_add_del_t::is_add
u8 is_add
Definition:
l2.api:262
vl_api_bridge_domain_add_del_t::client_index
u32 client_index
Definition:
l2.api:252
vl_api_sw_interface_set_l2_bridge_t::bd_id
u32 bd_id
Definition:
l2.api:462
vl_api_want_l2_macs_events_t::max_macs_in_event
u8 max_macs_in_event
Definition:
l2.api:153
vl_api_l2_interface_pbb_tag_rewrite_t::i_sid
u32 i_sid
Definition:
l2.api:397
service
service
Definition:
l2.api:187
vl_api_bd_ip_mac_details_t::context
u32 context
Definition:
l2.api:496
vl_api_sw_interface_set_l2_bridge_t::context
u32 context
Definition:
l2.api:460
vl_api_bridge_domain_details_t::forward
u8 forward
Definition:
l2.api:306
vl_api_bd_ip_mac_details_t::bd_id
u32 bd_id
Definition:
l2.api:497
vl_api_l2_flags_reply_t::resulting_feature_bitmap
u32 resulting_feature_bitmap
Definition:
l2.api:221
BRIDGE_API_FLAG_ARP_TERM
Definition:
l2.api:324
vl_api_l2fib_flush_all_t::context
u32 context
Definition:
l2.api:88
vl_api_l2_interface_vlan_tag_rewrite_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:368
vl_api_l2_patch_add_del_t::context
u32 context
Definition:
l2.api:410
vl_api_l2_interface_pbb_tag_rewrite_t::vtr_op
u32 vtr_op
Definition:
l2.api:392
vl_api_l2_macs_event_t::pid
u32 pid
Definition:
l2.api:182
vl_api_bridge_flags_t::flags
vl_api_bd_flags_t flags
Definition:
l2.api:340
vl_api_bd_ip_mac_add_del_t::client_index
u32 client_index
Definition:
l2.api:479
vl_api_bridge_domain_add_del_t::bd_id
u32 bd_id
Definition:
l2.api:254
vl_api_bridge_domain_details_t::mac_age
u8 mac_age
Definition:
l2.api:309
vl_api_l2_xconnect_dump_t::client_index
u32 client_index
Definition:
l2.api:37
vl_api_want_l2_macs_events_t::pid
u32 pid
Definition:
l2.api:155
vl_api_l2_interface_pbb_tag_rewrite_t::context
u32 context
Definition:
l2.api:390
vl_api_bd_ip_mac_dump_t::context
u32 context
Definition:
l2.api:510
L2_API_PORT_TYPE_UU_FWD
Definition:
l2.api:444
vl_api_l2_patch_add_del_t::rx_sw_if_index
u32 rx_sw_if_index
Definition:
l2.api:411
vl_api_bridge_domain_details_t::uu_fwd_sw_if_index
u32 uu_fwd_sw_if_index
Definition:
l2.api:312
vl_api_bridge_flags_reply_t::context
u32 context
Definition:
l2.api:350
vl_api_bridge_domain_details_t::flood
u8 flood
Definition:
l2.api:304
vl_api_want_l2_macs_events_t::learn_limit
u32 learn_limit
Definition:
l2.api:151
vl_api_bridge_domain_details_t::n_sw_ifs
u32 n_sw_ifs
Definition:
l2.api:313
vl_api_l2_flags_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:207
vl_api_l2_interface_pbb_tag_rewrite_t::b_vlanid
u16 b_vlanid
Definition:
l2.api:396
vl_api_l2_fib_table_details_t::context
u32 context
Definition:
l2.api:51
vl_api_bridge_domain_add_del_t::flood
u8 flood
Definition:
l2.api:255
vl_api_l2fib_add_del_t::filter_mac
u8 filter_mac
Definition:
l2.api:134
vl_api_bd_ip_mac_add_del_t::is_add
u8 is_add
Definition:
l2.api:482
vl_api_bridge_flags_t::bd_id
u32 bd_id
Definition:
l2.api:338
bd_flags
bd_flags
Flags that can be changed on a bridge domain.
Definition:
l2.api:318
vl_api_want_l2_macs_events_t::context
u32 context
Definition:
l2.api:150
vl_api_bd_ip_mac_add_del_t::is_ipv6
u8 is_ipv6
Definition:
l2.api:483
mac
vl_api_mac_address_t mac
Definition:
gbp.api:31
vl_api_l2fib_add_del_t::sw_if_index
u32 sw_if_index
Definition:
l2.api:131
vl_api_l2_interface_vlan_tag_rewrite_t::push_dot1q
u32 push_dot1q
Definition:
l2.api:370
vl_api_bd_ip_mac_add_del_t::context
u32 context
Definition:
l2.api:480
vl_api_bridge_domain_set_mac_age_t::context
u32 context
Definition:
l2.api:233
vl_api_l2_patch_add_del_t::tx_sw_if_index
u32 tx_sw_if_index
Definition:
l2.api:412
vl_api_l2fib_flush_int_t::client_index
u32 client_index
Definition:
l2.api:110
vl_api_sw_interface_set_vpath_t::client_index
u32 client_index
Definition:
l2.api:536
BRIDGE_API_FLAG_FWD
Definition:
l2.api:321
src
vnet
l2
l2.api
Generated on Thu May 16 2019 14:26:38 for FD.io VPP by
1.8.11