blob: 03c15fda39a81d25209fdc5038b774453d42b967 [file] [log] [blame]
Arvid Brodin81ba6af2014-07-04 23:35:24 +02001/* 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 Brodin51f3c602014-07-04 23:37:27 +020017#include "hsr_main.h"
Arvid Brodin81ba6af2014-07-04 23:35:24 +020018
Arvid Brodin51f3c602014-07-04 23:37:27 +020019int hsr_add_slave(struct hsr_priv *hsr, struct net_device *dev, int idx);
20void hsr_del_slave(struct hsr_priv *hsr, int idx);
Arvid Brodin81ba6af2014-07-04 23:35:24 +020021rx_handler_result_t hsr_handle_frame(struct sk_buff **pskb);
22
23#endif /* __HSR_SLAVE_H */