Home
last modified time | relevance | path

Searched refs:local_as (Results 1 – 11 of 11) sorted by relevance

/openbsd/regress/usr.sbin/bgpd/unittests/
H A Drde_community_test.h2 .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 Dprintconf.c782 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 Drde_attr.c857 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 Drde_filter.c109 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 Drde_update.c133 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 Dmrt.c998 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 Drde_community.c48 *out = peer->conf.local_as; in apply_flag()
H A Dsession.c1540 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 Dbgpd.h466 uint32_t local_as; member
H A Dparse.y1816 curpeer->conf.local_as = $2;
1823 curpeer->conf.local_as = $2;
4635 p->conf.local_as = conf->as; in alloc_peer()
H A Drde.c1462 !aspath_loopfree(state.aspath.aspath, peer->conf.local_as)) in rde_update_dispatch()
3614 peerself->conf.local_as = conf->as; in rde_reload_done()