Home | History | Annotate | Download | only in cups

Lines Matching refs:hdr

84 	struct hcrp_pdu_hdr hdr;
90 hdr.pid = htons(HCRP_PDU_CREDIT_GRANT);
91 hdr.tid = htons(tid);
92 hdr.plen = htons(HCRP_CREDIT_GRANT_CP_SIZE);
94 memcpy(buf, &hdr, HCRP_PDU_HDR_SIZE);
104 memcpy(&hdr, buf, HCRP_PDU_HDR_SIZE);
117 struct hcrp_pdu_hdr hdr;
122 hdr.pid = htons(HCRP_PDU_CREDIT_REQUEST);
123 hdr.tid = htons(tid);
124 hdr.plen = htons(0);
125 memcpy(buf, &hdr, HCRP_PDU_HDR_SIZE);
134 memcpy(&hdr, buf, HCRP_PDU_HDR_SIZE);
150 struct hcrp_pdu_hdr hdr;
155 hdr.pid = htons(HCRP_PDU_GET_LPT_STATUS);
156 hdr.tid = htons(tid);
157 hdr.plen = htons(0);
158 memcpy(buf, &hdr, HCRP_PDU_HDR_SIZE);
167 memcpy(&hdr, buf, HCRP_PDU_HDR_SIZE);