diff options
author | Vincent Bernat <bernat@luffy.cx> | 2012-10-24 16:45:54 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-03-21 06:28:48 +0100 |
commit | fd5006896fce2816244c1ef4cabc736279548538 (patch) | |
tree | c9fb889019186c6aa7c800643f3ff1d9171a96a7 /ospf6d/ospf6_top.h | |
parent | ospf6d: compute interface cost from its bandwidth (diff) | |
download | frr-fd5006896fce2816244c1ef4cabc736279548538.tar.xz frr-fd5006896fce2816244c1ef4cabc736279548538.zip |
ospf6d: add "auto-cost reference-bandwidth" command
This command allows the user to change to default reference bandwidth
for cost calculations. The default value is 100 Mbps. With a default
bandwidth of 10 MBps, the default cost becomes 10. Those values are
consistent with OSPFv2.
[DL: resolved conflicts in vty command additions & docs]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_top.h')
-rw-r--r-- | ospf6d/ospf6_top.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ospf6d/ospf6_top.h b/ospf6d/ospf6_top.h index 866f92f98..d6f4bf0f3 100644 --- a/ospf6d/ospf6_top.h +++ b/ospf6d/ospf6_top.h @@ -80,6 +80,8 @@ struct ospf6 struct thread *t_spf_calc; /* SPF calculation timer. */ struct thread *t_ase_calc; /* ASE calculation timer. */ struct thread *maxage_remover; + + u_int32_t ref_bandwidth; }; #define OSPF6_DISABLED 0x01 |