iproute2/devlink/mnlg.h
<<
>>
Prefs
   1/*
   2 *   mnlg.h     Generic Netlink helpers for libmnl
   3 *
   4 *              This program is free software; you can redistribute it and/or
   5 *              modify it under the terms of the GNU General Public License
   6 *              as published by the Free Software Foundation; either version
   7 *              2 of the License, or (at your option) any later version.
   8 *
   9 * Authors:     Jiri Pirko <jiri@mellanox.com>
  10 */
  11
  12#ifndef _MNLG_H_
  13#define _MNLG_H_
  14
  15#include <libmnl/libmnl.h>
  16
  17struct mnlu_gen_socket;
  18
  19int mnlg_socket_send(struct mnlu_gen_socket *nlg, const struct nlmsghdr *nlh);
  20int mnlg_socket_group_add(struct mnlu_gen_socket *nlg, const char *group_name);
  21int mnlg_socket_get_fd(struct mnlu_gen_socket *nlg);
  22
  23#endif /* _MNLG_H_ */
  24