diff options
author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:03:14 +0200 |
---|---|---|
committer | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:04:07 +0200 |
commit | d62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch) | |
tree | 3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /pimd/pim_rp.h | |
parent | *: add indent control files (diff) | |
download | frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.tar.xz frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.zip |
*: reindentreindent-master-after
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_rp.h')
-rw-r--r-- | pimd/pim_rp.h | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/pimd/pim_rp.h b/pimd/pim_rp.h index 319fe573c..7a7c26593 100644 --- a/pimd/pim_rp.h +++ b/pimd/pim_rp.h @@ -27,39 +27,40 @@ #include "pim_iface.h" #include "pim_rpf.h" -struct rp_info -{ - struct prefix group; - struct pim_rpf rp; - int i_am_rp; - char *plist; +struct rp_info { + struct prefix group; + struct pim_rpf rp; + int i_am_rp; + char *plist; }; -void pim_rp_init (void); -void pim_rp_free (void); +void pim_rp_init(void); +void pim_rp_free(void); -int pim_rp_new (const char *rp, const char *group, const char *plist); -int pim_rp_del (const char *rp, const char *group, const char *plist); -void pim_rp_prefix_list_update (struct prefix_list *plist); +int pim_rp_new(const char *rp, const char *group, const char *plist); +int pim_rp_del(const char *rp, const char *group, const char *plist); +void pim_rp_prefix_list_update(struct prefix_list *plist); -int pim_rp_config_write (struct vty *vty); +int pim_rp_config_write(struct vty *vty); -int pim_rp_setup (void); +int pim_rp_setup(void); -int pim_rp_i_am_rp (struct in_addr group); +int pim_rp_i_am_rp(struct in_addr group); void pim_rp_check_on_if_add(struct pim_interface *pim_ifp); void pim_i_am_rp_re_evaluate(void); -int pim_rp_check_is_my_ip_address (struct in_addr group, struct in_addr dest_addr); +int pim_rp_check_is_my_ip_address(struct in_addr group, + struct in_addr dest_addr); -int pim_rp_set_upstream_addr (struct in_addr *up, struct in_addr source, struct in_addr group); +int pim_rp_set_upstream_addr(struct in_addr *up, struct in_addr source, + struct in_addr group); -struct pim_rpf *pim_rp_g (struct in_addr group); +struct pim_rpf *pim_rp_g(struct in_addr group); #define I_am_RP(G) pim_rp_i_am_rp ((G)) #define RP(G) pim_rp_g ((G)) -void pim_rp_show_information (struct vty *vty, u_char uj); -void pim_resolve_rp_nh (void); -int pim_rp_list_cmp (void *v1, void *v2); +void pim_rp_show_information(struct vty *vty, u_char uj); +void pim_resolve_rp_nh(void); +int pim_rp_list_cmp(void *v1, void *v2); #endif |