summaryrefslogtreecommitdiffstats
path: root/pimd/pim_jp_agg.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_jp_agg.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_jp_agg.h')
-rw-r--r--pimd/pim_jp_agg.h40
1 files changed, 18 insertions, 22 deletions
diff --git a/pimd/pim_jp_agg.h b/pimd/pim_jp_agg.h
index c3955f32f..aa21aa981 100644
--- a/pimd/pim_jp_agg.h
+++ b/pimd/pim_jp_agg.h
@@ -20,35 +20,31 @@
#ifndef __PIM_JP_AGG_H__
#define __PIM_JP_AGG_H__
-struct pim_jp_sources
-{
- struct pim_upstream *up;
- int is_join;
+struct pim_jp_sources {
+ struct pim_upstream *up;
+ int is_join;
};
-struct pim_jp_agg_group
-{
- struct in_addr group;
- struct list *sources;
+struct pim_jp_agg_group {
+ struct in_addr group;
+ struct list *sources;
};
-void pim_jp_agg_upstream_verification (struct pim_upstream *up, bool ignore);
-int pim_jp_agg_is_in_list (struct list *group, struct pim_upstream *up);
+void pim_jp_agg_upstream_verification(struct pim_upstream *up, bool ignore);
+int pim_jp_agg_is_in_list(struct list *group, struct pim_upstream *up);
-void pim_jp_agg_group_list_free (struct pim_jp_agg_group *jag);
-int pim_jp_agg_group_list_cmp (void *arg1, void *arg2);
+void pim_jp_agg_group_list_free(struct pim_jp_agg_group *jag);
+int pim_jp_agg_group_list_cmp(void *arg1, void *arg2);
-void pim_jp_agg_clear_group (struct list *group);
-void pim_jp_agg_remove_group (struct list *group, struct pim_upstream *up);
+void pim_jp_agg_clear_group(struct list *group);
+void pim_jp_agg_remove_group(struct list *group, struct pim_upstream *up);
-void pim_jp_agg_add_group (struct list *group,
- struct pim_upstream *up, bool is_join);
+void pim_jp_agg_add_group(struct list *group, struct pim_upstream *up,
+ bool is_join);
-void pim_jp_agg_switch_interface (struct pim_rpf *orpf,
- struct pim_rpf *nrpf,
- struct pim_upstream *up);
+void pim_jp_agg_switch_interface(struct pim_rpf *orpf, struct pim_rpf *nrpf,
+ struct pim_upstream *up);
-void pim_jp_agg_single_upstream_send (struct pim_rpf *rpf,
- struct pim_upstream *up,
- bool is_join);
+void pim_jp_agg_single_upstream_send(struct pim_rpf *rpf,
+ struct pim_upstream *up, bool is_join);
#endif