0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __HSR_NETLINK_H
0011 #define __HSR_NETLINK_H
0012
0013 #include <linux/if_ether.h>
0014 #include <linux/module.h>
0015 #include <uapi/linux/hsr_netlink.h>
0016
0017 struct hsr_priv;
0018 struct hsr_port;
0019
0020 int __init hsr_netlink_init(void);
0021 void __exit hsr_netlink_exit(void);
0022
0023 void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN],
0024 struct hsr_port *port);
0025 void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]);
0026 void hsr_nl_framedrop(int dropcount, int dev_idx);
0027 void hsr_nl_linkdown(int dev_idx);
0028
0029 #endif