diff options
author | Juraj Sloboda <jsloboda@cisco.com> | 2018-10-22 09:57:13 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-11-12 11:28:38 +0000 |
commit | 5bb1ecae8786fdf0fffde9e956a5cee477b5df20 (patch) | |
tree | 8393dd09ff8cd3ba565e686520da5af9daf6f372 /src/vnet/ip/ip6_neighbor.h | |
parent | 89666384a3f3a901c0452d051966faecc8cabe88 (diff) |
IPv6: Make link-local configurable per-interface (VPP-1446)
Remove old nonfunctional code for setting link-local addresses.
Use common API for setting all IPv6 addresses.
Change-Id: I562329df86341f81ef2441510a9eefbbf710f6e0
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip6_neighbor.h')
-rw-r--r-- | src/vnet/ip/ip6_neighbor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/ip/ip6_neighbor.h b/src/vnet/ip/ip6_neighbor.h index 3256ba77da4..e273a10799f 100644 --- a/src/vnet/ip/ip6_neighbor.h +++ b/src/vnet/ip/ip6_neighbor.h @@ -46,6 +46,11 @@ typedef struct extern ip6_address_t ip6_neighbor_get_link_local_address (u32 sw_if_index); +extern clib_error_t *ip6_neighbor_set_link_local_address (vlib_main_t * vm, + u32 sw_if_index, + ip6_address_t * + address); + extern ip6_neighbor_t *ip6_neighbors_pool (void); extern ip6_neighbor_t *ip6_neighbors_entries (u32 sw_if_index); |