summaryrefslogtreecommitdiff
path: root/tipc/link.h
diff options
context:
space:
mode:
authorRichard Alpe <richard.alpe@ericsson.com>2015-05-07 15:07:36 +0200
committerStephen Hemminger <shemming@brocade.com>2015-05-21 14:41:41 -0700
commitf043759dd492897513d5aa057427bcdab8592d4b (patch)
tree95f8fc965c7ec4acca573303e27f8ec776121400 /tipc/link.h
parentcbb99f7fbe28e4a4b3afebe2d143109d7e28956e (diff)
tipc: add new TIPC configuration tool
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>
Diffstat (limited to 'tipc/link.h')
-rw-r--r--tipc/link.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/tipc/link.h b/tipc/link.h
new file mode 100644
index 00000000..6dc95e5b
--- /dev/null
+++ b/tipc/link.h
@@ -0,0 +1,21 @@
+/*
+ * link.c TIPC link functionality.
+ *
+ * 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_LINK_H
+#define _TIPC_LINK_H
+
+extern int help_flag;
+
+int cmd_link(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
+ void *data);
+void cmd_link_help(struct cmdl *cmdl);
+
+#endif