| /openbsd-src/usr.sbin/ldpd/ |
| H A D | lde_lib.c | 32 static __inline int fec_compare(struct fec *, struct fec *); 36 static struct fec_node *fec_add(struct fec *fec); 41 RB_GENERATE(fec_tree, fec, entry, fec_compare) 54 fec_compare(struct fec *a, struct fec *b) in fec_compare() 107 struct fec * 108 fec_find(struct fec_tree *fh, struct fec *f) in fec_find() 114 fec_insert(struct fec_tree *fh, struct fec *f) in fec_insert() 122 fec_remove(struct fec_tree *fh, struct fec *f) in fec_remove() 134 struct fec *f; in fec_clear() 158 struct fec *f; in rt_dump() [all …]
|
| H A D | l2vpn.c | 32 static void l2vpn_pw_fec(struct l2vpn_pw *, struct fec *); 136 struct map fec; in l2vpn_if_update() local 147 memset(&fec, 0, sizeof(fec)); in l2vpn_if_update() 148 fec.type = MAP_TYPE_PWID; in l2vpn_if_update() 149 fec.fec.pwid.type = l2vpn->pw_type; in l2vpn_if_update() 150 fec.fec.pwid.group_id = 0; in l2vpn_if_update() 151 fec.flags |= F_MAP_PW_ID; in l2vpn_if_update() 152 fec.fec.pwid.pwid = pw->pwid; in l2vpn_if_update() 154 send_mac_withdrawal(nbr, &fec, lif->mac); in l2vpn_if_update() 188 struct fec fec; in l2vpn_pw_init() local [all …]
|
| H A D | lde.c | 397 struct fec fec; in lde_dispatch_parent() 431 fec.type = FEC_TYPE_IPV4; in lde_dispatch_parent() 432 fec.u.ipv4.prefix = kr.prefix.v4; in lde_dispatch_parent() 433 fec.u.ipv4.prefixlen = kr.prefixlen; in lde_dispatch_parent() 436 fec.type = FEC_TYPE_IPV6; in lde_dispatch_parent() 437 fec.u.ipv6.prefix = kr.prefix.v6; in lde_dispatch_parent() 438 fec.u.ipv6.prefixlen = kr.prefixlen; in lde_dispatch_parent() 446 lde_kernel_insert(&fec, kr.af, &kr.nexthop, in lde_dispatch_parent() 450 lde_kernel_remove(&fec, k in lde_dispatch_parent() 393 struct fec fec; lde_dispatch_parent() local 706 lde_fec2map(struct fec * fec,struct map * map) lde_fec2map() argument 734 lde_map2fec(struct map * map,struct in_addr lsr_id,struct fec * fec) lde_map2fec() argument 1173 struct fec *fec; lde_nbr_addr_update() local 1260 lde_req_add(struct lde_nbr * ln,struct fec * fec,int sent) lde_req_add() argument [all...] |
| H A D | lde.h | 34 struct fec { struct 35 RB_ENTRY(fec) entry; 53 RB_HEAD(fec_tree, fec); argument 54 RB_PROTOTYPE(fec_tree, fec, entry, fec_compare) 58 struct fec fec; member 64 struct fec fec; member 72 struct fec fec; member 110 struct fec fec; member 133 void lde_fec2map(struct fec *, struct map *); 134 void lde_map2fec(struct map *, struct in_addr, struct fec *); [all …]
|
| H A D | labelmapping.c | 364 switch (me->map.fec.prefix.af) { in recv_labelmessage() 536 PREFIX_SIZE(map->fec.prefix.prefixlen); in len_fec_tlv() 549 switch (map->fec.twcard.type) { in len_fec_tlv() 583 len = PREFIX_SIZE(map->fec.prefix.prefixlen); in gen_fec_tlv() 585 sizeof(map->fec.prefix.prefixlen) + len); in gen_fec_tlv() 588 switch (map->fec.prefix.af) { in gen_fec_tlv() 600 err |= ibuf_add(buf, &map->fec.prefix.prefixlen, in gen_fec_tlv() 601 sizeof(map->fec.prefix.prefixlen)); in gen_fec_tlv() 603 err |= ibuf_add(buf, &map->fec.prefix.prefix, len); in gen_fec_tlv() 617 pw_type = map->fec.pwid.type; in gen_fec_tlv() [all …]
|
| H A D | logmsg.c | 166 log_addr(map->fec.prefix.af, &map->fec.prefix.prefix), in log_map() 167 map->fec.prefix.prefixlen) == -1) in log_map() 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() 179 switch (map->fec.twcard.type) { in log_map() 183 af_name(map->fec.twcard.u.prefix_af)) < 0) in log_map() 189 pw_type_name(map->fec.twcard.u.pw_type)) < 0) in log_map() 207 log_fec(const struct fec *fec) in log_fec() argument 212 switch (fec->type) { in log_fec() 214 addr.v4 = fec->u.ipv4.prefix; in log_fec() [all …]
|
| H A D | notification.c | 43 size += len_fec_tlv(&nm->fec); in send_notification_full() 58 err |= gen_fec_tlv(buf, &nm->fec); in send_notification_full() 179 tlv_len, &nm.fec)) == -1) in recv_notification() 209 switch (nm.fec.type) { in recv_notification() 224 if (nm.fec.type != MAP_TYPE_TYPED_WCARD) { in recv_notification() 314 log_map(&nm->fec)); in log_msg_notification()
|
| H A D | ldpd.h | 218 } fec; member 241 struct map fec; member 250 #define F_NOTIF_FEC 0x02 /* fec tlv present */ 636 struct fec; 645 const char *log_fec(const struct fec *);
|
| H A D | address.c | 144 send_mac_withdrawal(struct nbr *nbr, struct map *fec, uint8_t *mac) in send_mac_withdrawal() argument 150 size = LDP_HDR_SIZE + LDP_MSG_SIZE + ADDR_LIST_SIZE + len_fec_tlv(fec) + in send_mac_withdrawal() 163 err |= gen_fec_tlv(buf, fec); in send_mac_withdrawal()
|
| /openbsd-src/gnu/gcc/libcpp/ |
| H A D | ucnid.tab | 34 1fd6-1fdb 1fe0-1fec 1ff2-1ff4 1ff6-1ffc 135 1fd6-1fdb 1fe0-1fec 1ff2-1ff4 1ff6-1ffc
|
| /openbsd-src/sys/dev/fdt/ |
| H A D | files.fdt | 597 device fec: ether, ifnet, mii, ifmedia 598 attach fec at fdt 599 file dev/fdt/if_fec.c fec
|
| /openbsd-src/share/man/man4/ |
| H A D | Makefile | 37 fanpwr.4 fd.4 fdc.4 fec.4 fido.4 fins.4 fintek.4 fms.4 frame.4 \
|
| /openbsd-src/sys/arch/armv7/conf/ |
| H A D | RAMDISK | 50 fec* at fdt? # Ethernet
|
| H A D | GENERIC | 52 fec* at fdt? # Ethernet
|
| /openbsd-src/sys/arch/arm64/conf/ |
| H A D | RAMDISK | 155 fec* at fdt?
|
| H A D | GENERIC | 210 fec* at fdt?
|