https://github.com/torvalds/linux
Raw File
Tip revision: 1e4b044d22517cae7047c99038abb444423243ca authored by Linus Torvalds on 08 July 2018, 23:34:02 UTC
Linux 4.18-rc4
Tip revision: 1e4b044
netlink_k.h
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved. */

#ifndef _NETLINK_K_H
#define _NETLINK_K_H

#include <linux/netdevice.h>
#include <net/sock.h>

struct sock *netlink_init(int unit,
			  void (*cb)(struct net_device *dev,
				     u16 type, void *msg, int len));
int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len);

#endif /* _NETLINK_K_H_ */
back to top