Home | History | Annotate | Download | only in ldpd

Lines Matching refs:htons

235 	t->type = htons(LDP_LABEL_RELEASE);
273 lmt->type = htons(LDP_LABEL_MAPPING);
274 lmt->length = htons(sizeof(struct label_map_tlv) - TLV_TYPE_LENGTH
284 fec->type = htons(TLV_FEC);
285 fec->length = htons(sizeof(struct prefix_tlv) - sizeof(struct in_addr) +
296 p->af = htons(LDP_AF_INET);
305 l->type = htons(TLV_GENERIC_LABEL);
306 l->length = htons(sizeof(l->label));
312 lrt, htons(lrt->length) + TLV_TYPE_LENGTH);
368 lmt->type = htons(LDP_LABEL_WITHDRAW);
369 lmt->length = htons(sizeof(struct label_map_tlv) - TLV_TYPE_LENGTH
377 fec->type = htons(TLV_FEC);
378 fec->length = htons(sizeof(struct fec_tlv) - TLV_TYPE_LENGTH
390 p->af = htons(LDP_AF_INET);
451 lrm.type = htons(TLV_LABEL_REQUEST);
453 lrm.length = htons(socktmp.sa.sa_family == AF_INET ? 4 : 16);