summaryrefslogtreecommitdiff
path: root/lib/srv6.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-25 09:58:27 +0300
committerGitHub <noreply@github.com>2024-10-25 09:58:27 +0300
commit1f1e353b75cfa6af9526ef87b62f865e502348ab (patch)
tree91199f18f5f4a293dc50d9361f9ee9fbd844f019 /lib/srv6.h
parent030fa9b6b2e008709d08f8468f65a216d5fe6758 (diff)
parentaf6160e24d27df90821555afbb6f90f01dc5b4ac (diff)
Merge pull request #17212 from cscarpitta/fix/backport_add-sid-structure-to-seg6local-nh_for_8.5
bgpd, lib: Include SID structure in seg6local nexthop (backport for 8.5)
Diffstat (limited to 'lib/srv6.h')
-rw-r--r--lib/srv6.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/srv6.h b/lib/srv6.h
index acfb0631cc..3749b01563 100644
--- a/lib/srv6.h
+++ b/lib/srv6.h
@@ -72,6 +72,10 @@ struct seg6local_context {
struct in_addr nh4;
struct in6_addr nh6;
uint32_t table;
+ uint8_t block_len;
+ uint8_t node_len;
+ uint8_t function_len;
+ uint8_t argument_len;
};
struct srv6_locator {