^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #ifndef __NCSI_NETLINK_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #define __NCSI_NETLINK_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #include <linux/netdevice.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include "internal.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) int ncsi_send_netlink_rsp(struct ncsi_request *nr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct ncsi_package *np,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) struct ncsi_channel *nc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) int ncsi_send_netlink_timeout(struct ncsi_request *nr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct ncsi_package *np,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) struct ncsi_channel *nc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) int ncsi_send_netlink_err(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) u32 snd_seq,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) u32 snd_portid,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) struct nlmsghdr *nlhdr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) int err);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #endif /* __NCSI_NETLINK_H__ */