summaryrefslogtreecommitdiffstats
path: root/pimd/pim_static.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 /pimd/pim_static.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 'pimd/pim_static.h')
-rw-r--r--pimd/pim_static.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/pimd/pim_static.h b/pimd/pim_static.h
index 4b5ef7921..1114f4b67 100644
--- a/pimd/pim_static.h
+++ b/pimd/pim_static.h
@@ -25,19 +25,21 @@
#include "if.h"
struct static_route {
- /* Each static route is unique by these pair of addresses */
- struct in_addr group;
- struct in_addr source;
+ /* Each static route is unique by these pair of addresses */
+ struct in_addr group;
+ struct in_addr source;
- struct channel_oil c_oil;
- ifindex_t iif;
- unsigned char oif_ttls[MAXVIFS];
+ struct channel_oil c_oil;
+ ifindex_t iif;
+ unsigned char oif_ttls[MAXVIFS];
};
void pim_static_route_free(struct static_route *s_route);
-int pim_static_add(struct interface *iif, struct interface *oif, struct in_addr group, struct in_addr source);
-int pim_static_del(struct interface *iif, struct interface *oif, struct in_addr group, struct in_addr source);
-int pim_static_write_mroute (struct vty *vty, struct interface *ifp);
+int pim_static_add(struct interface *iif, struct interface *oif,
+ struct in_addr group, struct in_addr source);
+int pim_static_del(struct interface *iif, struct interface *oif,
+ struct in_addr group, struct in_addr source);
+int pim_static_write_mroute(struct vty *vty, struct interface *ifp);
#endif /* PIM_STATIC_H_ */