iproute2/tipc/msg.h
<<
>>
Prefs
   1/*
   2 * msg.h        Messaging (netlink) helper functions.
   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:     Richard Alpe <richard.alpe@ericsson.com>
  10 */
  11
  12#ifndef _TIPC_MSG_H
  13#define _TIPC_MSG_H
  14
  15struct nlmsghdr *msg_init(char *buf, int cmd);
  16int msg_doit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data);
  17int msg_dumpit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data);
  18int parse_attrs(const struct nlattr *attr, void *data);
  19
  20#endif
  21