fs/epoll: simplify ep_send_events_proc() ready-list loop
[linux/fpc-iii.git] / net / ncsi / ncsi-netlink.h
blobc4a46887a932046d1c7b4dbcac8841372b40ab1d
1 /*
2 * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */
10 #ifndef __NCSI_NETLINK_H__
11 #define __NCSI_NETLINK_H__
13 #include <linux/netdevice.h>
15 #include "internal.h"
17 int ncsi_send_netlink_rsp(struct ncsi_request *nr,
18 struct ncsi_package *np,
19 struct ncsi_channel *nc);
20 int ncsi_send_netlink_timeout(struct ncsi_request *nr,
21 struct ncsi_package *np,
22 struct ncsi_channel *nc);
23 int ncsi_send_netlink_err(struct net_device *dev,
24 u32 snd_seq,
25 u32 snd_portid,
26 struct nlmsghdr *nlhdr,
27 int err);
29 int ncsi_init_netlink(struct net_device *dev);
30 int ncsi_unregister_netlink(struct net_device *dev);
32 #endif /* __NCSI_NETLINK_H__ */