]> git.puffer.fish Git - mirror/frr.git/commit
lib,sharpd,zebra: Extend nexthop_add_srv6_seg6 to encode encap behavior
authorCarmine Scarpitta <cscarpit@cisco.com>
Fri, 21 Feb 2025 12:21:36 +0000 (13:21 +0100)
committerCarmine Scarpitta <cscarpit@cisco.com>
Wed, 30 Apr 2025 16:54:43 +0000 (16:54 +0000)
commita5e3a60985b7a6e6d6f4b717adc23854a59176e9
tree63f3eeaf3296e27eca75cf467ec682eb36a863ce
parentb4f10fc0f41bfdf1fd724ddff518895c4a7b3d55
lib,sharpd,zebra: Extend nexthop_add_srv6_seg6 to encode encap behavior

Previous commits introduced the `encap_behavior` field in the SRv6
nexthop data structure and updated the compare, hash, and copy
functions to handle this new field.

This commit extends the `nexthop_add_srv6_seg6` function by adding a
new parameter `encap_behavior` and modify the code in various places
to pass the encap behavior when calling this function.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
lib/nexthop.c
lib/nexthop.h
lib/zclient.c
sharpd/sharp_vty.c
zebra/rt_netlink.c
zebra/zapi_msg.c
zebra/zebra_nhg.c