The uA behavior is associated with an interface and the IP address of
the nexthop. However, the current SID context data structure only
includes the IP address. It lacks the interface.
This commit extends the SID context data structure by adding the
ifindex. This extension allows daemons to allocate uA SIDs with
the required interface and IP address.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
struct in_addr nh4;
struct in6_addr nh6;
vrf_id_t vrf_id;
+ ifindex_t ifindex;
};
static inline const char *seg6_mode2str(enum seg6_mode_t mode)