P2P Ethernet
[vpp.git] / src / vnet / ethernet / p2p_ethernet.api
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
16 define p2p_ethernet_add
17 {
18   u32 client_index;
19   u32 context;
20   u32 parent_if_index;
21   u32 subif_id;
22   u8  remote_mac[6];
23 };
24
25 define p2p_ethernet_add_reply
26 {
27   u32 context;
28   i32 retval;
29   u32 sw_if_index;
30 };
31
32 define p2p_ethernet_del
33 {
34   u32 client_index;
35   u32 context;
36   u32 parent_if_index;
37   u8  remote_mac[6];
38 };
39
40 define p2p_ethernet_del_reply
41 {
42   u32 context;
43   i32 retval;
44 };
45
46 /*
47  * Local Variables:
48  * eval: (c-set-style "gnu")
49  * End:
50  */