mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 15:41:54 +00:00
Support of MPLS stack in static protocol and route tables
This commit is contained in:
parent
312a70e2ef
commit
9efb0380a1
20
lib/mpls.h
Normal file
20
lib/mpls.h
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* BIRD Internet Routing Daemon -- MPLS manipulation
|
||||
*
|
||||
* (c) 2016 Jan Matejka <mq@ucw.cz>
|
||||
* (c) 2016 CZ.NIC z.s.p.o.
|
||||
*
|
||||
* Can be freely distributed and used under the terms of the GNU GPL.
|
||||
*/
|
||||
|
||||
#ifndef _BIRD_MPLS_H_
|
||||
#define _BIRD_MPLS_H_
|
||||
|
||||
#define MPLS_STACK_LENGTH 8 /* Adjust this if you need deeper MPLS stack */
|
||||
|
||||
typedef struct mpls_stack {
|
||||
u8 len;
|
||||
u32 label[MPLS_STACK_LENGTH];
|
||||
} mpls_stack;
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user