]> 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 14:12:43 +0000 (16:12 +0200)
Include SID structure information in seg6local nexthop data structure.

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

index 7352bace595e88e319de66eb8681c4167114f723..1bd1d6711453ee7f9295b0ee9f76a6ab2f8090a8 100644 (file)
@@ -59,6 +59,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 {