Searched refs:remote_as (Results 1 – 12 of 12) sorted by relevance
/openbsd/usr.sbin/bgpd/ |
H A D | rde_filter.c | 120 prep_as = from->conf.remote_as; in rde_apply_set() 132 from->conf.remote_as, from->conf.local_as, &nl); in rde_apply_set() 237 peer->conf.remote_as) == 0) in rde_filter_match() 337 if (f->peer.remote_as != 0 && in rde_filter_skip_rule() 338 f->peer.remote_as != peer->conf.remote_as) in rde_filter_skip_rule() 807 if (cur->peer.remote_as != prev->peer.remote_as) in rde_filter_calc_skip_steps() 857 (f->peer.remote_as && in rde_filter() 858 f->peer.remote_as != peer->conf.remote_as), in rde_filter()
|
H A D | printconf.c | 782 if (p->remote_as) in print_peer() 783 printf("%s\tremote-as %s\n", c, log_as(p->remote_as)); in print_peer() 1072 } else if (r->peer.remote_as) { in print_rule() 1073 printf("AS %s ", log_as(r->peer.remote_as)); in print_rule()
|
H A D | session.c | 2384 if (peer->template && !peer->conf.remote_as && as != AS_TRANS) { in parse_open() 2385 peer->conf.remote_as = as; in parse_open() 2386 peer->conf.ebgp = (peer->conf.remote_as != peer->conf.local_as); in parse_open() 2392 if (peer->conf.remote_as != as) { in parse_open() 3593 p->conf.remote_as = as; in session_template_clone() 3594 p->conf.ebgp = (p->conf.remote_as != p->conf.local_as); in session_template_clone() 3847 xp->conf.remote_as); in merge_peers()
|
H A D | rde.c | 1458 if (peer->conf.remote_as != fas) { in rde_update_dispatch() 1462 log_as(fas), peer->conf.remote_as); in rde_update_dispatch() 1639 tmp = htonl(peer->conf.remote_as); in rde_update_dispatch() 1706 tmp = htonl(peer->conf.remote_as); in rde_update_dispatch() 2322 if (tmp32 != peer->conf.remote_as) in rde_attr_parse() 2584 l, log_as(peer->conf.remote_as), message, in rde_update_log() 2683 if (peer->conf.remote_as != fas) in rde_aspa_validity() 3671 peerself->conf.remote_as = conf->as; in rde_reload_done()
|
H A D | bgpd.h | 478 uint32_t remote_as; member 1059 uint32_t remote_as; member
|
H A D | mrt.c | 890 if (ibuf_add_n32(buf, peer->conf.remote_as) == -1) in mrt_dump_peer() 989 if (ibuf_add_n32(*bp, peer->conf.remote_as) == -1) in mrt_dump_hdr_se()
|
H A D | parse.y | 1821 curpeer->conf.remote_as = $2; 2502 $$->p.remote_as = $$->p.groupid = $$->p.peerid = 0; 2521 $$->p.remote_as = $2; 2529 $$->p.remote_as = $$->p.peerid = 0; 5112 p->conf.ebgp = (p->conf.remote_as != conf->as); in neighbor_consistent() 5119 if (p->conf.remote_as == 0 && !p->conf.template) { in neighbor_consistent()
|
H A D | rde_community.c | 43 *out = peer->conf.remote_as; in apply_flag()
|
/openbsd/regress/usr.sbin/bgpd/unittests/ |
H A D | rde_community_test.h | 3 .conf.remote_as = 22512, 7 .conf.remote_as = 22512, 11 .conf.remote_as = 196618, 15 .conf.remote_as = 424242,
|
/openbsd/usr.sbin/bgpctl/ |
H A D | output.c | 105 a = log_as(p->conf.remote_as); in show_summary() 271 if (p->conf.remote_as == 0 && p->conf.template) in show_neighbor_full() 274 printf("remote AS %s", log_as(p->conf.remote_as)); in show_neighbor_full() 434 printf("%s %s %s\n", s, log_as(p->conf.remote_as), in show_neighbor() 457 log_as(p->conf.remote_as), p->conf.descr); in show_neighbor()
|
H A D | output_ometric.c | 185 values[1] = log_as(p->conf.remote_as); in ometric_neighbor_stats()
|
H A D | output_json.c | 318 json_do_string("remote_as", log_as(p->conf.remote_as)); in json_neighbor()
|