/openbsd/usr.sbin/bgpd/ |
H A D | mrt.c | 139 mrt_bgp_msg_subtype(struct mrt *mrt, void *pkg, uint16_t pkglen, in mrt_bgp_msg_subtype() argument 175 mrt_dump_bgp_msg(struct mrt *mrt, void *pkg, uint16_t pkglen, in mrt_dump_bgp_msg() argument 183 if (mrt->type == MRT_ALL_IN || mrt->type == MRT_UPDATE_IN) in mrt_dump_bgp_msg() 815 mrt_dump_v2_hdr(struct mrt *mrt, struct bgpd_config *conf) in mrt_dump_v2_hdr() argument 1111 mrt_write(struct mrt *mrt) in mrt_write() argument 1123 mrt_clean(struct mrt *mrt) in mrt_clean() argument 1139 mrt_open(struct mrt *mrt, time_t now) in mrt_open() argument 1144 if (strftime(MRT2MC(mrt)->file, sizeof(MRT2MC(mrt)->file), in mrt_open() 1163 mrt, sizeof(struct mrt)) == -1) in mrt_open() 1172 struct mrt *m; in mrt_timeout() [all …]
|
H A D | session.c | 875 struct mrt *mrt; in change_state() local 984 if ((mrt->peer_id == 0 && mrt->group_id == 0) || in change_state() 1416 struct mrt *mrt; in session_sendmsg() local 1422 if ((mrt->peer_id == 0 && mrt->group_id == 0) || in session_sendmsg() 1423 mrt->peer_id == p->conf.id || (mrt->group_id != 0 && in session_sendmsg() 1983 struct mrt *mrt; in session_process_msg() local 2014 if ((mrt->peer_id == 0 && mrt->group_id == 0) || in session_process_msg() 2015 mrt->peer_id == p->conf.id || (mrt->group_id != 0 && in session_process_msg() 2928 struct mrt *mrt; in session_dispatch_imsg() local 3164 mrt = calloc(1, sizeof(struct mrt)); in session_dispatch_imsg() [all …]
|
H A D | config.c | 52 if ((conf->mrt = calloc(1, sizeof(struct mrt_head))) == NULL) in new_config() 71 LIST_INIT(conf->mrt); in new_config() 259 struct mrt *m; in free_config() 280 while ((m = LIST_FIRST(conf->mrt)) != NULL) { in free_config() 284 free(conf->mrt); in free_config() 334 mrt_mergeconfig(xconf->mrt, conf->mrt); in merge_config()
|
H A D | session.h | 276 void mrt_dump_bgp_msg(struct mrt *, void *, uint16_t, 278 void mrt_dump_state(struct mrt *, uint16_t, uint16_t, 280 void mrt_done(struct mrt *);
|
H A D | bgpd.h | 299 struct mrt_head *mrt; member 726 LIST_HEAD(mrt_head, mrt); 1396 struct mrt { struct 1399 LIST_ENTRY(mrt) entry; argument 1408 struct mrt conf; argument 1489 void mrt_write(struct mrt *); 1490 void mrt_clean(struct mrt *); 1495 struct mrt *mrt_get(struct mrt_head *, struct mrt *);
|
H A D | rde.c | 144 struct mrt mrt; member 253 close(mctx->mrt.wbuf.fd); in rde_main() 304 mrt_write(&mctx->mrt); in rde_main() 347 msgbuf_clear(&mctx->mrt.wbuf); in rde_main() 348 close(mctx->mrt.wbuf.fd); in rde_main() 813 struct mrt xmrt; in rde_dispatch_imsg_parent() 3194 struct mrt *mrt = arg; in rde_mrt_throttled() local 3206 rde_dump_mrt_new(struct mrt *mrt, pid_t pid, int fd) in rde_dump_mrt_new() argument 3215 memcpy(&ctx->mrt, mrt, sizeof(struct mrt)); in rde_dump_mrt_new() 3216 msgbuf_init(&ctx->mrt.wbuf); in rde_dump_mrt_new() [all …]
|
H A D | Makefile | 5 rde.c rde_rib.c rde_decide.c rde_prefix.c mrt.c kroute.c control.c \
|
H A D | printconf.c | 1183 struct mrt *m; in print_mrt() 1185 if (conf->mrt == NULL) in print_mrt() 1188 LIST_FOREACH(m, conf->mrt, entry) in print_mrt() 1201 if (!LIST_EMPTY(conf->mrt)) in print_mrt()
|
H A D | bgpd.c | 333 timeout = mrt_timeout(conf->mrt); in main() 444 mrt_handler(conf->mrt); in main() 849 mrt_reconfigure(conf->mrt); in send_config()
|
H A D | rde.h | 333 int mrt_dump_v2_hdr(struct mrt *, struct bgpd_config *);
|
H A D | parse.y | 4673 struct mrt *m, *n; in add_mrtconfig() 4675 LIST_FOREACH(m, conf->mrt, entry) { in add_mrtconfig() 4730 LIST_INSERT_HEAD(conf->mrt, n, entry); in add_mrtconfig()
|
/openbsd/sys/net/ |
H A D | rtable.c | 504 struct rtentry *mrt; in rtable_match() local 532 mrt = SRPL_FOLLOW(&sr, mrt, rt_next); in rtable_match() 535 if (mrt != NULL) { in rtable_match() 536 rtref(mrt); in rtable_match() 538 rt = mrt; in rtable_match() 552 struct rtentry *mrt; in rtable_insert() local 577 struct rtentry *mrt; in rtable_insert() local 623 KASSERT(mrt != NULL); in rtable_insert() 851 while (mrt->rt_priority <= prio && SRPL_NEXT_LOCKED(mrt, rt_next)) { in rtable_mpath_insert() 852 prt = mrt; in rtable_mpath_insert() [all …]
|
/openbsd/regress/usr.sbin/bgpd/integrationtests/ |
H A D | mrt.sh | 44 -v -f ${BGPDCONFIGDIR}/bgpd.mrt.conf 54 bgpctl show mrt detail file mrt-$i.mrt | \ 55 grep -v 'Last update:' | tee mrt-$i.out 56 diff -u ${BGPDCONFIGDIR}/mrt-$i.ok mrt-$i.out
|
H A D | Makefile | 4 mrt maxprefix maxprefixout maxcomm maxattr \ 10 CLEANFILES += *.mrt *.out exabgp.*.conf *.log *.fifo \ 33 mrt: target
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | amd64_mem.c | 157 int i, j, msr, mrt; in mrfetch() local 171 if (mrt == MDF_UNKNOWN) in mrfetch() 172 mrt = MDF_UNCACHEABLE; in mrfetch() 174 mrt | MDF_ACTIVE; in mrfetch() 187 if (mrt == MDF_UNKNOWN) in mrfetch() 188 mrt = MDF_UNCACHEABLE; in mrfetch() 190 mrt | MDF_ACTIVE; in mrfetch() 203 if (mrt == MDF_UNKNOWN) in mrfetch() 206 mrt | MDF_ACTIVE; in mrfetch() 220 if (mrt == MDF_UNKNOWN) in mrfetch() [all …]
|
/openbsd/sys/arch/i386/i386/ |
H A D | i686_mem.c | 156 int i, j, msr, mrt; in mrfetch() local 170 if (mrt == MDF_UNKNOWN) in mrfetch() 171 mrt = MDF_UNCACHEABLE; in mrfetch() 173 mrt | MDF_ACTIVE; in mrfetch() 186 if (mrt == MDF_UNKNOWN) in mrfetch() 187 mrt = MDF_UNCACHEABLE; in mrfetch() 189 mrt | MDF_ACTIVE; in mrfetch() 202 if (mrt == MDF_UNKNOWN) in mrfetch() 205 mrt | MDF_ACTIVE; in mrfetch() 219 if (mrt == MDF_UNKNOWN) in mrfetch() [all …]
|
/openbsd/gnu/llvm/llvm/docs/AMDGPU/ |
H A D | gfx7_tgt.rst | 20 mrt{0..7} Copy pixel color to the MRTs 0..7.
|
H A D | gfx9_tgt.rst | 20 mrt{0..7} Copy pixel color to the MRTs 0..7.
|
H A D | gfx8_tgt.rst | 20 mrt{0..7} Copy pixel color to the MRTs 0..7.
|
H A D | gfx10_tgt.rst | 20 mrt{0..7} Copy pixel color to the MRTs 0..7.
|
H A D | gfx1030_tgt.rst | 20 mrt{0..7} Copy pixel color to the MRTs 0..7.
|
H A D | gfx11_tgt.rst | 19 mrt{0..7} Copy pixel color to the MRTs 0..7.
|