/* SPDX-License-Identifier: GPL-2.0 */1/* Copyright 2011-2014 Autronica Fire and Security AS2*3* Author(s):4* 2011-2014 Arvid Brodin, [email protected]5*6* include file for HSR and PRP.7*/89#ifndef __HSR_DEVICE_H10#define __HSR_DEVICE_H1112#include <linux/netdevice.h>13#include "hsr_main.h"1415void hsr_del_ports(struct hsr_priv *hsr);16void hsr_dev_setup(struct net_device *dev);17int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],18struct net_device *interlink, unsigned char multicast_spec,19u8 protocol_version, struct netlink_ext_ack *extack);20void hsr_check_carrier_and_operstate(struct hsr_priv *hsr);21int hsr_get_max_mtu(struct hsr_priv *hsr);22#endif /* __HSR_DEVICE_H */232425