]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: Include SID structure in seg6local nexthop
authorCarmine Scarpitta <cscarpit@cisco.com>
Sun, 15 Sep 2024 15:23:34 +0000 (17:23 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Wed, 23 Oct 2024 10:13:19 +0000 (12:13 +0200)
Include SID structure information in seg6local nexthop data structure.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
lib/srv6.h

index acfb0631cc0ef2d3722423c71dc7318072ed29c0..3749b01563d87de05e798637822cf754d9442902 100644 (file)
@@ -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 {