diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-03 01:29:00 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-03 01:29:00 +0000 |
commit | 89d6782dd1a7775a292db3b2b622c8a48dbd757c (patch) | |
tree | 5f5c0a7bc59c95289b3bda941ad3dab78abfe329 /proto/ospf/ospf.h | |
parent | b36a0a799c751864f65bc3384df301448b54f3bf (diff) |
interface {} added.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r-- | proto/ospf/ospf.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 92095cf9..9461fb68 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); |