summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index 413a67469a..315a3170d8 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -329,6 +329,9 @@ struct zebra_if {
/* Multicast configuration. */
uint8_t multicast;
+ /* MPLS status. */
+ bool mpls;
+
/* Router advertise configuration. */
uint8_t rtadv_enable;
@@ -409,6 +412,7 @@ struct zebra_if {
ifindex_t link_ifindex;
struct interface *link;
+ uint8_t speed_update_count;
struct thread *speed_update;
/*
@@ -482,7 +486,7 @@ extern void if_nbr_ipv6ll_to_ipv4ll_neigh_update(struct interface *ifp,
extern void if_nbr_ipv6ll_to_ipv4ll_neigh_del_all(struct interface *ifp);
extern void if_delete_update(struct interface *ifp);
extern void if_add_update(struct interface *ifp);
-extern void if_up(struct interface *);
+extern void if_up(struct interface *ifp, bool install_connected);
extern void if_down(struct interface *);
extern void if_refresh(struct interface *);
extern void if_flags_update(struct interface *, uint64_t);
@@ -520,6 +524,7 @@ extern void zebra_l2_unmap_slave_from_bond(struct zebra_if *zif);
extern const char *zebra_protodown_rc_str(enum protodown_reasons protodown_rc,
char *pd_buf, uint32_t pd_buf_len);
void zebra_if_addr_update_ctx(struct zebra_dplane_ctx *ctx);
+int zebra_if_netconf_update_ctx(struct zebra_dplane_ctx *ctx);
#ifdef HAVE_PROC_NET_DEV
extern void ifstat_update_proc(void);