summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-10 21:54:53 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-15 15:31:10 +0100
commit95af5f130aca6c73465112e18f0dbe7fa4b3c979 (patch)
treea2a93dc16bc359a5c71d40f98a4bbbf8e89feec1 /lib/if.h
parentlib, pimd, zebra: Convert if_lookup_exact_address to VRF only (diff)
downloadfrr-95af5f130aca6c73465112e18f0dbe7fa4b3c979.tar.xz
frr-95af5f130aca6c73465112e18f0dbe7fa4b3c979.zip
lib, ospfd, ripd: Convert if_lookup_address to be vrf aware
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/if.h b/lib/if.h
index 6be1d4b89..72d78c5d5 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -389,7 +389,6 @@ struct nbr_connected
/* Prototypes. */
extern int if_cmp_name_func (char *, char *);
-extern struct connected *if_lookup_address (void *matchaddr, int family);
extern struct interface *if_lookup_prefix (struct prefix *prefix);
extern void if_update_vrf (struct interface *, const char *name, int namelen,
@@ -398,9 +397,9 @@ extern struct interface *if_create (const char *name, int namelen,
vrf_id_t vrf_id);
extern struct interface *if_lookup_by_index (ifindex_t, vrf_id_t vrf_id);
extern struct interface *if_lookup_exact_address (void *matchaddr, int family,
- vrf_id_t vrf_id);
-extern struct connected *if_lookup_address_vrf (void *matchaddr, int family,
- vrf_id_t vrf_id);
+ vrf_id_t vrf_id);
+extern struct connected *if_lookup_address (void *matchaddr, int family,
+ vrf_id_t vrf_id);
extern struct interface *if_lookup_prefix_vrf (struct prefix *prefix,
vrf_id_t vrf_id);