Searched refs:local_as (Results 1 – 11 of 11) sorted by relevance
/openbsd/regress/usr.sbin/bgpd/unittests/ |
H A D | rde_community_test.h | 2 .conf.local_as = 42, 6 .conf.local_as = 196618, 10 .conf.local_as = 22512, 14 .conf.local_as = 196618,
|
/openbsd/usr.sbin/bgpd/ |
H A D | printconf.c | 782 if (p->local_as != conf->as) { in print_peer() 783 printf("%s\tlocal-as %s", c, log_as(p->local_as)); in print_peer() 784 if (p->local_as > USHRT_MAX && p->local_short_as != AS_TRANS) in print_peer()
|
H A D | rde_attr.c | 857 aspath_override(struct aspath *asp, uint32_t neighbor_as, uint32_t local_as, in aspath_override() argument 884 as = local_as; in aspath_override()
|
H A D | rde_filter.c | 109 prep_as = peer->conf.local_as; in rde_apply_set() 132 from->conf.remote_as, from->conf.local_as, &nl); in rde_apply_set()
|
H A D | rde_update.c | 133 tmp = htonl(peer->conf.local_as); in up_enforce_open_policy() 551 uint32_t prep_as = peer->conf.local_as; in up_prep_adjout()
|
H A D | mrt.c | 998 if (ibuf_add_n32(*bp, peer->conf.local_as) == -1) in mrt_dump_hdr_se() 1003 if (ibuf_add_n32(*bp, peer->conf.local_as) == -1) in mrt_dump_hdr_se()
|
H A D | rde_community.c | 48 *out = peer->conf.local_as; in apply_flag()
|
H A D | session.c | 1540 errs += ibuf_add_n32(opb, p->conf.local_as); in session_open() 2321 peer->conf.ebgp = (peer->conf.remote_as != peer->conf.local_as); in parse_open() 3473 p->conf.ebgp = (p->conf.remote_as != p->conf.local_as); in session_template_clone()
|
H A D | bgpd.h | 466 uint32_t local_as; member
|
H A D | parse.y | 1816 curpeer->conf.local_as = $2; 1823 curpeer->conf.local_as = $2; 4635 p->conf.local_as = conf->as; in alloc_peer()
|
H A D | rde.c | 1462 !aspath_loopfree(state.aspath.aspath, peer->conf.local_as)) in rde_update_dispatch() 3614 peerself->conf.local_as = conf->as; in rde_reload_done()
|