Home | History | Annotate | Download | only in ldpd

Lines Matching refs:tlv

54 #include "tlv.h"
425 TLV_TYPE_LENGTH + MSGID_SIZE + /* Hello TLV */ \
426 /* Common Hello TLV */ \
441 cht = &t->ch; /* Hello tlv struct includes CHT */
450 /* Prepare Hello TLV */
468 * Prepare Transport Address TLV RFC5036 says: "If this optional TLV
540 " (PDU: %d, Hello TLV: %d, CH: %d, TR: %d)\n",
608 "(PDU: %d, Hello TLV: %d, CH: %d TR: %d)\n",
724 /* Fill the TLV messages */
1078 send_tlv(p, (struct tlv *) (void *) &ti);
1090 send_tlv(p, (struct tlv *) (void *) &kt);
1111 struct tlv *ttmp;
1151 ttmp = (struct tlv *) (&recvspace[wo]);
1322 warnp("Unknown TLV received from %s\n",
1339 /* Sends a pdu, tlv pair to a connected peer */
1342 const struct tlv * t)
1358 fatalp("LDP: TLV - PDU incompability. Message discarded\n");
1359 fatalp("LDP: TLV len %d - PDU len %d\n", ntohs(t->length),
1387 * Encapsulates TLV into a PDU and sends it to a peer
1390 send_tlv(const struct ldp_peer * p, const struct tlv * t)
1415 ret = send_tlv(p, (struct tlv *) t);