diff options
| author | Hiroki Shirokura <slank.dev@gmail.com> | 2020-12-17 22:45:58 +0900 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2021-06-02 10:24:47 -0400 |
| commit | 2aa01034f3c437e076cf12f1ea4e4b7b5b6b9075 (patch) | |
| tree | 98533279860fb8dd44b502adb78aae3e5c698a81 /lib/zclient.h | |
| parent | 4c6f9934e4d0cb824e0383e9435bd957ea54bcb0 (diff) | |
lib: add new nexthop's attributes seg6 (step3)
This commit add new nexthop's addional object for SRv6
routing about seg6 route. Before this commit,
we can add MPLS info as additional object on nexthop.
This commit make it add more support about seg6 routes.
seg6 routes are ones of the LWT routing mechanism,
so configuration of seg6local routes is performed by
ZEBRA_ROUTE_SEND, it's same as MPLS configuration.
Real configuration implementation isn't implemented at
this commit. later commit add that. This commit add
only nexthop additional object and some misc functions.
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 6496e79c89..95f3775d5b 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -474,6 +474,9 @@ struct zapi_nexthop { /* SRv6 localsid info for Endpoint-behaviour */ uint32_t seg6local_action; struct seg6local_context seg6local_ctx; + + /* SRv6 Headend-behaviour */ + struct in6_addr seg6_segs; }; /* |
