From 50d8424ad1f40f9979214c1d6cbf8e290ba9a5cb Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 29 Nov 1998 22:03:58 +0000 Subject: 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. --- nest/protocol.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'nest/protocol.h') 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 -- cgit v1.2.3