blob: ca82f6940fbbefbf76686b634f5ebc93a112af58 [file] [log] [blame]
Filip Tehlar694396d2017-02-17 14:29:11 +01001/*
2 * Copyright (c) 2015-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
Filip Tehlar974cdc62017-02-22 18:09:49 +010016typeonly manual_print manual_endian define one_local_locator
17{
18 u32 sw_if_index;
19 u8 priority;
20 u8 weight;
21};
22
Filip Tehlar694396d2017-02-17 14:29:11 +010023/** \brief add or delete locator_set
24 @param client_index - opaque cookie to identify the sender
25 @param context - sender context, to match reply w/ request
26 @param is_add - add address if non-zero, else delete
27 @param locator_set_name - locator name
28 @param locator_num - number of locators
29 @param locators - locator records
30*/
31manual_endian manual_print define one_add_del_locator_set
32{
33 u32 client_index;
34 u32 context;
35 u8 is_add;
36 u8 locator_set_name[64];
37 u32 locator_num;
Filip Tehlar974cdc62017-02-22 18:09:49 +010038 vl_api_one_local_locator_t locators[locator_num];
Filip Tehlar694396d2017-02-17 14:29:11 +010039};
40
41/** \brief Reply for locator_set add/del
42 @param context - returned sender context, to match reply w/ request
43 @param retval - return code
44 @param ls_index - locator set index
45*/
46define one_add_del_locator_set_reply
47{
48 u32 context;
49 i32 retval;
50 u32 ls_index;
51};
52
53/** \brief add or delete locator for locator set
54 @param client_index - opaque cookie to identify the sender
55 @param context - sender context, to match reply w/ request
56 @param is_add - add address if non-zero, else delete
57 @param locator_set_name - name of locator_set to add/del locator
58 @param sw_if_index - index of the interface
59 @param priority - priority of the locator
60 @param weight - weight of the locator
61*/
62define one_add_del_locator
63{
64 u32 client_index;
65 u32 context;
66 u8 is_add;
67 u8 locator_set_name[64];
68 u32 sw_if_index;
69 u8 priority;
70 u8 weight;
71};
72
73/** \brief Reply for locator add/del
74 @param context - returned sender context, to match reply w/ request
75 @param retval - return code
76*/
77define one_add_del_locator_reply
78{
79 u32 context;
80 i32 retval;
81};
82
83/** \brief add or delete ONE eid-table
84 @param client_index - opaque cookie to identify the sender
85 @param context - sender context, to match reply w/ request
86 @param is_add - add address if non-zero, else delete
87 @param eid_type:
88 0 : ipv4
89 1 : ipv6
90 2 : mac
91 @param eid - EID can be ip4, ip6 or mac
92 @param prefix_len - prefix len
93 @param locator_set_name - name of locator_set to add/del eid-table
94 @param vni - virtual network instance
95 @param key_id
96 HMAC_NO_KEY 0
97 HMAC_SHA_1_96 1
98 HMAC_SHA_256_128 2
99 @param key - secret key
100*/
101define one_add_del_local_eid
102{
103 u32 client_index;
104 u32 context;
105 u8 is_add;
106 u8 eid_type;
107 u8 eid[16];
108 u8 prefix_len;
109 u8 locator_set_name[64];
110 u32 vni;
111 u16 key_id;
112 u8 key[64];
113};
114
115/** \brief Reply for local_eid add/del
116 @param context - returned sender context, to match reply w/ request
117 @param retval - return code
118*/
119define one_add_del_local_eid_reply
120{
121 u32 context;
122 i32 retval;
123};
124
125/** \brief Add/delete map server
126 @param client_index - opaque cookie to identify the sender
127 @param context - sender context, to match reply w/ request
128 @param is_add - add address if non-zero; delete otherwise
129 @param is_ipv6 - if non-zero the address is ipv6, else ipv4
130 @param ip_address - map server IP address
131*/
132define one_add_del_map_server
133{
134 u32 client_index;
135 u32 context;
136 u8 is_add;
137 u8 is_ipv6;
138 u8 ip_address[16];
139};
140
141/** \brief Reply for one_add_del_map_server
142 @param context - returned sender context, to match reply w/ request
143 @param retval - return code
144*/
145define one_add_del_map_server_reply
146{
147 u32 context;
148 i32 retval;
149};
150
151/** \brief add or delete map-resolver
152 @param client_index - opaque cookie to identify the sender
153 @param context - sender context, to match reply w/ request
154 @param is_add - add address if non-zero, else delete
155 @param is_ipv6 - if non-zero the address is ipv6, else ipv4
156 @param ip_address - array of address bytes
157*/
158define one_add_del_map_resolver
159{
160 u32 client_index;
161 u32 context;
162 u8 is_add;
163 u8 is_ipv6;
164 u8 ip_address[16];
165};
166
167/** \brief Reply for map_resolver add/del
168 @param context - returned sender context, to match reply w/ request
169 @param retval - return code
170*/
171define one_add_del_map_resolver_reply
172{
173 u32 context;
174 i32 retval;
175};
176
177/** \brief enable or disable ONE feature
178 @param client_index - opaque cookie to identify the sender
179 @param context - sender context, to match reply w/ request
180 @param is_en - enable protocol if non-zero, else disable
181*/
182define one_enable_disable
183{
184 u32 client_index;
185 u32 context;
186 u8 is_en;
187};
188
189/** \brief Reply for gpe enable/disable
190 @param context - returned sender context, to match reply w/ request
191 @param retval - return code
192*/
193define one_enable_disable_reply
194{
195 u32 context;
196 i32 retval;
197};
198
199/** \brief configure or disable ONE PITR node
200 @param client_index - opaque cookie to identify the sender
201 @param context - sender context, to match reply w/ request
202 @param ls_name - locator set name
203 @param is_add - add locator set if non-zero, else disable pitr
204*/
205define one_pitr_set_locator_set
206{
207 u32 client_index;
208 u32 context;
209 u8 is_add;
210 u8 ls_name[64];
211};
212
213/** \brief Reply for one_pitr_set_locator_set
214 @param context - returned sender context, to match reply w/ request
215 @param retval - return code
216*/
217define one_pitr_set_locator_set_reply
218{
219 u32 context;
220 i32 retval;
221};
222
223/** \brief configure or disable use of PETR
224 @param client_index - opaque cookie to identify the sender
225 @param context - sender context, to match reply w/ request
226 @param is_ip4 - Address is IPv4 if set and IPv6 otherwise
227 @param address - PETR IP address
Filip Tehlar67a99f82017-03-10 13:18:02 +0100228 @param is_add - add locator set if non-zero, else disable PETR
Filip Tehlar694396d2017-02-17 14:29:11 +0100229*/
230define one_use_petr
231{
232 u32 client_index;
233 u32 context;
234 u8 is_ip4;
235 u8 address[16];
236 u8 is_add;
237};
238
Filip Tehlar67a99f82017-03-10 13:18:02 +0100239/** \brief Reply for one_use_petr
Filip Tehlar694396d2017-02-17 14:29:11 +0100240 @param context - returned sender context, to match reply w/ request
241 @param retval - return code
242*/
243define one_use_petr_reply
244{
245 u32 context;
246 i32 retval;
247};
248
249/** \brief Request for ONE PETR status
250 @param client_index - opaque cookie to identify the sender
251 @param context - sender context, to match reply w/ request
252*/
253define show_one_use_petr
254{
255 u32 client_index;
256 u32 context;
257};
258
259/** \brief ONE PETR status, enable or disable
260 @param context - sender context, to match reply w/ request
261 @param status - ONE PETR enable if non-zero, else disable
262 @param is_ip4 - Address is IPv4 if non-zero, else IPv6
263 @param address - PETR IP address
264*/
265define show_one_use_petr_reply
266{
267 u32 context;
268 i32 retval;
269 u8 status;
270 u8 is_ip4;
271 u8 address[16];
272};
273
274/** \brief Get state of ONE RLOC probing
275 @param client_index - opaque cookie to identify the sender
276 @param context - sender context, to match reply w/ request
277*/
278define show_one_rloc_probe_state
279{
280 u32 client_index;
281 u32 context;
282};
283
284/** \brief Reply for show_one_rloc_probe_state
285 @param context - returned sender context, to match reply w/ request
286 @param retval - return code
287 @param is_enabled - state of RLOC probing
288*/
289define show_one_rloc_probe_state_reply
290{
291 u32 context;
292 i32 retval;
293 u8 is_enabled;
294};
295
296/** \brief enable/disable ONE RLOC probing
297 @param client_index - opaque cookie to identify the sender
298 @param context - sender context, to match reply w/ request
299 @param is_enable - enable if non-zero; disable otherwise
300*/
301define one_rloc_probe_enable_disable
302{
303 u32 client_index;
304 u32 context;
305 u8 is_enabled;
306};
307
308/** \brief Reply for one_rloc_probe_enable_disable
309 @param context - returned sender context, to match reply w/ request
310 @param retval - return code
311*/
312define one_rloc_probe_enable_disable_reply
313{
314 u32 context;
315 i32 retval;
316};
317
318/** \brief enable/disable ONE map-register
319 @param client_index - opaque cookie to identify the sender
320 @param context - sender context, to match reply w/ request
321 @param is_enable - enable if non-zero; disable otherwise
322*/
323define one_map_register_enable_disable
324{
325 u32 client_index;
326 u32 context;
327 u8 is_enabled;
328};
329
330/** \brief Reply for one_map_register_enable_disable
331 @param context - returned sender context, to match reply w/ request
332 @param retval - return code
333*/
334define one_map_register_enable_disable_reply
335{
336 u32 context;
337 i32 retval;
338};
339
340/** \brief Get state of ONE map-register
341 @param client_index - opaque cookie to identify the sender
342 @param context - sender context, to match reply w/ request
343*/
344define show_one_map_register_state
345{
346 u32 client_index;
347 u32 context;
348};
349
350/** \brief Reply for show_one_map_register_state
351 @param context - returned sender context, to match reply w/ request
352 @param retval - return code
353*/
354define show_one_map_register_state_reply
355{
356 u32 context;
357 i32 retval;
358 u8 is_enabled;
359};
360
361/** \brief set ONE map-request mode. Based on configuration VPP will send
362 src/dest or just normal destination map requests.
363 @param client_index - opaque cookie to identify the sender
364 @param context - sender context, to match reply w/ request
365 @param mode - new map-request mode. Supported values are:
366 0 - destination only
367 1 - source/destaination
368*/
369define one_map_request_mode
370{
371 u32 client_index;
372 u32 context;
373 u8 mode;
374};
375
376/** \brief Reply for one_map_request_mode
377 @param context - returned sender context, to match reply w/ request
378 @param retval - return code
379*/
380define one_map_request_mode_reply
381{
382 u32 context;
383 i32 retval;
384};
385
386/** \brief Request for ONE map-request mode
387 @param client_index - opaque cookie to identify the sender
388 @param context - sender context, to match reply w/ request
389*/
390define show_one_map_request_mode
391{
392 u32 client_index;
393 u32 context;
394};
395
396/** \brief Reply for show_one_map_request_mode
397 @param context - returned sender context, to match reply w/ request
398 @param retval - return code
399 @param mode - map-request mode
400*/
401define show_one_map_request_mode_reply
402{
403 u32 context;
404 i32 retval;
405 u8 mode;
406};
407
Filip Tehlar974cdc62017-02-22 18:09:49 +0100408typeonly manual_endian manual_print define one_remote_locator
409{
410 u8 is_ip4;
411 u8 priority;
412 u8 weight;
413 u8 addr[16];
414};
415
Filip Tehlar694396d2017-02-17 14:29:11 +0100416/** \brief add or delete remote static mapping
417 @param client_index - opaque cookie to identify the sender
418 @param context - sender context, to match reply w/ request
419 @param is_add - add address if non-zero, else delete
420 @param is_src_dst - flag indicating src/dst based routing policy
421 @param del_all - if set, delete all remote mappings
422 @param vni - virtual network instance
423 @param action - negative map-reply action
424 @param eid_type -
425 0 : ipv4
426 1 : ipv6
427 2 : mac
428 @param deid - dst EID
429 @param seid - src EID, valid only if is_src_dst is enabled
430 @param rloc_num - number of remote locators
431 @param rlocs - remote locator records
432*/
433manual_print manual_endian define one_add_del_remote_mapping
434{
435 u32 client_index;
436 u32 context;
437 u8 is_add;
438 u8 is_src_dst;
439 u8 del_all;
440 u32 vni;
441 u8 action;
442 u8 eid_type;
443 u8 eid[16];
444 u8 eid_len;
445 u8 seid[16];
446 u8 seid_len;
447 u32 rloc_num;
Filip Tehlar974cdc62017-02-22 18:09:49 +0100448 vl_api_one_remote_locator_t rlocs[rloc_num];
Filip Tehlar694396d2017-02-17 14:29:11 +0100449};
450
451/** \brief Reply for one_add_del_remote_mapping
452 @param context - returned sender context, to match reply w/ request
453 @param retval - return code
454*/
455define one_add_del_remote_mapping_reply
456{
457 u32 context;
458 i32 retval;
459};
460
461/** \brief add or delete ONE adjacency adjacency
462 @param client_index - opaque cookie to identify the sender
463 @param context - sender context, to match reply w/ request
464 @param is_add - add address if non-zero, else delete
465 @param vni - virtual network instance
466 @param eid_type -
467 0 : ipv4
468 1 : ipv6
469 2 : mac
470 @param reid - remote EID
471 @param leid - local EID
472*/
473define one_add_del_adjacency
474{
475 u32 client_index;
476 u32 context;
477 u8 is_add;
478 u32 vni;
479 u8 eid_type;
480 u8 reid[16];
481 u8 leid[16];
482 u8 reid_len;
483 u8 leid_len;
484};
485
486/** \brief Reply for one_add_del_adjacency
487 @param context - returned sender context, to match reply w/ request
488 @param retval - return code
489*/
490define one_add_del_adjacency_reply
491{
492 u32 context;
493 i32 retval;
494};
495
496/** \brief add or delete map request itr rlocs
497 @param client_index - opaque cookie to identify the sender
498 @param context - sender context, to match reply w/ request
499 @param is_add - add address if non-zero, else delete
500 @param locator_set_name - locator set name
501*/
502define one_add_del_map_request_itr_rlocs
503{
504 u32 client_index;
505 u32 context;
506 u8 is_add;
507 u8 locator_set_name[64];
508};
509
510/** \brief Reply for one_add_del_map_request_itr_rlocs
511 @param context - returned sender context, to match reply w/ request
512 @param retval - return code
513*/
514
515define one_add_del_map_request_itr_rlocs_reply
516{
517 u32 context;
518 i32 retval;
519};
520
521/** \brief map/unmap vni/bd_index to vrf
522 @param client_index - opaque cookie to identify the sender
523 @param context - sender context, to match reply w/ request
524 @param is_add - add or delete mapping
525 @param dp_table - virtual network id/bridge domain index
526 @param vrf - vrf
527*/
528define one_eid_table_add_del_map
529{
530 u32 client_index;
531 u32 context;
532 u8 is_add;
533 u32 vni;
534 u32 dp_table;
535 u8 is_l2;
536};
537
538/** \brief Reply for one_eid_table_add_del_map
539 @param context - returned sender context, to match reply w/ request
540 @param retval - return code
541*/
542define one_eid_table_add_del_map_reply
543{
544 u32 context;
545 i32 retval;
546};
547
548/** \brief Request for map one locator status
549 @param client_index - opaque cookie to identify the sender
550 @param context - sender context, to match reply w/ request
551 @param locator_set_index - index of locator_set
552 @param ls_name - locator set name
553 @param is_index_set - flag indicating whether ls_name or ls_index is set
554 */
555define one_locator_dump
556{
557 u32 client_index;
558 u32 context;
559 u32 ls_index;
560 u8 ls_name[64];
561 u8 is_index_set;
562};
563
564/** \brief ONE locator_set status
565 @param local - if is set, then locator is local
566 @param locator_set_name - name of the locator_set
567 @param sw_if_index - sw_if_index of the locator
568 @param priority - locator priority
569 @param weight - locator weight
570 */
571define one_locator_details
572{
573 u32 context;
574 u8 local;
575 u32 sw_if_index;
576 u8 is_ipv6;
577 u8 ip_address[16];
578 u8 priority;
579 u8 weight;
580};
581
582/** \brief ONE locator_set status
583 @param context - sender context, to match reply w/ request
584 @param ls_index - locator set index
585 @param ls_name - name of the locator set
586 */
587define one_locator_set_details
588{
589 u32 context;
590 u32 ls_index;
591 u8 ls_name[64];
592};
593
594/** \brief Request for locator_set summary status
595 @param client_index - opaque cookie to identify the sender
596 @param context - sender context, to match reply w/ request
597 @param filter - filter type
598 Supported values:
599 0: all locator sets
600 1: local locator sets
601 2: remote locator sets
602 */
603define one_locator_set_dump
604{
605 u32 client_index;
606 u32 context;
607 u8 filter;
608};
609
610/** \brief Dump ONE eid-table
611 @param client_index - opaque cookie to identify the sender
612 @param context - sender context, to match reply w/ request
613 @param locator_set_index - index of locator_set, if ~0 then the mapping
614 is negative
615 @param action - negative map request action
616 @param is_local - local if non-zero, else remote
617 @param eid_type:
618 0 : ipv4
619 1 : ipv6
620 2 : mac
621 @param is_src_dst - EID is type of source/destination
622 @param eid - EID can be ip4, ip6 or mac
623 @param eid_prefix_len - prefix length
624 @param seid - source EID can be ip4, ip6 or mac
625 @param seid_prefix_len - source prefix length
626 @param vni - virtual network instance
627 @param ttl - time to live
628 @param authoritative - authoritative
629 @param key_id
630 HMAC_NO_KEY 0
631 HMAC_SHA_1_96 1
632 HMAC_SHA_256_128 2
633 @param key - secret key
634*/
635
636define one_eid_table_details
637{
638 u32 context;
639 u32 locator_set_index;
640 u8 action;
641 u8 is_local;
642 u8 eid_type;
643 u8 is_src_dst;
644 u32 vni;
645 u8 eid[16];
646 u8 eid_prefix_len;
647 u8 seid[16];
648 u8 seid_prefix_len;
649 u32 ttl;
650 u8 authoritative;
651 u16 key_id;
652 u8 key[64];
653};
654
655/** \brief Request for eid table summary status
656 @param client_index - opaque cookie to identify the sender
657 @param context - sender context, to match reply w/ request
658 @param eid_set - if non-zero request info about specific mapping
659 @param vni - virtual network instance; valid only if eid_set != 0
660 @param prefix_length - prefix length if EID is IP address;
661 valid only if eid_set != 0
662 @param eid_type - EID type; valid only if eid_set != 0
663 Supported values:
664 0: EID is IPv4
665 1: EID is IPv6
666 2: EID is ethernet address
667 @param eid - endpoint identifier
668 @param filter - filter type;
669 Support values:
670 0: all eid
671 1: local eid
672 2: remote eid
673 */
674define one_eid_table_dump
675{
676 u32 client_index;
677 u32 context;
678 u8 eid_set;
679 u8 prefix_length;
680 u32 vni;
681 u8 eid_type;
682 u8 eid[16];
683 u8 filter;
684};
685
686/** \brief ONE adjacency
687 @param eid_type -
688 0 : ipv4
689 1 : ipv6
690 2 : mac
691 @param reid - remote EID
692 @param leid - local EID
693 @param reid_prefix_len - remote EID IP prefix length
694 @param leid_prefix_len - local EID IP prefix length
695 */
696typeonly manual_print manual_endian define one_adjacency
697{
698 u8 eid_type;
699 u8 reid[16];
700 u8 leid[16];
701 u8 reid_prefix_len;
702 u8 leid_prefix_len;
703};
704
705/** \brief ONE adjacency reply
706 @param count - number of adjacencies
707 @param adjacencies - array of adjacencies
708 */
709manual_endian manual_print define one_adjacencies_get_reply
710{
711 u32 context;
712 i32 retval;
713 u32 count;
714 vl_api_one_adjacency_t adjacencies[count];
715};
716
717/** \brief Request for ONE adjacencies
718 @param client_index - opaque cookie to identify the sender
719 @param context - sender context, to match reply w/ request
720 @param vni - filter adjacencies by VNI
721 */
722define one_adjacencies_get
723{
724 u32 client_index;
725 u32 context;
726 u32 vni;
727};
728
729/** \brief Shows relationship between vni and vrf/bd
730 @param dp_table - VRF index or bridge domain index
731 @param vni - vitual network instance
732 */
733define one_eid_table_map_details
734{
735 u32 context;
736 u32 vni;
737 u32 dp_table;
738};
739
740/** \brief Request for one_eid_table_map_details
741 @param client_index - opaque cookie to identify the sender
742 @param context - sender context, to match reply w/ request
743 @param is_l2 - if set dump vni/bd mappings else vni/vrf
744 */
745define one_eid_table_map_dump
746{
747 u32 client_index;
748 u32 context;
749 u8 is_l2;
750};
751
752/** \brief Dumps all VNIs used in mappings
753 @param client_index - opaque cookie to identify the sender
754 @param context - sender context, to match reply w/ request
755 */
756define one_eid_table_vni_dump
757{
758 u32 client_index;
759 u32 context;
760};
761
762/** \brief reply to one_eid_table_vni_dump
763 @param client_index - opaque cookie to identify the sender
764 @param context - sender context, to match reply w/ request
765 @param vni - virtual network instance
766 */
767define one_eid_table_vni_details
768{
769 u32 client_index;
770 u32 context;
771 u32 vni;
772};
773
774/** \brief ONE map resolver status
775 @param is_ipv6 - if non-zero the address is ipv6, else ipv4
776 @param ip_address - array of address bytes
777 */
778define one_map_resolver_details
779{
780 u32 context;
781 u8 is_ipv6;
782 u8 ip_address[16];
783};
784
785/** \brief Request for map resolver summary status
786 @param client_index - opaque cookie to identify the sender
787 @param context - sender context, to match reply w/ request
788 */
789define one_map_resolver_dump
790{
791 u32 client_index;
792 u32 context;
793};
794
795/** \brief ONE map server details
796 @param is_ipv6 - if non-zero the address is ipv6, else ipv4
797 @param ip_address - array of address bytes
798 */
799define one_map_server_details
800{
801 u32 context;
802 u8 is_ipv6;
803 u8 ip_address[16];
804};
805
806/** \brief Request for map server summary status
807 @param client_index - opaque cookie to identify the sender
808 @param context - sender context, to match reply w/ request
809 */
810define one_map_server_dump
811{
812 u32 client_index;
813 u32 context;
814};
815
816/** \brief Request for ONE status
817 @param client_index - opaque cookie to identify the sender
818 @param context - sender context, to match reply w/ request
819*/
820define show_one_status
821{
822 u32 client_index;
823 u32 context;
824};
825
826/** \brief ONE status
827 @param context - sender context, to match reply w/ request
828 @param feature_status - enabled if non-zero, else disabled
829 @param gpe_status - enabled if non-zero, else disabled
830*/
831define show_one_status_reply
832{
833 u32 context;
834 i32 retval;
835 u8 feature_status;
836 u8 gpe_status;
837};
838
839/** \brief Get ONE map request itr rlocs status
840 @param context - sender context, to match reply w/ request
841 @param locator_set_name - name of the locator_set
842 */
843define one_get_map_request_itr_rlocs
844{
845 u32 client_index;
846 u32 context;
847};
848
849/** \brief Request for map request itr rlocs summary status
850 */
851define one_get_map_request_itr_rlocs_reply
852{
853 u32 context;
854 i32 retval;
855 u8 locator_set_name[64];
856};
857
858/** \brief Request for ONE PITR status
859 @param client_index - opaque cookie to identify the sender
860 @param context - sender context, to match reply w/ request
861*/
862define show_one_pitr
863{
864 u32 client_index;
865 u32 context;
866};
867
868/** \brief Status of ONE PITR, enable or disable
869 @param context - sender context, to match reply w/ request
870 @param status - ONE PITR enable if non-zero, else disable
871 @param locator_set_name - name of the locator_set
872*/
873define show_one_pitr_reply
874{
875 u32 context;
876 i32 retval;
877 u8 status;
878 u8 locator_set_name[64];
879};
Filip Tehlar7eaf0e52017-03-08 08:46:51 +0100880
881define one_stats_dump
882{
883 u32 client_index;
884 u32 context;
885};
886
887define one_stats_details
888{
889 u32 context;
890 u32 vni;
891 u8 eid_type;
892 u8 deid[16];
893 u8 seid[16];
894 u8 deid_pref_len;
895 u8 seid_pref_len;
896 u8 is_ip4;
897 u8 rloc[16];
898 u8 lloc[16];
899
900 u32 pkt_count;
901 u32 bytes;
902};
903
Filip Tehlar21511912017-04-07 10:41:42 +0200904define one_stats_flush
905{
906 u32 client_index;
907 u32 context;
908};
909
910define one_stats_flush_reply
911{
912 u32 context;
913 i32 retval;
914};
915
Filip Tehlar7eaf0e52017-03-08 08:46:51 +0100916define one_stats_enable_disable
917{
918 u32 client_index;
919 u32 context;
920 u8 is_en;
921};
922
923define one_stats_enable_disable_reply
924{
925 u32 context;
926 i32 retval;
927};
928
929define show_one_stats_enable_disable
930{
931 u32 client_index;
932 u32 context;
933};
934
935define show_one_stats_enable_disable_reply
936{
937 u32 context;
938 i32 retval;
939 u8 is_en;
940};
941
942/*
943 * Local Variables:
944 * eval: (c-set-style "gnu")
945 * End:
946 */