tlv_stack.c | 244 struct label_map_tlv *lmt; local in function:send_label_tlv 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; local in function:send_withdraw_tlv [all...] |