Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved. */
0003 
0004 #ifndef _NETLINK_K_H
0005 #define _NETLINK_K_H
0006 
0007 #include <linux/netdevice.h>
0008 #include <net/sock.h>
0009 
0010 struct sock *netlink_init(int unit,
0011               void (*cb)(struct net_device *dev,
0012                      u16 type, void *msg, int len));
0013 int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len,
0014          struct net_device *dev);
0015 
0016 #endif /* _NETLINK_K_H_ */