summaryrefslogtreecommitdiff
path: root/ospfd/ospf_lsa.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-08-23 11:36:27 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-09-27 21:41:00 +0400
commit05b7709dad416146376cc4f41db0c866b3738f5b (patch)
treebf17ceea5864f3bd4d6beb0a5dff4ba5b718b339 /ospfd/ospf_lsa.h
parent10d04cdb4198b69073ea0cdd4c26a64d6697b33e (diff)
ospfd: sizing macros cleanup
* ospf_spf.c * ROUTER_LSA_TOS_SIZE: prepend OSPF_ and move to ospf_lsa.h * ROUTER_LSA_MIN_SIZE: replace with existing OSPF_ROUTER_LSA_LINK_SIZE
Diffstat (limited to 'ospfd/ospf_lsa.h')
-rw-r--r--ospfd/ospf_lsa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h
index 72e2f8a5..bf3b083c 100644
--- a/ospfd/ospf_lsa.h
+++ b/ospfd/ospf_lsa.h
@@ -49,6 +49,7 @@
#define OSPF_LSA_HEADER_SIZE 20U
#define OSPF_ROUTER_LSA_LINK_SIZE 12U
+#define OSPF_ROUTER_LSA_TOS_SIZE 4U
#define OSPF_MAX_LSA_SIZE 1500U
/* AS-external-LSA refresh method. */