summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_interface.h
diff options
context:
space:
mode:
authorwhitespace / reindent <invalid@invalid.invalid>2017-07-17 14:03:14 +0200
committerwhitespace / reindent <invalid@invalid.invalid>2017-07-17 14:04:07 +0200
commitd62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch)
tree3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /eigrpd/eigrp_interface.h
parent*: add indent control files (diff)
downloadfrr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.tar.xz
frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.zip
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'eigrpd/eigrp_interface.h')
-rw-r--r--eigrpd/eigrp_interface.h59
1 files changed, 30 insertions, 29 deletions
diff --git a/eigrpd/eigrp_interface.h b/eigrpd/eigrp_interface.h
index 0c57f0cbd..df5c7d395 100644
--- a/eigrpd/eigrp_interface.h
+++ b/eigrpd/eigrp_interface.h
@@ -33,40 +33,41 @@
#define _ZEBRA_EIGRP_INTERFACE_H_
/*Prototypes*/
-extern void eigrp_if_init (void);
-extern int eigrp_if_new_hook (struct interface *);
-extern int eigrp_if_delete_hook (struct interface *);
+extern void eigrp_if_init(void);
+extern int eigrp_if_new_hook(struct interface *);
+extern int eigrp_if_delete_hook(struct interface *);
-extern void eigrp_del_if_params (struct eigrp_if_params *);
-extern struct eigrp_if_params *eigrp_new_if_params (void);
-extern struct eigrp_interface * eigrp_if_new (struct eigrp *, struct interface *,
- struct prefix *);
-extern struct eigrp_interface * eigrp_if_table_lookup (struct interface *,
- struct prefix *);
-extern struct eigrp_if_params *eigrp_lookup_if_params (struct interface *,
- struct in_addr);
-extern int eigrp_if_up (struct eigrp_interface *);
-extern void eigrp_if_stream_set (struct eigrp_interface *);
-extern void eigrp_if_set_multicast (struct eigrp_interface *);
-extern u_char eigrp_default_iftype (struct interface *);
-extern void eigrp_if_free (struct eigrp_interface *, int);
-extern int eigrp_if_down (struct eigrp_interface *);
-extern void eigrp_if_stream_unset (struct eigrp_interface *);
+extern void eigrp_del_if_params(struct eigrp_if_params *);
+extern struct eigrp_if_params *eigrp_new_if_params(void);
+extern struct eigrp_interface *eigrp_if_new(struct eigrp *, struct interface *,
+ struct prefix *);
+extern struct eigrp_interface *eigrp_if_table_lookup(struct interface *,
+ struct prefix *);
+extern struct eigrp_if_params *eigrp_lookup_if_params(struct interface *,
+ struct in_addr);
+extern int eigrp_if_up(struct eigrp_interface *);
+extern void eigrp_if_stream_set(struct eigrp_interface *);
+extern void eigrp_if_set_multicast(struct eigrp_interface *);
+extern u_char eigrp_default_iftype(struct interface *);
+extern void eigrp_if_free(struct eigrp_interface *, int);
+extern int eigrp_if_down(struct eigrp_interface *);
+extern void eigrp_if_stream_unset(struct eigrp_interface *);
-extern struct eigrp_interface *eigrp_if_lookup_by_local_addr (struct eigrp *,
- struct interface *,
- struct in_addr);
-extern struct eigrp_interface *eigrp_if_lookup_by_name (struct eigrp *, const char *);
-struct eigrp_interface * eigrp_if_lookup_recv_if (struct eigrp *, struct in_addr,
- struct interface *);
+extern struct eigrp_interface *eigrp_if_lookup_by_local_addr(struct eigrp *,
+ struct interface *,
+ struct in_addr);
+extern struct eigrp_interface *eigrp_if_lookup_by_name(struct eigrp *,
+ const char *);
+struct eigrp_interface *eigrp_if_lookup_recv_if(struct eigrp *, struct in_addr,
+ struct interface *);
/* Simulate down/up on the interface. */
-extern void eigrp_if_reset (struct interface *);
+extern void eigrp_if_reset(struct interface *);
-extern u_int32_t eigrp_bandwidth_to_scaled (u_int32_t);
-extern u_int32_t eigrp_scaled_to_bandwidth (u_int32_t);
-extern u_int32_t eigrp_delay_to_scaled (u_int32_t);
-extern u_int32_t eigrp_scaled_to_delay (u_int32_t);
+extern u_int32_t eigrp_bandwidth_to_scaled(u_int32_t);
+extern u_int32_t eigrp_scaled_to_bandwidth(u_int32_t);
+extern u_int32_t eigrp_delay_to_scaled(u_int32_t);
+extern u_int32_t eigrp_scaled_to_delay(u_int32_t);
#endif /* ZEBRA_EIGRP_INTERFACE_H_ */