diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-02-28 14:11:30 +0100 | 
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-03-22 12:06:29 +0100 | 
| commit | bb3b811305ffc3c0998438b48a003c815c859293 (patch) | |
| tree | b1da79667150d60f2c627cf9f147d67a3aafdf82 /bgpd/bgp_labelpool.h | |
| parent | bbae0bb0422ebce9b7704cdaebff616d67d404fe (diff) | |
bgpd: introduce LP_TYPE_NEXTHOP label type
A new label type is introduced: LP_TYPE_NEXTHOP. This new
label type will be used in next commits to allocate labels
for a specific nexthop IP address.
The commit changes add vty and json outputs to display
the new label type and the label values associated.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_labelpool.h')
| -rw-r--r-- | bgpd/bgp_labelpool.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_labelpool.h b/bgpd/bgp_labelpool.h index 955ab2d697..182aacec73 100644 --- a/bgpd/bgp_labelpool.h +++ b/bgpd/bgp_labelpool.h @@ -17,6 +17,7 @@   */  #define LP_TYPE_VRF	0x00000001  #define LP_TYPE_BGP_LU	0x00000002 +#define LP_TYPE_NEXTHOP 0x00000003  PREDECL_LIST(lp_fifo);  | 
