hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/net/ncsi/ncsi-netlink.h
....@@ -1,10 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018.
3
- *
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.
84 */
95
106 #ifndef __NCSI_NETLINK_H__
....@@ -14,4 +10,16 @@
1410
1511 #include "internal.h"
1612
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
+
1725 #endif /* __NCSI_NETLINK_H__ */