vfio/type1: untag user pointers in vaddr_get_pfn
[linux/fpc-iii.git] / net / hsr / hsr_netlink.h
blob1121bb192a18e8be5a15320907327b427f3b4c29
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright 2011-2014 Autronica Fire and Security AS
4 * Author(s):
5 * 2011-2014 Arvid Brodin, arvid.brodin@alten.se
6 */
8 #ifndef __HSR_NETLINK_H
9 #define __HSR_NETLINK_H
11 #include <linux/if_ether.h>
12 #include <linux/module.h>
13 #include <uapi/linux/hsr_netlink.h>
15 struct hsr_priv;
16 struct hsr_port;
18 int __init hsr_netlink_init(void);
19 void __exit hsr_netlink_exit(void);
21 void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN],
22 struct hsr_port *port);
23 void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]);
24 void hsr_nl_framedrop(int dropcount, int dev_idx);
25 void hsr_nl_linkdown(int dev_idx);
27 #endif /* __HSR_NETLINK_H */