From 89d6782dd1a7775a292db3b2b622c8a48dbd757c Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sat, 3 Jun 2000 01:29:00 +0000 Subject: interface {} added. --- proto/ospf/ospf.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'proto/ospf/ospf.h') diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 92095cf..9461fb6 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -56,6 +56,7 @@ struct ospf_area_config { u32 areaid; int stub; unsigned tick; + list patt_list; }; struct ospf_iface { @@ -117,11 +118,11 @@ struct ospf_iface { struct ospf_packet { u8 version; u8 type; -#define HELLO 1 /* Hello */ -#define DBDES 2 /* Database description */ -#define LSREQ 3 /* Link state request */ -#define LSUPD 4 /* Link state update */ -#define LSACK 5 /* Link state acknowledgement */ +#define HELLO_P 1 /* Hello */ +#define DBDES_P 2 /* Database description */ +#define LSREQ_P 3 /* Link state request */ +#define LSUPD_P 4 /* Link state update */ +#define LSACK_P 5 /* Link state acknowledgement */ u16 length; u32 routerid; u32 areaid; @@ -356,6 +357,13 @@ struct proto_ospf { int rfc1583; }; +struct ospf_iface_patt { + struct iface_patt i; + int cost; + int helloint; + int rxmtint; +}; + static int ospf_start(struct proto *p); static void ospf_dump(struct proto *p); static struct proto *ospf_init(struct proto_config *c); -- cgit v1.2.3