Merge tag 'iwlwifi-next-for-kalle-2016-07-11' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-block.git] / drivers / staging / gdm724x / netlink_k.h
CommitLineData
61e12104
WK
1/*
2 * Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved.
3 *
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#ifndef _NETLINK_K_H
15#define _NETLINK_K_H
16
17#include <linux/netdevice.h>
18#include <net/sock.h>
19
20struct sock *netlink_init(int unit,
21 void (*cb)(struct net_device *dev, u16 type, void *msg, int len));
61e12104
WK
22int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len);
23
24#endif /* _NETLINK_K_H_ */