Searched refs:pwid (Results 1 – 12 of 12) sorted by relevance
| /openbsd-src/usr.sbin/ldpd/ |
| H A D | l2vpn.c | 149 fec.fec.pwid.type = l2vpn->pw_type; in l2vpn_if_update() 150 fec.fec.pwid.group_id = 0; in l2vpn_if_update() 152 fec.fec.pwid.pwid = pw->pwid; in l2vpn_if_update() 211 fec->u.pwid.type = pw->l2vpn->pw_type; in l2vpn_pw_fec() 212 fec->u.pwid.pwid = pw->pwid; in l2vpn_pw_fec() 213 fec->u.pwid.lsr_id = pw->lsr_id; in l2vpn_pw_fec() 361 nm.fec.fec.pwid.type = pw_type; in l2vpn_send_pw_status_wcard() 362 nm.fec.fec.pwid.group_id = group_id; in l2vpn_send_pw_status_wcard() 430 wcard->fec.twcard.u.pw_type != fn->fec.u.pwid.type) in l2vpn_recv_pw_status_wcard() 434 if (wcard->fec.pwid.type != fn->fec.u.pwid.type) in l2vpn_recv_pw_status_wcard() [all …]
|
| H A D | lde_lib.c | 87 if (a->u.pwid.type < b->u.pwid.type) in fec_compare() 89 if (a->u.pwid.type > b->u.pwid.type) in fec_compare() 91 if (a->u.pwid.pwid < b->u.pwid.pwid) in fec_compare() 93 if (a->u.pwid.pwid > b->u.pwid.pwid) in fec_compare() 95 if (ntohl(a->u.pwid.lsr_id.s_addr) < in fec_compare() 96 ntohl(b->u.pwid.lsr_id.s_addr)) in fec_compare() 98 if (ntohl(a->u.pwid.lsr_id.s_addr) > in fec_compare() 99 ntohl(b->u.pwid.lsr_id.s_addr)) in fec_compare() 384 ln = lde_nbr_find_by_lsrid(fn->fec.u.pwid.lsr_id); in lde_kernel_insert() 505 pw->remote_group = map->fec.pwid.group_id; in lde_check_mapping() [all …]
|
| H A D | labelmapping.c | 571 uint32_t group_id, pwid; in gen_fec_tlv() local 617 pw_type = map->fec.pwid.type; in gen_fec_tlv() 623 group_id = htonl(map->fec.pwid.group_id); in gen_fec_tlv() 626 pwid = htonl(map->fec.pwid.pwid); in gen_fec_tlv() 627 err |= ibuf_add(buf, &pwid, sizeof(uint32_t)); in gen_fec_tlv() 636 ifmtu = htons(map->fec.pwid.ifmtu); in gen_fec_tlv() 764 memcpy(&map->fec.pwid.type, buf + off, sizeof(uint16_t)); in tlv_decode_fec_elm() 765 map->fec.pwid.type = ntohs(map->fec.pwid.type); in tlv_decode_fec_elm() 766 if (map->fec.pwid.type & CONTROL_WORD_FLAG) { in tlv_decode_fec_elm() 768 map->fec.pwid.type &= ~CONTROL_WORD_FLAG; in tlv_decode_fec_elm() [all …]
|
| H A D | logmsg.c | 172 map->fec.pwid.pwid, map->fec.pwid.group_id, in log_map() 173 pw_type_name(map->fec.pwid.type)) == -1) in log_map() 228 fec->u.pwid.pwid, pw_type_name(fec->u.pwid.type), in log_fec() 229 inet_ntoa(fec->u.pwid.lsr_id)) == -1) in log_fec()
|
| H A D | lde.c | 636 kpw.pw_type = fn->fec.u.pwid.type; in lde_send_change_klabel() 699 kpw.pw_type = fn->fec.u.pwid.type; in lde_send_delete_klabel() 732 map->fec.pwid.type = fec->u.pwid.type; 733 map->fec.pwid.group_id = 0; 735 map->fec.pwid.pwid = fec->u.pwid.pwid; in lde_map2fec() 765 fec->u.pwid [all...] |
| H A D | ldpd.h | 207 uint32_t pwid; member 210 } pwid; member 334 uint32_t pwid; member 534 uint32_t pwid; member
|
| H A D | lde.h | 48 uint32_t pwid; member 50 } pwid; member
|
| H A D | printconf.c | 172 printf("\t\tpw-id %u\n", pw->pwid); in print_pw()
|
| H A D | ldpd.c | 1175 pw->pwid != xp->pwid || reinstall_tnbr || reset_nbr || in merge_l2vpn() 1196 pw->pwid = xp->pwid; in merge_l2vpn()
|
| H A D | parse.y | 576 pw->pwid = $2; 636 if (pw->pwid == 0) { 647 pw->pwid == p->pwid &&
|
| /openbsd-src/usr.sbin/amd/amq/ |
| H A D | amq.c | 142 int *pwid) in show_mt() argument 145 show_mti(mt, e, mwid, dwid, pwid); in show_mt() 146 show_mt(mt->mt_next, e, mwid, dwid, pwid); in show_mt() 495 int mwid = 0, dwid = 0, pwid = 0; in main() local 502 e, &mwid, &dwid, &pwid); in main() 506 pwid++; in main()
|
| /openbsd-src/usr.sbin/ldpctl/ |
| H A D | ldpctl.c | 591 inet_ntoa(pw->lsr_id), pw->pwid, in show_l2vpn_pw_msg() 614 inet_ntoa(pw->lsr_id), pw->pwid, in show_l2vpn_binding_msg()
|