rde_aspath
struct rde_aspath med_asp[] = {
struct rde_aspath asp[] = {
sizeof(struct rde_aspath)));
stats->path_cnt * sizeof(struct rde_aspath) +
stats->path_cnt * sizeof(struct rde_aspath),
stats->path_cnt * sizeof(struct rde_aspath) +
stats->path_cnt * sizeof(struct rde_aspath),
stats->path_cnt * sizeof(struct rde_aspath) +
mrt_attr_dump(struct ibuf *buf, struct rde_aspath *a, struct rde_community *c,
static int mrt_attr_dump(struct ibuf *, struct rde_aspath *,
struct rde_aspath *a = &state->aspath;
rde_attr_missing(struct rde_aspath *a, int ebgp, uint16_t nlrilen)
rde_as4byte_fixup(struct rde_peer *peer, struct rde_aspath *a)
rde_aspa_validity(struct rde_peer *peer, struct rde_aspath *asp, uint8_t aid)
rde_reflector(struct rde_peer *peer, struct rde_aspath *asp)
rde_dump_rib_as(struct prefix *p, struct rde_aspath *asp, pid_t pid, int flags)
struct rde_aspath *asp;
struct rde_aspath *asp;
struct rde_aspath *asp = attrs->aspath;
struct rde_aspath *asp;
struct rde_aspath *asp;
struct rde_aspath *asp;
struct rde_aspath *asp;
struct rde_aspath *asp;
uint8_t rde_attr_missing(struct rde_aspath *, int, uint16_t);
void rde_as4byte_fixup(struct rde_peer *, struct rde_aspath *);
uint8_t rde_aspa_validity(struct rde_peer *, struct rde_aspath *,
void rde_reflector(struct rde_peer *, struct rde_aspath *);
struct rde_aspath *asp;
#define PATH_HASHOFF offsetof(struct rde_aspath, med)
#define PATH_HASHSIZE (sizeof(struct rde_aspath) - PATH_HASHOFF)
struct rde_aspath *aspath;
struct rde_aspath *aspath;
struct rde_aspath aspath;
int attr_optadd(struct rde_aspath *, uint8_t, uint8_t,
struct attr *attr_optget(const struct rde_aspath *, uint8_t);
void attr_copy(struct rde_aspath *, const struct rde_aspath *);
int attr_equal(const struct rde_aspath *,
const struct rde_aspath *);
void attr_freeall(struct rde_aspath *);
void attr_free(struct rde_aspath *, struct attr *);
void aspath_merge(struct rde_aspath *, struct attr *);
struct rde_aspath *path_ref(struct rde_aspath *);
void path_unref(struct rde_aspath *);
int path_equal(const struct rde_aspath *,
const struct rde_aspath *);
struct rde_aspath *path_getcache(struct rde_aspath *);
struct rde_aspath *path_copy(struct rde_aspath *, const struct rde_aspath *);
struct rde_aspath *path_prep(struct rde_aspath *);
struct rde_aspath *path_get(void);
void path_clean(struct rde_aspath *);
void path_put(struct rde_aspath *);
static inline struct rde_aspath *
adjout_attr_alloc(struct rde_aspath *asp, struct rde_community *comm,
struct rde_aspath *asp;
attr_optget(const struct rde_aspath *asp, uint8_t type)
attr_copy(struct rde_aspath *t, const struct rde_aspath *s)
attr_equal(const struct rde_aspath *a, const struct rde_aspath *b)
attr_free(struct rde_aspath *asp, struct attr *attr)
attr_freeall(struct rde_aspath *asp)
aspath_merge(struct rde_aspath *a, struct attr *attr)
attr_optadd(struct rde_aspath *asp, uint8_t flags, uint8_t type,
struct rde_aspath *asp1, *asp2;
struct rde_aspath *asp = prefix_aspath(p);
struct rde_aspath *asp = &state->aspath;
rde_filterstate_set(struct filterstate *state, struct rde_aspath *asp,
struct rde_aspath *asp;
struct rde_aspath *asp, *nasp;
struct rde_aspath *asp, struct rde_community *comm,
struct rde_aspath *asp = prefix_aspath(p);
static void path_link(struct rde_aspath *);
static void path_unlink(struct rde_aspath *);
path_hash(const struct rde_aspath *p)
path_calc_hash(const struct rde_aspath *p)
path_equal(const struct rde_aspath *a, const struct rde_aspath *b)
CH_HEAD(path_tree, rde_aspath);
CH_PROTOTYPE(path_tree, rde_aspath, path_hash);
struct rde_aspath *
path_ref(struct rde_aspath *asp)
path_unref(struct rde_aspath *asp)
struct rde_aspath *
path_getcache(struct rde_aspath *aspath)
struct rde_aspath *asp;
path_link(struct rde_aspath *asp)
path_unlink(struct rde_aspath *asp)
struct rde_aspath *
path_copy(struct rde_aspath *dst, const struct rde_aspath *src)
struct rde_aspath *
path_prep(struct rde_aspath *asp)
struct rde_aspath *
struct rde_aspath *asp;
path_clean(struct rde_aspath *asp)
path_put(struct rde_aspath *asp)
CH_GENERATE(path_tree, rde_aspath, path_equal, path_hash);
struct rde_peer *, uint32_t, uint32_t, struct rde_aspath *,
struct rde_aspath *, struct rde_community *,
struct rde_aspath *, struct rde_community *,
struct rde_aspath *asp, *nasp = &state->aspath;
struct rde_aspath *asp, struct rde_community *comm,
struct rde_aspath *asp, struct rde_community *comm,
struct rde_aspath *asp;
struct rde_aspath *asp;
struct rde_aspath *asp, struct rde_community *comm, struct nexthop *nh,
struct rde_aspath *asp;