Searched refs:tlvh (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/zebra/ospfd/
H A Dospf_te.h78 #define TLV_BODY_SIZE(tlvh) \
79 ROUNDUP (ntohs ((tlvh)->length), sizeof (u_int32_t))
81 #define TLV_SIZE(tlvh) \
82 (TLV_HDR_SIZE + TLV_BODY_SIZE(tlvh))
87 #define TLV_HDR_NEXT(tlvh) \
88 (struct te_tlv_header *)((char *)(tlvh) + TLV_SIZE(tlvh))
H A Dospf_te.c330 struct te_tlv_header *tlvh; local
342 if ((tlvh = (struct te_tlv_header *) lp->lclif_ipaddr) != NULL
343 && ntohs (tlvh->type) != 0)
344 length += TLV_SIZE (tlvh);
347 if ((tlvh = (struct te_tlv_header *) lp->rmtif_ipaddr) != NULL
348 && ntohs (tlvh->type) != 0)
349 length += TLV_SIZE (tlvh);
698 build_tlv_header (struct stream *s, struct te_tlv_header *tlvh) argument
700 stream_put (s, tlvh, sizeof (struct te_tlv_header));
707 struct te_tlv_header *tlvh local
719 struct te_tlv_header *tlvh = &lp->link_type.header; local
731 struct te_tlv_header *tlvh = &lp->link_id.header; local
743 struct te_tlv_header *tlvh = (struct te_tlv_header *) lp->lclif_ipaddr; local
755 struct te_tlv_header *tlvh = (struct te_tlv_header *) lp->rmtif_ipaddr; local
767 struct te_tlv_header *tlvh = &lp->te_metric.header; local
779 struct te_tlv_header *tlvh = &lp->max_bw.header; local
791 struct te_tlv_header *tlvh = &lp->max_rsv_bw.header; local
803 struct te_tlv_header *tlvh = &lp->unrsv_bw.header; local
815 struct te_tlv_header *tlvh = &lp->rsc_clsclr.header; local
1127 show_vty_router_addr(struct vty *vty, struct te_tlv_header *tlvh) argument
1140 show_vty_link_header(struct vty *vty, struct te_tlv_header *tlvh) argument
1153 show_vty_link_subtlv_link_type(struct vty *vty, struct te_tlv_header *tlvh) argument
1180 show_vty_link_subtlv_link_id(struct vty *vty, struct te_tlv_header *tlvh) argument
1194 show_vty_link_subtlv_lclif_ipaddr(struct vty *vty, struct te_tlv_header *tlvh) argument
1218 show_vty_link_subtlv_rmtif_ipaddr(struct vty *vty, struct te_tlv_header *tlvh) argument
1241 show_vty_link_subtlv_te_metric(struct vty *vty, struct te_tlv_header *tlvh) argument
1255 show_vty_link_subtlv_max_bw(struct vty *vty, struct te_tlv_header *tlvh) argument
1272 show_vty_link_subtlv_max_rsv_bw(struct vty *vty, struct te_tlv_header *tlvh) argument
1289 show_vty_link_subtlv_unrsv_bw(struct vty *vty, struct te_tlv_header *tlvh) argument
1309 show_vty_link_subtlv_rsc_clsclr(struct vty *vty, struct te_tlv_header *tlvh) argument
1323 show_vty_unknown_tlv(struct vty *vty, struct te_tlv_header *tlvh) argument
1337 struct te_tlv_header *tlvh, *next; local
1384 struct te_tlv_header *tlvh, *next; local
1839 struct te_tlv_header *tlvh; local
[all...]

Completed in 110 milliseconds