blob: 8fb6637652257a1015d2d9742a5aae8ed22e8eb4 [file] [log] [blame]
Pavel Kotucek6899a302017-06-08 08:46:10 +02001/*
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
16define p2p_ethernet_add
17{
18 u32 client_index;
19 u32 context;
20 u32 parent_if_index;
Pavel Kotucek15ac81c2017-06-20 14:00:26 +020021 u32 subif_id;
Pavel Kotucek6899a302017-06-08 08:46:10 +020022 u8 remote_mac[6];
23};
24
25define p2p_ethernet_add_reply
26{
27 u32 context;
28 i32 retval;
29 u32 sw_if_index;
30};
31
32define p2p_ethernet_del
33{
34 u32 client_index;
35 u32 context;
36 u32 parent_if_index;
37 u8 remote_mac[6];
38};
39
40define 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 */