blob: c4a46887a932046d1c7b4dbcac8841372b40ab1d [file] [log] [blame]
Samuel Mendoza-Jonas955dc682018-03-05 11:39:05 +11001/*
2 * 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.
8 */
9
10#ifndef __NCSI_NETLINK_H__
11#define __NCSI_NETLINK_H__
12
13#include <linux/netdevice.h>
14
15#include "internal.h"
16
Justin.Lee1@Dell.com9771b8c2018-10-11 18:07:37 +000017int ncsi_send_netlink_rsp(struct ncsi_request *nr,
18 struct ncsi_package *np,
19 struct ncsi_channel *nc);
20int ncsi_send_netlink_timeout(struct ncsi_request *nr,
21 struct ncsi_package *np,
22 struct ncsi_channel *nc);
23int ncsi_send_netlink_err(struct net_device *dev,
24 u32 snd_seq,
25 u32 snd_portid,
26 struct nlmsghdr *nlhdr,
27 int err);
28
Samuel Mendoza-Jonas955dc682018-03-05 11:39:05 +110029int ncsi_init_netlink(struct net_device *dev);
30int ncsi_unregister_netlink(struct net_device *dev);
31
32#endif /* __NCSI_NETLINK_H__ */