summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-10 15:48:43 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-15 10:29:09 -0400
commit4e5266b8a3fb5f1928a610bf86739b415d078bee (patch)
tree88515e1cfb8e55af85d2dc38f9ccda269d8c6a8c /lib/if.h
parent7e2b760345f2dc43d9fc5381617ac4acc1cfd1d1 (diff)
lib, ospfd, pimd: Convert to using VRF based interface creation
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/if.h b/lib/if.h
index 6afce9dda6..10740957b5 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -389,15 +389,14 @@ struct nbr_connected
/* Prototypes. */
extern int if_cmp_name_func (char *, char *);
-extern struct interface *if_create (const char *name, int namelen);
extern struct interface *if_lookup_exact_address (void *matchaddr, int family);
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,
vrf_id_t vrf_id);
-extern struct interface *if_create_vrf (const char *name, int namelen,
- vrf_id_t vrf_id);
+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_vrf (void *matchaddr, int family,
vrf_id_t vrf_id);