summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-03-27 15:21:15 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-03-27 15:21:15 -0400
commit42732e05a9a97a18f496eb559a77062a1b4b420e (patch)
tree03c8b87c2b26cb43b7b241f5ab0db6583c4b5a30 /zebra/interface.h
parent056d8355967b372566a98432f07e4cff66ab17b0 (diff)
parent2d6e6d36d7e847b997f29097268dc529bd154d10 (diff)
Merge branch 'master' into stylechecker
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index e13721448c..9f109fc05f 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -60,8 +60,6 @@ struct rtadvconf {
Default: 0.33 * MaxRtrAdvInterval */
int MinRtrAdvInterval; /* This field is currently unused. */
- /* $FRR indent$ */
- /* clang-format off */
#define RTADV_MIN_RTR_ADV_INTERVAL (0.33 * RTADV_MAX_RTR_ADV_INTERVAL)
/* Unsolicited Router Advertisements' interval timer. */
@@ -176,9 +174,8 @@ struct rtadvconf {
#define BGP_RA_CONFIGURED (1<<0) /* BGP configured RA? */
#define VTY_RA_CONFIGURED (1<<1) /* Operator configured RA? */
#define VTY_RA_INTERVAL_CONFIGURED (1<<2) /* Operator configured RA interval */
- int
- NumFastReXmitsRemain; /* Loaded first with number of fast
- rexmits to do */
+ int NumFastReXmitsRemain; /* Loaded first with number of fast
+ rexmits to do */
#define RTADV_FAST_REXMIT_PERIOD 1 /* 1 sec */
#define RTADV_NUM_FAST_REXMITS 4 /* Fast Rexmit RA 4 times on certain events */
@@ -277,10 +274,10 @@ struct zebra_if {
struct thread *speed_update;
};
-DECLARE_HOOK(zebra_if_extra_info, (struct vty *vty, struct interface *ifp),
- (vty, ifp))
-DECLARE_HOOK(zebra_if_config_wr, (struct vty *vty, struct interface *ifp),
- (vty, ifp))
+DECLARE_HOOK(zebra_if_extra_info, (struct vty * vty, struct interface *ifp),
+ (vty, ifp))
+DECLARE_HOOK(zebra_if_config_wr, (struct vty * vty, struct interface *ifp),
+ (vty, ifp))
static inline void zebra_if_set_ziftype(struct interface *ifp,
zebra_iftype_t zif_type,