diff options
author | Dinesh Dutt <ddutt@cumulusnetworks.com> | 2013-10-22 17:42:18 -0700 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2013-10-22 18:01:31 -0700 |
commit | 8551e6dadce41fb87a61767af723cb25ae611a04 (patch) | |
tree | cb0854c2e216989a0fa211d56d2bf6fd6948b2d6 /ospf6d/ospf6_area.h | |
parent | a83a1e9c2f035d3152451dcfc97ab13b4ac427b9 (diff) | |
download | quagga-8551e6dadce41fb87a61767af723cb25ae611a04.tar.bz2 quagga-8551e6dadce41fb87a61767af723cb25ae611a04.tar.xz |
ospf6d/ospfd: refactor some common defines
Rearranging common defs and structures for use betweeen OSPFv2 and
OSPFv3. Created a new file called libospf.h under lib directory to
hold defines that are common between OSPFv2 and OSPFv3 code bases.
[DL: split of defines refactor from timer refactor]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_area.h')
-rw-r--r-- | ospf6d/ospf6_area.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ospf6d/ospf6_area.h b/ospf6d/ospf6_area.h index e8a4fbd8..655967a9 100644 --- a/ospf6d/ospf6_area.h +++ b/ospf6d/ospf6_area.h @@ -105,8 +105,6 @@ struct ospf6_area #define OSPF6_AREA_TRANSIT 0x04 /* TransitCapability */ #define OSPF6_AREA_STUB 0x08 -#define BACKBONE_AREA_ID (htonl (0)) -#define IS_AREA_BACKBONE(oa) ((oa)->area_id == BACKBONE_AREA_ID) #define IS_AREA_ENABLED(oa) (CHECK_FLAG ((oa)->flag, OSPF6_AREA_ENABLE)) #define IS_AREA_ACTIVE(oa) (CHECK_FLAG ((oa)->flag, OSPF6_AREA_ACTIVE)) #define IS_AREA_TRANSIT(oa) (CHECK_FLAG ((oa)->flag, OSPF6_AREA_TRANSIT)) |