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
27 struct compat_bond_hash *hashes;
30 struct compat_bond_slave *slaves;
33 struct compat_bond_hash {
35 const char *netdev_name;
38 struct compat_bond_slave {
41 uint8_t mac[ETH_ADDR_LEN];
44 int proc_net_compat_init(void);
45 void proc_net_compat_update_bond(const char *name, const struct compat_bond *);
46 void proc_net_compat_update_vlan(const char *dev, const char *vlandev,
49 #endif /* vswitchd/proc-net-compat.h */