Linux 4.19-rc7
[linux-2.6/btrfs-unstable.git] / drivers / staging / gdm724x / netlink_k.h
blobc9e1d3b2d54ff721b94975c7ab14f20e043a1365
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved. */
4 #ifndef _NETLINK_K_H
5 #define _NETLINK_K_H
7 #include <linux/netdevice.h>
8 #include <net/sock.h>
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);
15 #endif /* _NETLINK_K_H_ */