]> git.puffer.fish Git - mirror/frr.git/commit
lib: Extend ZAPI to handle SRv6 encap behavior
authorCarmine Scarpitta <cscarpit@cisco.com>
Fri, 21 Feb 2025 12:26:26 +0000 (13:26 +0100)
committerCarmine Scarpitta <cscarpit@cisco.com>
Wed, 30 Apr 2025 15:51:25 +0000 (15:51 +0000)
commitf2b0f1f610ae7a646565e684b78157370d3b01e2
tree1c865406ea880cff6cf50feb1d68a801d30b877d
parentb265d1981b6ba47211c47b193b7aa8ac2f12b587
lib: Extend ZAPI to handle SRv6 encap behavior

Previous commits introduced the encap_behavior field to the SRv6
nexthop, enabling the association of one of the encapsulation behaviors
defined in RFC 8986 with an SRv6 nexthop.

This commit updates the ZAPI encode/decode functions to support the new
field, allowing zclients to include the encapsulation behavior in the
ZAPI message sent to Zebra for nexthop installation.

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