/* 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_NETLINK_H#define __HSR_NETLINK_H#include <linux/if_ether.h>#include <linux/module.h>#include <uapi/linux/hsr_netlink.h>structhsr_priv;int__inithsr_netlink_init(void);void__exithsr_netlink_exit(void);voidhsr_nl_ringerror(structhsr_priv*hsr_priv,unsignedcharaddr[ETH_ALEN],intdev_idx);voidhsr_nl_nodedown(structhsr_priv*hsr_priv,unsignedcharaddr[ETH_ALEN]);voidhsr_nl_framedrop(intdropcount,intdev_idx);voidhsr_nl_linkdown(intdev_idx);#endif /* __HSR_NETLINK_H */