Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018.
0004  */
0005 
0006 #ifndef __NCSI_NETLINK_H__
0007 #define __NCSI_NETLINK_H__
0008 
0009 #include <linux/netdevice.h>
0010 
0011 #include "internal.h"
0012 
0013 int ncsi_send_netlink_rsp(struct ncsi_request *nr,
0014               struct ncsi_package *np,
0015               struct ncsi_channel *nc);
0016 int ncsi_send_netlink_timeout(struct ncsi_request *nr,
0017                   struct ncsi_package *np,
0018                   struct ncsi_channel *nc);
0019 int ncsi_send_netlink_err(struct net_device *dev,
0020               u32 snd_seq,
0021               u32 snd_portid,
0022               struct nlmsghdr *nlhdr,
0023               int err);
0024 
0025 #endif /* __NCSI_NETLINK_H__ */