Pavel Kotucek | 6899a30 | 2017-06-08 08:46:10 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015-2016 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 | |
Dave Barach | 0d056e5 | 2017-09-28 15:11:16 -0400 | [diff] [blame] | 16 | vl_api_version 1.0.0 |
| 17 | |
Pavel Kotucek | 6899a30 | 2017-06-08 08:46:10 +0200 | [diff] [blame] | 18 | define p2p_ethernet_add |
| 19 | { |
| 20 | u32 client_index; |
| 21 | u32 context; |
| 22 | u32 parent_if_index; |
Pavel Kotucek | 15ac81c | 2017-06-20 14:00:26 +0200 | [diff] [blame] | 23 | u32 subif_id; |
Pavel Kotucek | 6899a30 | 2017-06-08 08:46:10 +0200 | [diff] [blame] | 24 | u8 remote_mac[6]; |
| 25 | }; |
| 26 | |
| 27 | define p2p_ethernet_add_reply |
| 28 | { |
| 29 | u32 context; |
| 30 | i32 retval; |
| 31 | u32 sw_if_index; |
| 32 | }; |
| 33 | |
| 34 | define p2p_ethernet_del |
| 35 | { |
| 36 | u32 client_index; |
| 37 | u32 context; |
| 38 | u32 parent_if_index; |
| 39 | u8 remote_mac[6]; |
| 40 | }; |
| 41 | |
| 42 | define p2p_ethernet_del_reply |
| 43 | { |
| 44 | u32 context; |
| 45 | i32 retval; |
| 46 | }; |
| 47 | |
| 48 | /* |
| 49 | * Local Variables: |
| 50 | * eval: (c-set-style "gnu") |
| 51 | * End: |
| 52 | */ |