summaryrefslogtreecommitdiffstats
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-11-29 23:03:58 +0100
committerMartin Mares <mj@ucw.cz>1998-11-29 23:03:58 +0100
commit50d8424ad1f40f9979214c1d6cbf8e290ba9a5cb (patch)
tree59f58fdb5b3e37c00c9d4955ed671e4dcec9f814 /nest/protocol.h
parent66efdf962a343c7cf5aef475f35f9e3864cb4fdd (diff)
downloadbird-50d8424ad1f40f9979214c1d6cbf8e290ba9a5cb.tar
bird-50d8424ad1f40f9979214c1d6cbf8e290ba9a5cb.zip
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/protocol.h')
-rw-r--r--nest/protocol.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index 34624e9..59db428 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -75,7 +75,6 @@ struct proto {
void (*rte_remove)(struct network *, struct rte *);
/* Reconfigure function? */
- /* Interface patterns */
/* Input/output filters */
/* Connection to routing tables? */
@@ -90,4 +89,10 @@ void *proto_new(struct protocol *, unsigned size);
extern list proto_list, inactive_proto_list;
+/*
+ * Known unique protocol instances as referenced by config routines
+ */
+
+extern struct proto *cf_dev_proto;
+
#endif