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 /bgpd/rfapi/vnc_import_bgp.h | |
| parent | 888ac268a0077fc9ebd1218cec6ae472af0bfc40 (diff) | |
*: 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 'bgpd/rfapi/vnc_import_bgp.h')
| -rw-r--r-- | bgpd/rfapi/vnc_import_bgp.h | 82 | 
1 files changed, 32 insertions, 50 deletions
diff --git a/bgpd/rfapi/vnc_import_bgp.h b/bgpd/rfapi/vnc_import_bgp.h index 9a7261067a..7c15939904 100644 --- a/bgpd/rfapi/vnc_import_bgp.h +++ b/bgpd/rfapi/vnc_import_bgp.h @@ -1,4 +1,4 @@ -/*  +/*   *   * Copyright 2009-2016, LabN Consulting, L.L.C.   * @@ -27,66 +27,48 @@  #include "bgpd/bgpd.h"  #include "bgpd/bgp_route.h" -#define VALID_INTERIOR_TYPE(type)	\ -    (((type) == ZEBRA_ROUTE_BGP) || ((type) == ZEBRA_ROUTE_BGP_DIRECT)) +#define VALID_INTERIOR_TYPE(type)                                              \ +	(((type) == ZEBRA_ROUTE_BGP) || ((type) == ZEBRA_ROUTE_BGP_DIRECT)) -extern uint32_t -calc_local_pref (struct attr *attr, struct peer *peer); +extern uint32_t calc_local_pref(struct attr *attr, struct peer *peer); -extern int -vnc_prefix_cmp (void *pfx1, void *pfx2); +extern int vnc_prefix_cmp(void *pfx1, void *pfx2); -extern void -vnc_import_bgp_add_route ( -    struct bgp		*bgp, -    struct prefix	*prefix, -    struct bgp_info	*info); +extern void vnc_import_bgp_add_route(struct bgp *bgp, struct prefix *prefix, +				     struct bgp_info *info); -extern void -vnc_import_bgp_del_route ( -    struct bgp		*bgp, -    struct prefix	*prefix, -    struct bgp_info	*info); +extern void vnc_import_bgp_del_route(struct bgp *bgp, struct prefix *prefix, +				     struct bgp_info *info); -extern void -vnc_import_bgp_redist_enable (struct bgp *bgp, afi_t afi); +extern void vnc_import_bgp_redist_enable(struct bgp *bgp, afi_t afi); -extern void -vnc_import_bgp_redist_disable (struct bgp *bgp, afi_t afi); +extern void vnc_import_bgp_redist_disable(struct bgp *bgp, afi_t afi); -extern void -vnc_import_bgp_exterior_redist_enable (struct bgp *bgp, afi_t afi); +extern void vnc_import_bgp_exterior_redist_enable(struct bgp *bgp, afi_t afi); -extern void -vnc_import_bgp_exterior_redist_disable (struct bgp *bgp, afi_t afi); +extern void vnc_import_bgp_exterior_redist_disable(struct bgp *bgp, afi_t afi); -extern void -vnc_import_bgp_exterior_add_route ( -    struct bgp		*bgp,	/* exterior instance, we hope */ -    struct prefix	*prefix,/* unicast prefix */ -    struct bgp_info	*info);	/* unicast info */ - -extern void -vnc_import_bgp_exterior_del_route ( -    struct bgp		*bgp, -    struct prefix	*prefix,/* unicast prefix */ -    struct bgp_info	*info);	/* unicast info */ - -extern void -vnc_import_bgp_add_vnc_host_route_mode_resolve_nve ( -    struct bgp		*bgp, -    struct prefix_rd	*prd,		/* RD */ -    struct bgp_table	*table_rd,	/* per-rd VPN route table */ -    struct prefix	*prefix,	/* VPN prefix */ -    struct bgp_info	*bi);		/* new VPN host route */ +extern void vnc_import_bgp_exterior_add_route( +	struct bgp *bgp,	/* exterior instance, we hope */ +	struct prefix *prefix,  /* unicast prefix */ +	struct bgp_info *info); /* unicast info */  extern void -vnc_import_bgp_del_vnc_host_route_mode_resolve_nve ( -    struct bgp		*bgp, -    struct prefix_rd	*prd,		/* RD */ -    struct bgp_table	*table_rd,	/* per-rd VPN route table */ -    struct prefix	*prefix,	/* VPN prefix */ -    struct bgp_info	*bi);		/* old VPN host route */ +vnc_import_bgp_exterior_del_route(struct bgp *bgp, +				  struct prefix *prefix,  /* unicast prefix */ +				  struct bgp_info *info); /* unicast info */ + +extern void vnc_import_bgp_add_vnc_host_route_mode_resolve_nve( +	struct bgp *bgp, struct prefix_rd *prd, /* RD */ +	struct bgp_table *table_rd,		/* per-rd VPN route table */ +	struct prefix *prefix,			/* VPN prefix */ +	struct bgp_info *bi);			/* new VPN host route */ + +extern void vnc_import_bgp_del_vnc_host_route_mode_resolve_nve( +	struct bgp *bgp, struct prefix_rd *prd, /* RD */ +	struct bgp_table *table_rd,		/* per-rd VPN route table */ +	struct prefix *prefix,			/* VPN prefix */ +	struct bgp_info *bi);			/* old VPN host route */  #endif /* _QUAGGA_RFAPI_VNC_IMPORT_BGP_H_ */  | 
