mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	Nest: EVPN net type - preliminary support
This commit is contained in:
		@@ -279,6 +279,7 @@ fib_find(struct fib *f, const net_addr *a)
 | 
			
		||||
  case NET_FLOW6: return FIB_FIND(f, a, flow6);
 | 
			
		||||
  case NET_IP6_SADR: return FIB_FIND(f, a, ip6_sadr);
 | 
			
		||||
  case NET_MPLS: return FIB_FIND(f, a, mpls);
 | 
			
		||||
  case NET_EVPN: return FIB_FIND(f, a, evpn);
 | 
			
		||||
  default: bug("invalid type");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -300,6 +301,7 @@ fib_insert(struct fib *f, const net_addr *a, struct fib_node *e)
 | 
			
		||||
  case NET_FLOW6: FIB_INSERT(f, a, e, flow6); return;
 | 
			
		||||
  case NET_IP6_SADR: FIB_INSERT(f, a, e, ip6_sadr); return;
 | 
			
		||||
  case NET_MPLS: FIB_INSERT(f, a, e, mpls); return;
 | 
			
		||||
  case NET_EVPN: FIB_INSERT(f, a, e, evpn); return;
 | 
			
		||||
  default: bug("invalid type");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user