summaryrefslogtreecommitdiff
path: root/proto/rip/rip.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-01-12 16:40:55 +0000
committerPavel Machek <pavel@ucw.cz>1999-01-12 16:40:55 +0000
commit50e89a6ea26caba59c7d4dd512fdc12c09cee64c (patch)
tree7c30e4e353116c172233471a067b88fe342868f5 /proto/rip/rip.h
parent18fff6a1979725c1ed839d9a10285e22dc0b8214 (diff)
Patterns expanded in the right way
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r--proto/rip/rip.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h
index cfe0d671..0fcda20d 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 {