tipc/msg.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * msg.h Messaging (netlink) helper functions. |
| 4 | * |
| 5 | * Authors: Richard Alpe <[email protected]> |
| 6 | */ |
| 7 | |
| 8 | #ifndef _TIPC_MSG_H |
| 9 | #define _TIPC_MSG_H |
| 10 | |
| 11 | struct nlmsghdr *msg_init(int cmd); |
| 12 | int msg_doit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data); |
| 13 | int msg_dumpit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data); |
| 14 | int parse_attrs(const struct nlattr *attr, void *data); |
| 15 | |
| 16 | #endif |