0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-19 11:55:21 +00:00
bird/sysdep/unix
Ondrej Zajicek 333ddd4f98 MPLS subsystem
The MPLS subsystem manages MPLS labels and handles their allocation to
MPLS-aware routing protocols. These labels are then attached to IP or VPN
routes representing label switched paths -- LSPs.

There was already a preliminary MPLS support consisting of MPLS label
net_addr, MPLS routing tables with static MPLS routes, remote labels in
next hops, and kernel protocol support.

This patch adds the MPLS domain as a basic structure representing local
label space with dynamic label allocator and configurable label ranges.
To represent LSPs, allocated local labels can be attached as route
attributes to IP or VPN routes with local labels as attributes.

There are several steps for handling LSP routes in routing protocols --
deciding to which forwarding equivalence class (FEC) the LSP route
belongs, allocating labels for new FECs, announcing MPLS routes for new
FECs, attaching labels to LSP routes. The FEC map structure implements
basic code for managing FECs in routing protocols, therefore existing
protocols can be made MPLS-aware by adding FEC map and delegating
most work related to local label management to it.
2023-10-04 13:01:21 +02:00
..
alloc.c Alloc: Minor cleanups 2023-01-18 13:40:21 +01:00
config.Y Conf: Adding dummy thread-number setting for easier sharing of configuration between v2 and v3 2023-09-12 14:53:55 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io.c IO: Add current_time_now() function for immediate timestamp 2023-06-02 00:26:41 +02:00
krt.c BSD: Fix krt socket code w.r.t. rte/rta changes 2022-11-30 02:43:39 +01:00
krt.h Merge branch 'master' into backport 2022-07-27 00:47:24 +02:00
krt.Y MPLS subsystem 2023-10-04 13:01:21 +02:00
log.c Log message before aborting 2023-01-12 17:40:53 +01:00
main.c MPLS subsystem 2023-10-04 13:01:21 +02:00
Makefile Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h BGP: Add support for BGP hostname capability 2021-02-10 16:53:57 +01:00