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/bgp_lcommunity.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 'bgpd/bgp_lcommunity.h')
-rw-r--r-- | bgpd/bgp_lcommunity.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/bgpd/bgp_lcommunity.h b/bgpd/bgp_lcommunity.h index e401c8d8f..1a3304e71 100644 --- a/bgpd/bgp_lcommunity.h +++ b/bgpd/bgp_lcommunity.h @@ -30,45 +30,45 @@ #define LCOMMUNITY_SIZE 12 /* Large Communities attribute. */ -struct lcommunity -{ - /* Reference counter. */ - unsigned long refcnt; +struct lcommunity { + /* Reference counter. */ + unsigned long refcnt; - /* Size of Extended Communities attribute. */ - int size; + /* Size of Extended Communities attribute. */ + int size; - /* Extended Communities value. */ - u_int8_t *val; + /* Extended Communities value. */ + u_int8_t *val; - /* Human readable format string. */ - char *str; + /* Human readable format string. */ + char *str; }; /* Extended community value is eight octet. */ -struct lcommunity_val -{ - char val[LCOMMUNITY_SIZE]; +struct lcommunity_val { + char val[LCOMMUNITY_SIZE]; }; #define lcom_length(X) ((X)->size * LCOMMUNITY_SIZE) -extern void lcommunity_init (void); -extern void lcommunity_finish (void); -extern void lcommunity_free (struct lcommunity **); -extern struct lcommunity *lcommunity_parse (u_int8_t *, u_short); -extern struct lcommunity *lcommunity_dup (struct lcommunity *); -extern struct lcommunity *lcommunity_merge (struct lcommunity *, struct lcommunity *); -extern struct lcommunity *lcommunity_uniq_sort (struct lcommunity *); -extern struct lcommunity *lcommunity_intern (struct lcommunity *); -extern int lcommunity_cmp (const void *, const void *); -extern void lcommunity_unintern (struct lcommunity **); -extern unsigned int lcommunity_hash_make (void *); -extern struct hash *lcommunity_hash (void); -extern struct lcommunity *lcommunity_str2com (const char *); -extern char *lcommunity_lcom2str (struct lcommunity *, int); -extern int lcommunity_match (const struct lcommunity *, const struct lcommunity *); -extern char *lcommunity_str (struct lcommunity *); -extern int lcommunity_include (struct lcommunity *lcom, u_char *ptr); -extern void lcommunity_del_val (struct lcommunity *lcom, u_char *ptr); +extern void lcommunity_init(void); +extern void lcommunity_finish(void); +extern void lcommunity_free(struct lcommunity **); +extern struct lcommunity *lcommunity_parse(u_int8_t *, u_short); +extern struct lcommunity *lcommunity_dup(struct lcommunity *); +extern struct lcommunity *lcommunity_merge(struct lcommunity *, + struct lcommunity *); +extern struct lcommunity *lcommunity_uniq_sort(struct lcommunity *); +extern struct lcommunity *lcommunity_intern(struct lcommunity *); +extern int lcommunity_cmp(const void *, const void *); +extern void lcommunity_unintern(struct lcommunity **); +extern unsigned int lcommunity_hash_make(void *); +extern struct hash *lcommunity_hash(void); +extern struct lcommunity *lcommunity_str2com(const char *); +extern char *lcommunity_lcom2str(struct lcommunity *, int); +extern int lcommunity_match(const struct lcommunity *, + const struct lcommunity *); +extern char *lcommunity_str(struct lcommunity *); +extern int lcommunity_include(struct lcommunity *lcom, u_char *ptr); +extern void lcommunity_del_val(struct lcommunity *lcom, u_char *ptr); #endif /* _QUAGGA_BGP_LCOMMUNITY_H */ |