0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __HSR_DEVICE_H
0011 #define __HSR_DEVICE_H
0012
0013 #include <linux/netdevice.h>
0014 #include "hsr_main.h"
0015
0016 void hsr_del_ports(struct hsr_priv *hsr);
0017 void hsr_dev_setup(struct net_device *dev);
0018 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
0019 unsigned char multicast_spec, u8 protocol_version,
0020 struct netlink_ext_ack *extack);
0021 void hsr_check_carrier_and_operstate(struct hsr_priv *hsr);
0022 int hsr_get_max_mtu(struct hsr_priv *hsr);
0023 #endif