hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/net/hsr/hsr_device.h
....@@ -1,12 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /* Copyright 2011-2014 Autronica Fire and Security AS
2
- *
3
- * This program is free software; you can redistribute it and/or modify it
4
- * under the terms of the GNU General Public License as published by the Free
5
- * Software Foundation; either version 2 of the License, or (at your option)
6
- * any later version.
73 *
84 * Author(s):
95 * 2011-2014 Arvid Brodin, arvid.brodin@alten.se
6
+ *
7
+ * include file for HSR and PRP.
108 */
119
1210 #ifndef __HSR_DEVICE_H
....@@ -15,11 +13,12 @@
1513 #include <linux/netdevice.h>
1614 #include "hsr_main.h"
1715
16
+void hsr_del_ports(struct hsr_priv *hsr);
1817 void hsr_dev_setup(struct net_device *dev);
1918 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
20
- unsigned char multicast_spec, u8 protocol_version);
19
+ unsigned char multicast_spec, u8 protocol_version,
20
+ struct netlink_ext_ack *extack);
2121 void hsr_check_carrier_and_operstate(struct hsr_priv *hsr);
2222 bool is_hsr_master(struct net_device *dev);
2323 int hsr_get_max_mtu(struct hsr_priv *hsr);
24
-
2524 #endif /* __HSR_DEVICE_H */