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.
10 #ifndef __NCSI_NETLINK_H__
11 #define __NCSI_NETLINK_H__
13 #include <linux/netdevice.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
,
26 struct nlmsghdr
*nlhdr
,
29 int ncsi_init_netlink(struct net_device
*dev
);
30 int ncsi_unregister_netlink(struct net_device
*dev
);
32 #endif /* __NCSI_NETLINK_H__ */