diff options
author | Martin Mares <mj@ucw.cz> | 1998-11-29 23:03:58 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-11-29 23:03:58 +0100 |
commit | 50d8424ad1f40f9979214c1d6cbf8e290ba9a5cb (patch) | |
tree | 59f58fdb5b3e37c00c9d4955ed671e4dcec9f814 /nest/protocol.h | |
parent | 66efdf962a343c7cf5aef475f35f9e3864cb4fdd (diff) | |
download | bird-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.h | 7 |
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 |