Lines Matching refs:response
1140 header->response.magic = (uint8_t)PROTOCOL_BINARY_RES; in add_bin_header()
1141 header->response.opcode = c->binary_header.request.opcode; in add_bin_header()
1142 header->response.keylen = (uint16_t)htons(key_len); in add_bin_header()
1144 header->response.extlen = (uint8_t)hdr_len; in add_bin_header()
1145 header->response.datatype = (uint8_t)PROTOCOL_BINARY_RAW_BYTES; in add_bin_header()
1146 header->response.status = (uint16_t)htons(err); in add_bin_header()
1148 header->response.bodylen = htonl(body_len); in add_bin_header()
1149 header->response.opaque = c->opaque; in add_bin_header()
1150 header->response.cas = htonll(c->cas); in add_bin_header()
1164 add_iov(c, c->wbuf, sizeof(header->response)); in add_bin_header()
1494 rsp->message.header.response.cas = htonll(ITEM_get_cas(it)); in process_bin_get_or_touch()
1563 .response.magic = (uint8_t)PROTOCOL_BINARY_RES, in append_bin_stats()
1564 .response.opcode = PROTOCOL_BINARY_CMD_STAT, in append_bin_stats()
1565 .response.keylen = (uint16_t)htons(klen), in append_bin_stats()
1566 .response.datatype = (uint8_t)PROTOCOL_BINARY_RAW_BYTES, in append_bin_stats()
1567 .response.bodylen = htonl(bodylen), in append_bin_stats()
1568 .response.opaque = c->opaque in append_bin_stats()
1571 memcpy(buf, header.bytes, sizeof(header.response)); in append_bin_stats()
1572 buf += sizeof(header.response); in append_bin_stats()
1583 c->stats.offset += sizeof(header.response) + bodylen; in append_bin_stats()