drm/panel-edp: Add BOE NV140FHM-NZ panel entry
[drm/drm-misc.git] / net / batman-adv / netlink.h
blob876d2806a67d287f0abfa229a869646a5e39f6a2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) B.A.T.M.A.N. contributors:
4 * Matthias Schiffer
5 */
7 #ifndef _NET_BATMAN_ADV_NETLINK_H_
8 #define _NET_BATMAN_ADV_NETLINK_H_
10 #include "main.h"
12 #include <linux/netlink.h>
13 #include <linux/types.h>
14 #include <net/genetlink.h>
16 void batadv_netlink_register(void);
17 void batadv_netlink_unregister(void);
18 int batadv_netlink_get_ifindex(const struct nlmsghdr *nlh, int attrtype);
20 int batadv_netlink_tpmeter_notify(struct batadv_priv *bat_priv, const u8 *dst,
21 u8 result, u32 test_time, u64 total_bytes,
22 u32 cookie);
24 extern struct genl_family batadv_netlink_family;
26 #endif /* _NET_BATMAN_ADV_NETLINK_H_ */