Neale Ranns | 976b259 | 2019-12-04 06:11:00 +0000 | [diff] [blame^] | 1 | /* Hey Emacs use -*- mode: C -*- */ |
| 2 | /* |
| 3 | * Copyright (c) 2018 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 = "1.0.0"; |
| 18 | |
| 19 | import "vnet/fib/fib_types.api"; |
| 20 | |
| 21 | typedef fib_source |
| 22 | { |
| 23 | u8 priority; |
| 24 | u8 id; |
| 25 | string name[64]; |
| 26 | }; |
| 27 | |
| 28 | define fib_source_add |
| 29 | { |
| 30 | u32 client_index; |
| 31 | u32 context; |
| 32 | vl_api_fib_source_t src; |
| 33 | }; |
| 34 | |
| 35 | define fib_source_add_reply |
| 36 | { |
| 37 | u32 context; |
| 38 | i32 retval; |
| 39 | u8 id; |
| 40 | }; |
| 41 | |
| 42 | define fib_source_dump |
| 43 | { |
| 44 | u32 client_index; |
| 45 | u32 context; |
| 46 | }; |
| 47 | |
| 48 | define fib_source_details |
| 49 | { |
| 50 | u32 context; |
| 51 | vl_api_fib_source_t src; |
| 52 | }; |