hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/net/hsr/hsr_slave.h
....@@ -1,12 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /* Copyright 2011-2014 Autronica Fire and Security AS
23 *
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.
7
- *
8
- * Author(s):
94 * 2011-2014 Arvid Brodin, arvid.brodin@alten.se
5
+ *
6
+ * include file for HSR and PRP.
107 */
118
129 #ifndef __HSR_SLAVE_H
....@@ -18,7 +15,7 @@
1815 #include "hsr_main.h"
1916
2017 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,
21
- enum hsr_port_type pt);
18
+ enum hsr_port_type pt, struct netlink_ext_ack *extack);
2219 void hsr_del_port(struct hsr_port *port);
2320 bool hsr_port_exists(const struct net_device *dev);
2421
....@@ -35,4 +32,6 @@
3532 rcu_dereference(dev->rx_handler_data) : NULL;
3633 }
3734
35
+bool hsr_invalid_dan_ingress_frame(__be16 protocol);
36
+
3837 #endif /* __HSR_SLAVE_H */