03c15fda39a81d25209fdc5038b774453d42b967
[cascardo/linux.git] / net / hsr / hsr_slave.h
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>
17 #include "hsr_main.h"
18
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);
21 rx_handler_result_t hsr_handle_frame(struct sk_buff **pskb);
22
23 #endif /* __HSR_SLAVE_H */