Home | History | Annotate | Download | only in ldpd

Lines Matching defs:lmt

244 	struct label_map_tlv *lmt;
259 lmt = calloc(1,
268 if (!lmt) {
273 lmt->type = htons(LDP_LABEL_MAPPING);
274 lmt->length = htons(sizeof(struct label_map_tlv) - TLV_TYPE_LENGTH
280 lmt->messageid = htonl(get_message_id());
283 fec = (struct fec_tlv *) & lmt[1];
315 send_tlv(peer, (struct tlv *) lmt);
316 free(lmt);
348 struct label_map_tlv *lmt;
358 lmt = malloc(sizeof(struct label_map_tlv)
363 if (!lmt) {
368 lmt->type = htons(LDP_LABEL_WITHDRAW);
369 lmt->length = htons(sizeof(struct label_map_tlv) - TLV_TYPE_LENGTH
373 lmt->messageid = htonl(get_message_id());
376 fec = (struct fec_tlv *) & lmt[1];
395 send_tlv(peer, (struct tlv *) lmt);
396 free(lmt);
409 request_respond(const struct ldp_peer *p, const struct label_map_tlv *lmt,
454 lrm.messageid = lmt->messageid;