version 1.1.1.2, 2012/10/09 09:22:28
|
version 1.1.1.4, 2016/11/02 10:09:10
|
Line 58 struct aspath
|
Line 58 struct aspath
|
/* String expression of AS path. This string is used by vty output |
/* String expression of AS path. This string is used by vty output |
and AS path regular expression match. */ |
and AS path regular expression match. */ |
char *str; |
char *str; |
|
unsigned short str_len; |
}; |
}; |
|
|
#define ASPATH_STR_DEFAULT_LEN 32 |
#define ASPATH_STR_DEFAULT_LEN 32 |
Line 70 extern struct aspath *aspath_dup (struct aspath *);
|
Line 71 extern struct aspath *aspath_dup (struct aspath *);
|
extern struct aspath *aspath_aggregate (struct aspath *, struct aspath *); |
extern struct aspath *aspath_aggregate (struct aspath *, struct aspath *); |
extern struct aspath *aspath_prepend (struct aspath *, struct aspath *); |
extern struct aspath *aspath_prepend (struct aspath *, struct aspath *); |
extern struct aspath *aspath_filter_exclude (struct aspath *, struct aspath *); |
extern struct aspath *aspath_filter_exclude (struct aspath *, struct aspath *); |
|
extern struct aspath *aspath_add_seq_n (struct aspath *, as_t, unsigned); |
extern struct aspath *aspath_add_seq (struct aspath *, as_t); |
extern struct aspath *aspath_add_seq (struct aspath *, as_t); |
extern struct aspath *aspath_add_confed_seq (struct aspath *, as_t); |
extern struct aspath *aspath_add_confed_seq (struct aspath *, as_t); |
extern int aspath_cmp (const void *, const void *); |
extern int aspath_cmp (const void *, const void *); |
Line 96 extern unsigned int aspath_count_hops (struct aspath *
|
Line 98 extern unsigned int aspath_count_hops (struct aspath *
|
extern unsigned int aspath_count_confeds (struct aspath *); |
extern unsigned int aspath_count_confeds (struct aspath *); |
extern unsigned int aspath_size (struct aspath *); |
extern unsigned int aspath_size (struct aspath *); |
extern as_t aspath_highest (struct aspath *); |
extern as_t aspath_highest (struct aspath *); |
|
extern as_t aspath_leftmost (struct aspath *); |
extern size_t aspath_put (struct stream *, struct aspath *, int); |
extern size_t aspath_put (struct stream *, struct aspath *, int); |
|
|
extern struct aspath *aspath_reconcile_as4 (struct aspath *, struct aspath *); |
extern struct aspath *aspath_reconcile_as4 (struct aspath *, struct aspath *); |