Merge tag 'linux-watchdog-5.11-rc1' of git://www.linux-watchdog.org/linux-watchdog
[linux-2.6-microblaze.git] / drivers / staging / gdm724x / netlink_k.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved. */
3
4 #ifndef _NETLINK_K_H
5 #define _NETLINK_K_H
6
7 #include <linux/netdevice.h>
8 #include <net/sock.h>
9
10 struct sock *netlink_init(int unit,
11                           void (*cb)(struct net_device *dev,
12                                      u16 type, void *msg, int len));
13 int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len,
14                  struct net_device *dev);
15
16 #endif /* _NETLINK_K_H_ */