diff options
author | Dave Barach <dave@barachs.net> | 2016-06-26 10:29:03 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2016-06-26 10:37:14 -0400 |
commit | 203c632d29fc5f5d820251e4e58ea724e1002a91 (patch) | |
tree | 3b464fc1b11c8b39ccc87767a51c688ade26de20 /vnet/vnet/ip/ip4.h | |
parent | 63617fc8e456f5803cec9b967a4a880f57755d0b (diff) |
Misc. janitorial work:
Remove private / name-colliding "give me the first ip address on an
interface" routine from proxy_node.c
Return a proper error from ip4_lookup_init / ip6_lookup_init.
Change-Id: Idd3c574424ba2ea77c263af16b02cd4ad0cb4605
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vnet/vnet/ip/ip4.h')
-rw-r--r-- | vnet/vnet/ip/ip4.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vnet/vnet/ip/ip4.h b/vnet/vnet/ip/ip4.h index b24f18d03e7..7ed5bf5e9a9 100644 --- a/vnet/vnet/ip/ip4.h +++ b/vnet/vnet/ip/ip4.h @@ -386,6 +386,10 @@ void ip4_adjacency_set_interface_route (vnet_main_t * vnm, u32 sw_if_index, u32 if_address_index); +ip4_address_t * +ip4_interface_first_address (ip4_main_t * im, u32 sw_if_index, + ip_interface_address_t ** result_ia); + /* Send an ARP request to see if given destination is reachable on given interface. */ clib_error_t * ip4_probe_neighbor (vlib_main_t * vm, ip4_address_t * dst, u32 sw_if_index); |