summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_ri.h
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2018-01-29 17:58:53 +0100
committerOlivier Dugeon <olivier.dugeon@orange.com>2018-01-29 17:58:53 +0100
commit7743f2f8c00ed2541454a806c1dc55257e06c7a5 (patch)
tree535706c0cba106a9579ed990156be19934c97f3d /ospfd/ospf_ri.h
parentOSPFD: Set Segment Routing patch conform to C99 (diff)
downloadfrr-7743f2f8c00ed2541454a806c1dc55257e06c7a5.tar.xz
frr-7743f2f8c00ed2541454a806c1dc55257e06c7a5.zip
OSPFd: Update Segment Routing PR following review
Following various review, following files have been modfied: - All: Change u_intXX_t typedef to standard uintXX_t types - doc/OSPF-SR.rst: Update doc in particular the Linux Kernel configuration section - doc/ospfd.texi: Update CLI - ospfd/ospf_dump.[c,h]: Add new 'debug ospf sr' when performing 'sh run' - ospfd/ospf_ext.[c, h]: Various bug corrections notably to handle flooding of Extended Prefix at startup. iFix TLVs size for LAN Adjacency. Update Licence as per Community.md - ospfd/ospf_opaque.c: Add proper termination function call to remove MPLS entries - ospfd/ospf_ri.[c,h]: Bug corrections - ospfd/ospf_sr.[c,h]: Various bug corrections, notably to determine the nexthop SR Node. Add support to 'no-php-flag'. Update Licence as per Community.md - ospfd/ospfd.c: Add call to 'ospf_opaque_term()' Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'ospfd/ospf_ri.h')
-rw-r--r--ospfd/ospf_ri.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospfd/ospf_ri.h b/ospfd/ospf_ri.h
index 7f3a5a222..07583f0b7 100644
--- a/ospfd/ospf_ri.h
+++ b/ospfd/ospf_ri.h
@@ -87,7 +87,7 @@ struct ri_tlv_router_cap {
#define RI_STUB_SUPPORT 0x20000000
#define RI_TE_SUPPORT 0x10000000
#define RI_P2P_OVER_LAN 0x08000000
-#define RI_TE_EXPERIMENTAL 0x04000000
+#define RI_TE_EXPERIMENTA 0x04000000
#define RI_TLV_LENGTH 4
@@ -177,6 +177,7 @@ struct scope_info {
extern int ospf_router_info_init(void);
extern void ospf_router_info_term(void);
extern int ospf_router_info_enable(void);
-extern void ospf_router_info_update_sr(bool, struct sr_srgb, uint8_t);
+extern void ospf_router_info_update_sr(bool enable, struct sr_srgb srgb,
+ uint8_t msd);
extern struct scope_info ospf_router_info_get_flooding_scope(void);
#endif /* _ZEBRA_OSPF_ROUTER_INFO_H */