Home | History | Annotate | Download | only in ldpd

Lines Matching defs:fec

69 		debugp("Invalid FEC TLV !\n");
92 * Note that this version of LDP supports the use of multiple FEC
93 * Elements per FEC for the Label Mapping message only. The use of
94 * multiple FEC Elements in other messages is not permitted in this
146 fatalp("Unknown FEC type %d\n", pref->type);
163 debugp("Invalid FEC TLV !\n");
216 fatalp("Unknown FEC type %d\n", pref->type);
245 struct fec_tlv *fec;
253 * Ok, so we have label map tlv that contains fec tlvs and label tlv
254 * but fec tlv contains prefix or host tlvs and prefix or host tlvs
282 /* FEC TLV */
283 fec = (struct fec_tlv *) & lmt[1];
284 fec->type = htons(TLV_FEC);
285 fec->length = htons(sizeof(struct prefix_tlv) - sizeof(struct in_addr) +
289 p = (struct prefix_tlv *) & fec[1];
349 struct fec_tlv *fec;
353 * Ok, so we have label map tlv that contains fec tlvs but fec tlv
375 /* FEC TLV */
376 fec = (struct fec_tlv *) & lmt[1];
377 fec->type = htons(TLV_FEC);
378 fec->length = htons(sizeof(struct fec_tlv) - TLV_TYPE_LENGTH
383 p = (struct prefix_tlv *) & fec[1];
410 const struct fec_tlv *fec)
417 if (ntohs(fec->type) != TLV_FEC || fec->length == 0) {
418 debugp("Invalid FEC TLV !\n");
421 pref = (const struct prefix_tlv *) (fec + 1);
467 fatalp("Invalid FEC type\n");