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.c784 if (p->local_as != conf->as) { in print_peer()
785 printf("%s\tlocal-as %s", c, log_as(p->local_as)); in print_peer()
786 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.c140 tmp = htonl(peer->conf.local_as); in up_enforce_open_policy()
561 uint32_t prep_as = peer->conf.local_as; in up_prep_adjout()
H A Dmrt.c987 if (ibuf_add_n32(*bp, peer->conf.local_as) == -1) in mrt_dump_hdr_se()
992 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 Dbgpd.h479 uint32_t local_as; member
H A Dsession.c1587 errs += ibuf_add_n32(opb, p->conf.local_as); in session_open()
2386 peer->conf.ebgp = (peer->conf.remote_as != peer->conf.local_as); in parse_open()
3594 p->conf.ebgp = (p->conf.remote_as != p->conf.local_as); in session_template_clone()
H A Dparse.y1824 curpeer->conf.local_as = $2;
1831 curpeer->conf.local_as = $2;
4667 p->conf.local_as = conf->as; in alloc_peer()
H A Drde.c1473 !aspath_loopfree(state.aspath.aspath, peer->conf.local_as)) in rde_update_dispatch()
3670 peerself->conf.local_as = conf->as; in rde_reload_done()