/* Copyright 2011-2013 Autronica Fire and Security AS * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. * * Author(s): * 2011-2013 Arvid Brodin, arvid.brodin@xdin.com */#ifndef __HSR_DEVICE_H#define __HSR_DEVICE_H#include <linux/netdevice.h>#include "hsr_main.h"voidhsr_dev_setup(structnet_device*dev);inthsr_dev_finalize(structnet_device*hsr_dev,structnet_device*slave[2],unsignedcharmulticast_spec);voidhsr_set_operstate(structnet_device*hsr_dev,structnet_device*slave1,structnet_device*slave2);voidhsr_set_carrier(structnet_device*hsr_dev,structnet_device*slave1,structnet_device*slave2);voidhsr_check_announce(structnet_device*hsr_dev,intold_operstate);boolis_hsr_master(structnet_device*dev);inthsr_get_max_mtu(structhsr_priv*hsr_priv);#endif /* __HSR_DEVICE_H */