Merge tag 'gpio-v3.13-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[linux-2.6.git] / drivers / staging / gdm72xx / netlink_k.h
blob1dffaa6156e4547e4a4d4815d78ba66fcde5dd53
1 /*
2 * Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved.
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.
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.
14 #if !defined(NETLINK_H_20081202)
15 #define NETLINK_H_20081202
16 #include <linux/netdevice.h>
17 #include <net/sock.h>
19 struct sock *netlink_init(int unit,
20 void (*cb)(struct net_device *dev, u16 type, void *msg, int len));
21 void netlink_exit(struct sock *sock);
22 int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len);
24 #endif