]>
git.proxmox.com Git - mirror_frr.git/blob - lib/segment_routing.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*********************************************************************
3 * Copyright 2022 Hiroki Shirokura, LINE Corporation
4 * Copyright 2022 Masakazu Asama
5 * Copyright 2022 6WIND S.A.
7 * segment_routing.h: Segment-Routing Library
27 * https://www.iana.org/assignments/igp-parameters/igp-parameters.xhtml
29 #define SR_ALGORITHM_SPF 0 /* RFC8665 */
30 #define SR_ALGORITHM_STRICT_SPF 1 /* RFC8665 */
31 #define SR_ALGORITHM_UNSET 127 /* FRRouting defined */
32 #define SR_ALGORITHM_FLEX_MIN 128 /* RFC9350 Flex-Algorithm */
33 #define SR_ALGORITHM_FLEX_MAX 255 /* RFC9350 Flex-Algorithm */
34 #define SR_ALGORITHM_COUNT 256
36 const char *sr_algorithm_string(uint8_t algo
);
42 #endif /* _FRR_SR_H */