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