Lines Matching defs:header
71 struct packet header;
185 if (urb->status == 0 && ir->packet->header.cmd == CMD_NOP)
215 ir->packet->header.start = 0;
216 ir->packet->header.direction = DIR_OUT;
217 ir->packet->header.cmd = CMD_NOP;
218 iguanair_send(ir, sizeof(ir->packet->header));
220 ir->packet->header.cmd = CMD_GET_VERSION;
221 rc = iguanair_send(ir, sizeof(ir->packet->header));
236 ir->packet->header.cmd = CMD_GET_BUFSIZE;
238 rc = iguanair_send(ir, sizeof(ir->packet->header));
250 ir->packet->header.cmd = CMD_GET_FEATURES;
252 rc = iguanair_send(ir, sizeof(ir->packet->header));
261 ir->packet->header.start = 0;
262 ir->packet->header.direction = DIR_OUT;
263 ir->packet->header.cmd = enable ? CMD_RECEIVER_ON : CMD_RECEIVER_OFF;
268 return iguanair_send(ir, sizeof(ir->packet->header));
347 ir->packet->header.start = 0;
348 ir->packet->header.direction = DIR_OUT;
349 ir->packet->header.cmd = CMD_SEND;