Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* Copyright 2011-2014 Autronica Fire and Security AS
0003  *
0004  * Author(s):
0005  *  2011-2014 Arvid Brodin, arvid.brodin@alten.se
0006  *
0007  * include file for HSR and PRP.
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 /* __HSR_DEVICE_H */