Lines Matching defs:link_id
100 struct te_link_subtlv_link_id link_id;
334 if (ntohs (lp->link_id.header.type) != 0)
335 length += TLV_SIZE (&lp->link_id.header);
402 lp->link_id.header.type = htons (TE_LINK_SUBTLV_LINK_ID);
403 lp->link_id.header.length = htons (sizeof (lp->link_id.value));
416 lp->link_id.value = nbr->router_id;
430 lp->link_id.value = DR (oi);
436 lp->link_id.header.type = htons (0);
444 lp->link_id.value.s_addr = oi->address->u.prefix4.s_addr & mask.s_addr;
539 if (ntohs (lp->link_id.header.type) == 0)
653 old_id = lp->link_id;
660 || (ntohs (old_id.header.type) != ntohs (lp->link_id.header.type)
661 || ntohl (old_id.value.s_addr) != ntohl (lp->link_id.value.s_addr)))
671 lp->link_id.header.type = htons (0);
727 struct te_tlv_header *tlvh = &lp->link_id.header;
1837 show_vty_link_subtlv_link_id (vty, &lp->link_id.header);