2015-05-07 21:07:36 +08:00
|
|
|
/*
|
|
|
|
* msg.h Messaging (netlink) helper functions.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version
|
|
|
|
* 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Authors: Richard Alpe <richard.alpe@ericsson.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _TIPC_MSG_H
|
|
|
|
#define _TIPC_MSG_H
|
|
|
|
|
2021-04-01 10:34:09 +08:00
|
|
|
struct nlmsghdr *msg_init(int cmd);
|
2015-05-07 21:07:36 +08:00
|
|
|
int msg_doit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data);
|
|
|
|
int msg_dumpit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data);
|
|
|
|
int parse_attrs(const struct nlattr *attr, void *data);
|
|
|
|
|
|
|
|
#endif
|