Thomas Gleixner | 2874c5f | 2019-05-27 08:55:01 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Samuel Mendoza-Jonas | 955dc68 | 2018-03-05 11:39:05 +1100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018. |
Samuel Mendoza-Jonas | 955dc68 | 2018-03-05 11:39:05 +1100 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __NCSI_NETLINK_H__ |
| 7 | #define __NCSI_NETLINK_H__ |
| 8 | |
| 9 | #include <linux/netdevice.h> |
| 10 | |
| 11 | #include "internal.h" |
| 12 | |
Justin.Lee1@Dell.com | 9771b8c | 2018-10-11 18:07:37 +0000 | [diff] [blame] | 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); |
| 24 | |
Samuel Mendoza-Jonas | 955dc68 | 2018-03-05 11:39:05 +1100 | [diff] [blame] | 25 | #endif /* __NCSI_NETLINK_H__ */ |