summaryrefslogtreecommitdiffstats
path: root/pimd/pim_assert.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_assert.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_assert.h')
-rw-r--r--pimd/pim_assert.h23
1 files changed, 9 insertions, 14 deletions
diff --git a/pimd/pim_assert.h b/pimd/pim_assert.h
index b2fc11523..63fda3fe3 100644
--- a/pimd/pim_assert.h
+++ b/pimd/pim_assert.h
@@ -40,27 +40,22 @@
#define PIM_ASSERT_METRIC_PREFERENCE_MAX (0xFFFFFFFF)
#define PIM_ASSERT_ROUTE_METRIC_MAX (0xFFFFFFFF)
-void pim_ifassert_winner_set(struct pim_ifchannel *ch,
- enum pim_ifassert_state new_state,
- struct in_addr winner,
- struct pim_assert_metric winner_metric);
+void pim_ifassert_winner_set(struct pim_ifchannel *ch,
+ enum pim_ifassert_state new_state,
+ struct in_addr winner,
+ struct pim_assert_metric winner_metric);
-int pim_assert_recv(struct interface *ifp,
- struct pim_neighbor *neigh,
- struct in_addr src_addr,
- uint8_t *buf, int buf_size);
+int pim_assert_recv(struct interface *ifp, struct pim_neighbor *neigh,
+ struct in_addr src_addr, uint8_t *buf, int buf_size);
int pim_assert_metric_better(const struct pim_assert_metric *m1,
const struct pim_assert_metric *m2);
int pim_assert_metric_match(const struct pim_assert_metric *m1,
const struct pim_assert_metric *m2);
-int pim_assert_build_msg(uint8_t *pim_msg, int buf_size,
- struct interface *ifp,
- struct in_addr group_addr,
- struct in_addr source_addr,
- uint32_t metric_preference,
- uint32_t route_metric,
+int pim_assert_build_msg(uint8_t *pim_msg, int buf_size, struct interface *ifp,
+ struct in_addr group_addr, struct in_addr source_addr,
+ uint32_t metric_preference, uint32_t route_metric,
uint32_t rpt_bit_flag);
int pim_assert_send(struct pim_ifchannel *ch);