summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/ribconfig.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2017-02-17 10:00:48 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-17 10:00:48 +0000
commitf5ca2eed99c8fa741e8d2e8385d1b4f10e433df8 (patch)
treec5e4af02e99a098dd123509cc67bfeb6efb6d69c /src/ipcpd/normal/ribconfig.h
parent8cb5218438feaf455a297915d037675e3c3eea21 (diff)
parent645cf66af11ac36b81648f2e1eb3b1f5aeb7b544 (diff)
downloadouroboros-f5ca2eed99c8fa741e8d2e8385d1b4f10e433df8.tar.gz
ouroboros-f5ca2eed99c8fa741e8d2e8385d1b4f10e433df8.zip
Merged in dstaesse/ouroboros/be-ribmgr (pull request #378)0.4
ipcpd: Move RIB configuration to common header
Diffstat (limited to 'src/ipcpd/normal/ribconfig.h')
-rw-r--r--src/ipcpd/normal/ribconfig.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/ipcpd/normal/ribconfig.h b/src/ipcpd/normal/ribconfig.h
new file mode 100644
index 00000000..15b65ce2
--- /dev/null
+++ b/src/ipcpd/normal/ribconfig.h
@@ -0,0 +1,39 @@
+/*
+ * Ouroboros - Copyright (C) 2016 - 2017
+ *
+ * Normal IPC Process - RIB configuration
+ *
+ * Dimitri Staessens <dimitri.staessens@ugent.be>
+ * Sander Vrijders <sander.vrijders@ugent.be>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef OUROBOROS_IPCPD_NORMAL_RIB_CONFIG_H
+#define OUROBOROS_IPCPD_NORMAL_RIB_CONFIG_H
+
+/* RIB configuration for normal */
+#define RIB_MAX_PATH_LEN 256
+
+#define DLR "/"
+#define BOOT_NAME "boot"
+#define MEMBERS_NAME "members"
+#define DIF_NAME "dif_name"
+#define DIR_NAME "directory"
+#define DIF_PATH DLR DIF_NAME
+#define DIR_PATH DLR DIR_NAME
+#define BOOT_PATH DLR BOOT_NAME
+#define MEMBERS_PATH DLR MEMBERS_NAME
+
+#endif /* OUROBOROS_IPCPD_NORMAL_RIB_CONFIG_H */