Arvid Brodin | 81ba6af | 2014-07-04 23:35:24 +0200 | [diff] [blame] | 1 | /* 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. |
| 7 | * |
| 8 | * Author(s): |
| 9 | * 2011-2014 Arvid Brodin, arvid.brodin@alten.se |
| 10 | */ |
| 11 | |
| 12 | #ifndef __HSR_SLAVE_H |
| 13 | #define __HSR_SLAVE_H |
| 14 | |
| 15 | #include <linux/skbuff.h> |
| 16 | #include <linux/netdevice.h> |
Arvid Brodin | 51f3c60 | 2014-07-04 23:37:27 +0200 | [diff] [blame^] | 17 | #include "hsr_main.h" |
Arvid Brodin | 81ba6af | 2014-07-04 23:35:24 +0200 | [diff] [blame] | 18 | |
Arvid Brodin | 51f3c60 | 2014-07-04 23:37:27 +0200 | [diff] [blame^] | 19 | int hsr_add_slave(struct hsr_priv *hsr, struct net_device *dev, int idx); |
| 20 | void hsr_del_slave(struct hsr_priv *hsr, int idx); |
Arvid Brodin | 81ba6af | 2014-07-04 23:35:24 +0200 | [diff] [blame] | 21 | rx_handler_result_t hsr_handle_frame(struct sk_buff **pskb); |
| 22 | |
| 23 | #endif /* __HSR_SLAVE_H */ |