]>
Commit | Line | Data |
---|---|---|
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 | 16 | void hsr_del_ports(struct hsr_priv *hsr); |
f421436a AB |
17 | void hsr_dev_setup(struct net_device *dev); |
18 | int 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 | 21 | void hsr_check_carrier_and_operstate(struct hsr_priv *hsr); |
70ebe4a4 | 22 | int hsr_get_max_mtu(struct hsr_priv *hsr); |
f421436a | 23 | #endif /* __HSR_DEVICE_H */ |