1 /* Copyright (c) 2009 Nicira Networks
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:
7 * http://www.apache.org/licenses/LICENSE-2.0
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.
16 #ifndef VSWITCHD_PROC_NET_COMPAT_H
17 #define VSWITCHD_PROC_NET_COMPAT_H 1
26 struct compat_bond_slave *slaves;
29 struct compat_bond_slave {
32 uint8_t mac[ETH_ADDR_LEN];
35 int proc_net_compat_init(void);
36 void proc_net_compat_update_bond(const char *name, const struct compat_bond *);
37 void proc_net_compat_update_vlan(const char *dev, const char *vlandev,
40 #endif /* vswitchd/proc-net-compat.h */