]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - net/hsr/hsr_device.h
Merge tag 'net-next-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev...
[thirdparty/kernel/linux.git] / net / hsr / hsr_device.h
CommitLineData
0e7623bd 1/* SPDX-License-Identifier: GPL-2.0 */
70ebe4a4 2/* Copyright 2011-2014 Autronica Fire and Security AS
f421436a
AB
3 *
4 * Author(s):
70ebe4a4 5 * 2011-2014 Arvid Brodin, arvid.brodin@alten.se
8f4c0e01
MK
6 *
7 * include file for HSR and PRP.
f421436a
AB
8 */
9
10#ifndef __HSR_DEVICE_H
11#define __HSR_DEVICE_H
12
13#include <linux/netdevice.h>
14#include "hsr_main.h"
15
de0083c7 16void hsr_del_ports(struct hsr_priv *hsr);
f421436a
AB
17void hsr_dev_setup(struct net_device *dev);
18int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
5055cccf
LM
19 struct net_device *interlink, unsigned char multicast_spec,
20 u8 protocol_version, struct netlink_ext_ack *extack);
e9aae56e 21void hsr_check_carrier_and_operstate(struct hsr_priv *hsr);
70ebe4a4 22int hsr_get_max_mtu(struct hsr_priv *hsr);
f421436a 23#endif /* __HSR_DEVICE_H */