18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef __NCSI_NETLINK_H__ 78c2ecf20Sopenharmony_ci#define __NCSI_NETLINK_H__ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include <linux/netdevice.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include "internal.h" 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciint ncsi_send_netlink_rsp(struct ncsi_request *nr, 148c2ecf20Sopenharmony_ci struct ncsi_package *np, 158c2ecf20Sopenharmony_ci struct ncsi_channel *nc); 168c2ecf20Sopenharmony_ciint ncsi_send_netlink_timeout(struct ncsi_request *nr, 178c2ecf20Sopenharmony_ci struct ncsi_package *np, 188c2ecf20Sopenharmony_ci struct ncsi_channel *nc); 198c2ecf20Sopenharmony_ciint ncsi_send_netlink_err(struct net_device *dev, 208c2ecf20Sopenharmony_ci u32 snd_seq, 218c2ecf20Sopenharmony_ci u32 snd_portid, 228c2ecf20Sopenharmony_ci struct nlmsghdr *nlhdr, 238c2ecf20Sopenharmony_ci int err); 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#endif /* __NCSI_NETLINK_H__ */ 26