]> git.puffer.fish Git - mirror/frr.git/commit
lib: Add encap behavior to SRv6 nexthop
authorCarmine Scarpitta <cscarpit@cisco.com>
Fri, 21 Feb 2025 12:38:15 +0000 (13:38 +0100)
committerCarmine Scarpitta <cscarpit@cisco.com>
Wed, 30 Apr 2025 15:51:25 +0000 (15:51 +0000)
commitb265d1981b6ba47211c47b193b7aa8ac2f12b587
treed1811f53368d33cb9a3899e710945ba228ec250d
parent8f7af2e42cb32fed5eadc0153d32a297b1894a18
lib: Add encap behavior to SRv6 nexthop

This commit introduces the `encap_behavior` field to the SRv6 nexthop
data structure and update the compare, hash, and copy functions to
handle this new field. The `encap_behavior` field allows daemons to
specify one of the encapsulation behaviors defined in RFC 8986 when
installing an SRv6 nexthop in the RIB.

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