ncsi-netlink.h 623 B

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