diff options
Diffstat (limited to 'lib/nexthop.h')
| -rw-r--r-- | lib/nexthop.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h index d6ea83cf06..7bddee8713 100644 --- a/lib/nexthop.h +++ b/lib/nexthop.h @@ -26,6 +26,7 @@  #include "prefix.h"  #include "mpls.h"  #include "vxlan.h" +#include "srv6.h"  #ifdef __cplusplus  extern "C" { @@ -139,6 +140,10 @@ struct nexthop {  	/* SR-TE color used for matching SR-TE policies */  	uint32_t srte_color; + +	/* SRv6 localsid info for Endpoint-behaviour */ +	enum seg6local_action_t nh_seg6local_action; +	struct seg6local_context *nh_seg6local_ctx;  };  /* Utility to append one nexthop to another. */ @@ -157,6 +162,9 @@ void nexthops_free(struct nexthop *nexthop);  void nexthop_add_labels(struct nexthop *nexthop, enum lsp_types_t ltype,  			uint8_t num_labels, const mpls_label_t *labels);  void nexthop_del_labels(struct nexthop *); +void nexthop_add_seg6local(struct nexthop *nexthop, uint32_t action, +			   const struct seg6local_context *ctx); +void nexthop_del_seg6local(struct nexthop *nexthop);  /*   * Allocate a new nexthop object and initialize it from various args.  | 
