mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-08-07 15:55:10 +00:00

tipc is a user-space configuration tool for TIPC (Transparent Inter-process Communication). It utilizes the TIPC netlink API in the kernel to fetch data or perform actions. The tipc tool has somewhat similar syntax to the ip tool meaning that users of the ip tool should not feel that unfamiliar with this tool. Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
21 lines
658 B
C
21 lines
658 B
C
/*
|
|
* 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
|
|
|
|
struct nlmsghdr *msg_init(char *buf, int cmd);
|
|
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
|