mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-04 15:30:26 +00:00 
			
		
		
		
	This is an implementation of draft-ietf-ospf-segment-routing-extensions-24 and RFC7684 for Extended Link & Prefix Opaque LSA. Look to doc/OSPF_SR.rst for implementation details & known limitations. New files: - ospfd/ospf_sr.h: Segment Routing structure definition (SubTLVs + SRDB) - ospfd/ospf_sr.c: Main functions for Segment Routing support - ospfd/ospf_ext.h: TLVs and SubTLVs definition for RFC7684 - ospfd/ospf_ext.c: RFC7684 Extended Link / Prefix implementation - doc/OSPF-SRr.rst: Documentation Modified Files: - doc/ospfd.texi: Add new Segment Routing CLI command definition - lib/command.h: Add new string command for Segment Routing CLI - lib/mpls.h: Add default value for SRGB - lib/route_types.txt: Add new OSPF Segment Routing route type - ospfd/ospf_dump.[c,h]: Add OSPF SR debug - ospfd/ospf_memory.[c,h]: Add new Segment Routing memory type - ospfd/ospf_opaque.[c,h]: Add ospf_sr_init() starting function - ospfd/ospf_ri.c: Add new functions to Set/Get Segment Routing TLVs Add new ospf_router_info_lsa_upadte() to send Opaque LSA to ospf_sr.c() - ospfd/ospf_ri.h: Add new Router Information SR SubTLVs - ospfd/ospf_spf.c: Add new scheduler when running SPF to trigger update of NHLFE - ospfd/ospfd.h: Add new thread for Segment Routing scheduler - ospfd/subdir.am: Add new files - vtysh/Makefile.am: Add new ospf_sr.c file for vtysh - zebra/kernel_netlink.c: Add new OSPF_SR route type - zebra/rt_netlink.[c,h]: Add new OSPF_SR route type - zebra/zebra_mpls.h: Add new OSPF_SR route type Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
		
			
				
	
	
		
			59 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/* ospfd memory type declarations
 | 
						|
 *
 | 
						|
 * Copyright (C) 2015  David Lamparter
 | 
						|
 *
 | 
						|
 * This file is part of Quagga.
 | 
						|
 *
 | 
						|
 * Quagga is free software; you can redistribute it and/or modify it
 | 
						|
 * under the terms of the GNU General Public License as published by the
 | 
						|
 * Free Software Foundation; either version 2, or (at your option) any
 | 
						|
 * later version.
 | 
						|
 *
 | 
						|
 * Quagga is distributed in the hope that it will be useful, but
 | 
						|
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
						|
 * General Public License for more details.
 | 
						|
 *
 | 
						|
 * You should have received a copy of the GNU General Public License along
 | 
						|
 * with this program; see the file COPYING; if not, write to the Free Software
 | 
						|
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _QUAGGA_OSPF_MEMORY_H
 | 
						|
#define _QUAGGA_OSPF_MEMORY_H
 | 
						|
 | 
						|
#include "memory.h"
 | 
						|
 | 
						|
DECLARE_MGROUP(OSPFD)
 | 
						|
DECLARE_MTYPE(OSPF_TOP)
 | 
						|
DECLARE_MTYPE(OSPF_AREA)
 | 
						|
DECLARE_MTYPE(OSPF_AREA_RANGE)
 | 
						|
DECLARE_MTYPE(OSPF_NETWORK)
 | 
						|
DECLARE_MTYPE(OSPF_NEIGHBOR_STATIC)
 | 
						|
DECLARE_MTYPE(OSPF_IF)
 | 
						|
DECLARE_MTYPE(OSPF_NEIGHBOR)
 | 
						|
DECLARE_MTYPE(OSPF_ROUTE)
 | 
						|
DECLARE_MTYPE(OSPF_TMP)
 | 
						|
DECLARE_MTYPE(OSPF_LSA)
 | 
						|
DECLARE_MTYPE(OSPF_LSA_DATA)
 | 
						|
DECLARE_MTYPE(OSPF_LSDB)
 | 
						|
DECLARE_MTYPE(OSPF_PACKET)
 | 
						|
DECLARE_MTYPE(OSPF_FIFO)
 | 
						|
DECLARE_MTYPE(OSPF_VERTEX)
 | 
						|
DECLARE_MTYPE(OSPF_VERTEX_PARENT)
 | 
						|
DECLARE_MTYPE(OSPF_NEXTHOP)
 | 
						|
DECLARE_MTYPE(OSPF_PATH)
 | 
						|
DECLARE_MTYPE(OSPF_VL_DATA)
 | 
						|
DECLARE_MTYPE(OSPF_CRYPT_KEY)
 | 
						|
DECLARE_MTYPE(OSPF_EXTERNAL_INFO)
 | 
						|
DECLARE_MTYPE(OSPF_DISTANCE)
 | 
						|
DECLARE_MTYPE(OSPF_IF_INFO)
 | 
						|
DECLARE_MTYPE(OSPF_IF_PARAMS)
 | 
						|
DECLARE_MTYPE(OSPF_MESSAGE)
 | 
						|
DECLARE_MTYPE(OSPF_MPLS_TE)
 | 
						|
DECLARE_MTYPE(OSPF_PCE_PARAMS)
 | 
						|
DECLARE_MTYPE(OSPF_SR_PARAMS)
 | 
						|
DECLARE_MTYPE(OSPF_EXT_PARAMS)
 | 
						|
 | 
						|
#endif /* _QUAGGA_OSPF_MEMORY_H */
 |