From 50e89a6ea26caba59c7d4dd512fdc12c09cee64c Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Tue, 12 Jan 1999 16:40:55 +0000 Subject: Patterns expanded in the right way --- proto/rip/rip.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'proto/rip/rip.h') diff --git a/proto/rip/rip.h b/proto/rip/rip.h index cfe0d67..0fcda20 100644 --- a/proto/rip/rip.h +++ b/proto/rip/rip.h @@ -65,8 +65,21 @@ struct rip_interface { struct iface *iface; sock *sock; struct rip_connection *busy; + int metric; /* User configurable data */ + int mode; +#define IM_DEFAULT 0 +#define IM_QUIET 1 +#define IM_MULTICAST 2 +#define IM_BROADCAST 3 +}; + +struct rip_patt { + struct iface_patt i; + + int metric; + int mode; }; struct rip_proto { -- cgit v1.2.3