.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
---|
1 | 2 | /* Copyright 2011-2014 Autronica Fire and Security AS |
---|
2 | 3 | * |
---|
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): |
---|
9 | 4 | * 2011-2014 Arvid Brodin, arvid.brodin@alten.se |
---|
| 5 | + * |
---|
| 6 | + * include file for HSR and PRP. |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | #ifndef __HSR_SLAVE_H |
---|
.. | .. |
---|
18 | 15 | #include "hsr_main.h" |
---|
19 | 16 | |
---|
20 | 17 | 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); |
---|
22 | 19 | void hsr_del_port(struct hsr_port *port); |
---|
23 | 20 | bool hsr_port_exists(const struct net_device *dev); |
---|
24 | 21 | |
---|
.. | .. |
---|
35 | 32 | rcu_dereference(dev->rx_handler_data) : NULL; |
---|
36 | 33 | } |
---|
37 | 34 | |
---|
| 35 | +bool hsr_invalid_dan_ingress_frame(__be16 protocol); |
---|
| 36 | + |
---|
38 | 37 | #endif /* __HSR_SLAVE_H */ |
---|