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_ */
17