VPPAPIGEN: vppapigen replacement in Python PLY.
[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 option version = "1.0.0";
17
18 define p2p_ethernet_add
19 {
20   u32 client_index;
21   u32 context;
22   u32 parent_if_index;
23   u32 subif_id;
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  */