mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2026-01-27 06:24:13 +00:00
Add SPDX tag instead of GPL 2.0 or later boilerplate Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
20 lines
476 B
C
20 lines
476 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* mnlg.h Generic Netlink helpers for libmnl
|
|
*
|
|
* Authors: Jiri Pirko <jiri@mellanox.com>
|
|
*/
|
|
|
|
#ifndef _MNLG_H_
|
|
#define _MNLG_H_
|
|
|
|
#include <libmnl/libmnl.h>
|
|
|
|
struct mnlu_gen_socket;
|
|
|
|
int mnlg_socket_send(struct mnlu_gen_socket *nlg, const struct nlmsghdr *nlh);
|
|
int mnlg_socket_group_add(struct mnlu_gen_socket *nlg, const char *group_name);
|
|
int mnlg_socket_get_fd(struct mnlu_gen_socket *nlg);
|
|
|
|
#endif /* _MNLG_H_ */
|