/openbsd/regress/usr.sbin/bgpd/config/ |
H A D | bgpd.conf.8.in | 25 network inet rtlabel LABEL 26 network inet rtlabel LABEL set { community 64512:3007 } 27 network inet6 rtlabel LABEL6 28 network inet6 rtlabel LABEL6 set { community 64512:3008 }
|
H A D | bgpd.conf.8.ok | 25 network inet rtlabel "LABEL" 26 network inet rtlabel "LABEL" set { community 64512:3007 } 27 network inet6 rtlabel "LABEL6" 28 network inet6 rtlabel "LABEL6" set { community 64512:3008 }
|
/openbsd/usr.sbin/ospfd/ |
H A D | kroute.c | 276 kn->r.rtlabel = kroute[i].rtlabel; in kr_change_fib() 295 kroute->rtlabel = rtlabel_tag2id(kroute->ext_tag); in kr_change() 822 rtlabel_unref(kr->r.rtlabel); in kroute_remove() 1246 if (kroute->rtlabel != 0) { in send_rtmsg() 1249 label = rtlabel_id2name(kroute->rtlabel); in send_rtmsg() 1520 rtlabel_unref(kr->r.rtlabel); in rtmsg_process() 1521 kr->r.rtlabel = 0; in rtmsg_process() 1525 kr->r.rtlabel = in rtmsg_process() 1528 rtlabel_id2tag(kr->r.rtlabel); in rtmsg_process() 1565 kr->r.rtlabel = in rtmsg_process() [all …]
|
H A D | ospfd.h | 419 u_int16_t rtlabel; member
|
H A D | ospfd.c | 564 if (kr->rtlabel == r->label) { in ospf_redistribute()
|
/openbsd/usr.sbin/ospf6d/ |
H A D | kroute.c | 259 kn->r.rtlabel = kroute[i].rtlabel; in kr_change_fib() 278 kroute->rtlabel = rtlabel_tag2id(kroute->ext_tag); in kr_change() 806 rtlabel_unref(kr->r.rtlabel); in kroute_remove() 1210 if (kroute->rtlabel != 0) { in send_rtmsg() 1213 label = rtlabel_id2name(kroute->rtlabel); in send_rtmsg() 1487 rtlabel_unref(kr->r.rtlabel); in rtmsg_process() 1488 kr->r.rtlabel = 0; in rtmsg_process() 1492 kr->r.rtlabel = in rtmsg_process() 1495 rtlabel_id2tag(kr->r.rtlabel); in rtmsg_process() 1532 kr->r.rtlabel = in rtmsg_process() [all …]
|
H A D | ospf6d.h | 404 u_int16_t rtlabel; member
|
H A D | ospf6d.c | 539 if (kr->rtlabel == r->label) { in ospf_redistribute()
|
/openbsd/regress/usr.sbin/ospf6d/ |
H A D | ospf6d.network_statement.rdomain2.conf | 6 redistribute rtlabel toOSPF
|
/openbsd/regress/usr.sbin/bgpd/integrationtests/ |
H A D | bgpd.network_statement.rdomain2.conf | 14 network inet rtlabel PAIR2RTABLE
|
/openbsd/sbin/route/ |
H A D | show.h | 27 struct sockaddr_rtlabel rtlabel; member
|
H A D | route.c | 2130 so_label.rtlabel.sr_len = sizeof(so_label.rtlabel); in getlabel() 2131 so_label.rtlabel.sr_family = AF_UNSPEC; in getlabel() 2132 if (strlcpy(so_label.rtlabel.sr_label, name, in getlabel() 2133 sizeof(so_label.rtlabel.sr_label)) >= in getlabel() 2134 sizeof(so_label.rtlabel.sr_label)) in getlabel()
|
H A D | show.c | 315 if (strlen(so_label.rtlabel.sr_label)) { in p_rtentry() 320 if (strcmp(label, so_label.rtlabel.sr_label)) in p_rtentry()
|
/openbsd/usr.sbin/ripd/ |
H A D | kroute.c | 475 rtlabel_unref(kr->r.rtlabel); in kroute_remove() 933 kr->r.rtlabel = in fetchtable() 1145 rtlabel_unref(kr->r.rtlabel); in dispatch_rtmsg() 1146 kr->r.rtlabel = 0; in dispatch_rtmsg() 1149 kr->r.rtlabel = in dispatch_rtmsg() 1181 kr->r.rtlabel = in dispatch_rtmsg()
|
H A D | ripd.h | 248 u_int16_t rtlabel; member
|
H A D | ripd.c | 469 if (kr->rtlabel == r->label) in rip_redistribute()
|
/openbsd/usr.sbin/bgpd/ |
H A D | rde_filter.c | 166 set->action.id = rtlabel_name2id(set->action.rtlabel); in rde_apply_set() 675 bs = b->action.rtlabel; in filterset_equal() 682 as = a->action.rtlabel; in filterset_equal()
|
H A D | kroute.c | 1148 if (net->rtlabel == xn->net.rtlabel) in kr_net_match() 1179 n->net.rtlabel != xn->net.rtlabel || in kr_net_find() 1236 net.rtlabel = rtlabel_name2id(kf->label); in kr_redistribute() 1237 rtlabel_unref(net.rtlabel); /* drop reference now, which is ok here */ in kr_redistribute()
|
H A D | bgpd.h | 527 uint16_t rtlabel; member 1256 char rtlabel[ROUTELABEL_LEN]; member
|
H A D | printconf.c | 360 printf("rtlabel %s ", s->action.rtlabel); in print_set() 493 print_af(n->prefix.aid), rtlabel_id2name(n->rtlabel)); in print_network()
|
H A D | parse.y | 1119 n->net.rtlabel = rtlabel_name2id($4); 3323 if (strlcpy($$->action.rtlabel, $2, 3324 sizeof($$->action.rtlabel)) >= 3325 sizeof($$->action.rtlabel)) { 5195 strlcpy(t->action.rtlabel, s->action.rtlabel, in filterset_add() 5196 sizeof(t->action.rtlabel)); in filterset_add()
|
H A D | config.c | 95 rtlabel_unref(n->net.rtlabel); in network_free()
|
/openbsd/sys/net/ |
H A D | pf_ioctl.c | 511 (a->v.rtlabel = rtlabel_name2id(a->v.rtlabelname)) == 0) in pf_rtlabel_add() 520 rtlabel_unref(a->v.rtlabel); in pf_rtlabel_remove() 526 if (a->type == PF_ADDR_RTLABEL && a->v.rtlabel) { in pf_rtlabel_copyout() 527 if (rtlabel_id2name(a->v.rtlabel, a->v.rtlabelname, in pf_rtlabel_copyout()
|
H A D | rtsock.c | 1180 const char *rtlabel = ((const struct sockaddr_rtlabel *) in rtm_output() local 1183 rt->rt_labelid = rtlabel_name2id(rtlabel); in rtm_output()
|
H A D | pfvar.h | 195 u_int32_t rtlabel; member
|