Lines Matching defs:fec
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
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
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) {
421 pref = (const struct prefix_tlv *) (fec + 1);