blob: 5f9514f100b90aa34329eaf829da440172b9298c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef _TRANSPORT_NETLINK_H_ /* -*- linux-c -*- */
#define _TRANSPORT_NETLINK_H_
/** @file netlink.h
* @brief Header file for netlink transport
*/
#include <linux/skbuff.h>
#include <linux/netlink.h>
#include <net/sock.h>
extern struct sock *_stp_netlink_open(int unit, int (*handler) (int pid, int cmd, void *data));
extern void _stp_netlink_close(struct sock *nl);
extern int _stp_netlink_send(int type, void *reply, int len, int pid);
#endif /* _TRANSPORT_NETLINK_H_ */
|