summaryrefslogtreecommitdiff
path: root/nest/rt-dev.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-11-29 22:03:58 +0000
committerMartin Mares <mj@ucw.cz>1998-11-29 22:03:58 +0000
commit50d8424ad1f40f9979214c1d6cbf8e290ba9a5cb (patch)
tree59f58fdb5b3e37c00c9d4955ed671e4dcec9f814 /nest/rt-dev.h
parent66efdf962a343c7cf5aef475f35f9e3864cb4fdd (diff)
Added configuration of the device internal protocol. This is primarily
intended to serve as an example of interface pattern list use. As a side effect, you can disable generating of device routes by disabling this protocol.
Diffstat (limited to 'nest/rt-dev.h')
-rw-r--r--nest/rt-dev.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/nest/rt-dev.h b/nest/rt-dev.h
new file mode 100644
index 00000000..05a7f4c6
--- /dev/null
+++ b/nest/rt-dev.h
@@ -0,0 +1,17 @@
+/*
+ * BIRD -- Direct Device Routes
+ *
+ * (c) 1998 Martin Mares <mj@ucw.cz>
+ *
+ * Can be freely distributed and used under the terms of the GNU GPL.
+ */
+
+#ifndef _BIRD_RT_DEV_H_
+#define _BIRD_RT_DEV_H_
+
+struct rt_dev_proto {
+ struct proto p;
+ list iface_list;
+};
+
+#endif