vfio/type1: untag user pointers in vaddr_get_pfn
[linux/fpc-iii.git] / net / ncsi / ncsi-netlink.h
blob7502723fba837300308a4156b1a80a0bfa3d3654
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018.
4 */
6 #ifndef __NCSI_NETLINK_H__
7 #define __NCSI_NETLINK_H__
9 #include <linux/netdevice.h>
11 #include "internal.h"
13 int ncsi_send_netlink_rsp(struct ncsi_request *nr,
14 struct ncsi_package *np,
15 struct ncsi_channel *nc);
16 int ncsi_send_netlink_timeout(struct ncsi_request *nr,
17 struct ncsi_package *np,
18 struct ncsi_channel *nc);
19 int ncsi_send_netlink_err(struct net_device *dev,
20 u32 snd_seq,
21 u32 snd_portid,
22 struct nlmsghdr *nlhdr,
23 int err);
25 int ncsi_init_netlink(struct net_device *dev);
26 int ncsi_unregister_netlink(struct net_device *dev);
28 #endif /* __NCSI_NETLINK_H__ */