diff options
author | Ahmed Abdelsalam <ahabdels@cisco.com> | 2020-11-09 14:04:07 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-11-10 14:50:47 +0000 |
commit | 448bc81d3696dad2a35bb42ec37e097f431b5566 (patch) | |
tree | 87a8222dfb2a5b82bba47ee0e2a650715d77f944 /src/vnet/srv6/sr.h | |
parent | 5f7f47ec7ad642c3938376420ef9530176052cd8 (diff) |
sr: Show IPv6 address used as SRv6 Encaps source
Implements CLI to show the IPv6 address used as source address for the SRv6 encapsulation.
Type: feature
Signed-off-by: Ahmed Abdelsalam <ahabdels@cisco.com>
Change-Id: Ia442d9345a7793836148d890745fc5dc92729b6f
Diffstat (limited to 'src/vnet/srv6/sr.h')
-rw-r--r-- | src/vnet/srv6/sr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/srv6/sr.h b/src/vnet/srv6/sr.h index 41adef30818..7452b95b34d 100644 --- a/src/vnet/srv6/sr.h +++ b/src/vnet/srv6/sr.h @@ -360,6 +360,7 @@ sr_steering_policy (int is_del, ip6_address_t * bsid, u32 sr_policy_index, u32 sw_if_index, u8 traffic_type); extern void sr_set_source (ip6_address_t * address); +extern ip6_address_t *sr_get_encaps_source (); extern void sr_set_hop_limit (u8 hop_limit); extern u8 sr_get_hop_limit (void); |