Linux Audio

Check our new training course

Real-Time Linux with PREEMPT_RT training

Feb 18-20, 2025
Register
Loading...
v4.17
 
 1/*
 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
17int ncsi_init_netlink(struct net_device *dev);
18int ncsi_unregister_netlink(struct net_device *dev);
 
 
 
 
 
 
 
 
 
19
20#endif /* __NCSI_NETLINK_H__ */
v6.9.4
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018.
 
 
 
 
 
 4 */
 5
 6#ifndef __NCSI_NETLINK_H__
 7#define __NCSI_NETLINK_H__
 8
 9#include <linux/netdevice.h>
10
11#include "internal.h"
12
13int ncsi_send_netlink_rsp(struct ncsi_request *nr,
14			  struct ncsi_package *np,
15			  struct ncsi_channel *nc);
16int ncsi_send_netlink_timeout(struct ncsi_request *nr,
17			      struct ncsi_package *np,
18			      struct ncsi_channel *nc);
19int ncsi_send_netlink_err(struct net_device *dev,
20			  u32 snd_seq,
21			  u32 snd_portid,
22			  const struct nlmsghdr *nlhdr,
23			  int err);
24
25#endif /* __NCSI_NETLINK_H__ */