mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-10-31 18:40:52 +00:00 
			
		
		
		
	 856ae1eb2e
			
		
	
	
		856ae1eb2e
		
	
	
	
	
		
			
			Add hook for route-map update event. Add a delay one shot timer to accomodate route-map update and reset redist with zebra to process all redistribute routes with route-map info. Cleanup route-map, prefix cached date during ospf6 exit. Ticket:CM-13800 Testing Done: configure redistribute connected with route-map to define type-2 routes. Restart frr.service and validated route-map add,update event, thread is scheduled, once timer is done redist reset with zebra. Upon redist add notification, all route map info is cached in ospf6 and processed as type-2 route and send ASE E2 LSA. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /* ospf6d memory type definitions
 | |
|  *
 | |
|  * 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
 | |
|  */
 | |
| 
 | |
| #ifdef HAVE_CONFIG_H
 | |
| #include "config.h"
 | |
| #endif
 | |
| 
 | |
| #include "ospf6_memory.h"
 | |
| 
 | |
| DEFINE_MGROUP(OSPF6D, "ospf6d")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_TOP, "OSPF6 top")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_AREA, "OSPF6 area")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_IF, "OSPF6 interface")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_NEIGHBOR, "OSPF6 neighbor")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_ROUTE, "OSPF6 route")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_PREFIX, "OSPF6 prefix")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_MESSAGE, "OSPF6 message")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_LSA, "OSPF6 LSA")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_LSA_HEADER, "OSPF6 LSA header")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_LSA_SUMMARY, "OSPF6 LSA summary")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_LSDB, "OSPF6 LSA database")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_VERTEX, "OSPF6 vertex")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_SPFTREE, "OSPF6 SPF tree")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_NEXTHOP, "OSPF6 nexthop")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_EXTERNAL_INFO, "OSPF6 ext. info")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_PATH, "OSPF6 Path")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_DIST_ARGS, "OSPF6 Distribute arguments")
 | |
| DEFINE_MTYPE(OSPF6D, OSPF6_OTHER, "OSPF6 other")
 |