diff options
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r-- | proto/rip/rip.h | 13 |
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 { |