diff options
| author | Hiroki Shirokura <slank.dev@gmail.com> | 2021-04-05 13:29:12 +0000 | 
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2021-06-02 10:24:48 -0400 | 
| commit | eab0f8f0a202201fcc9757c6097f5c913456ff4d (patch) | |
| tree | 50a2e5ad4771d4caac42614a67315f826b41e889 /lib/srv6.h | |
| parent | 4ccd40339c232aa87f180c9893b5b929ea8713d8 (diff) | |
lib,sharpd,zebra: update nexthop object with nh_srv6
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'lib/srv6.h')
| -rw-r--r-- | lib/srv6.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/srv6.h b/lib/srv6.h index 9ac89125ce..715fc3723b 100644 --- a/lib/srv6.h +++ b/lib/srv6.h @@ -117,6 +117,15 @@ struct srv6_locator_chunk {  	uint32_t session_id;  }; +struct nexthop_srv6 { +	/* SRv6 localsid info for Endpoint-behaviour */ +	enum seg6local_action_t seg6local_action; +	struct seg6local_context seg6local_ctx; + +	/* SRv6 Headend-behaviour */ +	struct in6_addr seg6_segs; +}; +  static inline const char *seg6_mode2str(enum seg6_mode_t mode)  {  	switch (mode) {  | 
