Lines Matching defs:header
71 struct packet header;
182 if (urb->status == 0 && ir->packet->header.cmd == CMD_NOP)
212 ir->packet->header.start = 0;
213 ir->packet->header.direction = DIR_OUT;
214 ir->packet->header.cmd = CMD_NOP;
215 iguanair_send(ir, sizeof(ir->packet->header));
217 ir->packet->header.cmd = CMD_GET_VERSION;
218 rc = iguanair_send(ir, sizeof(ir->packet->header));
233 ir->packet->header.cmd = CMD_GET_BUFSIZE;
235 rc = iguanair_send(ir, sizeof(ir->packet->header));
247 ir->packet->header.cmd = CMD_GET_FEATURES;
249 rc = iguanair_send(ir, sizeof(ir->packet->header));
258 ir->packet->header.start = 0;
259 ir->packet->header.direction = DIR_OUT;
260 ir->packet->header.cmd = enable ? CMD_RECEIVER_ON : CMD_RECEIVER_OFF;
262 return iguanair_send(ir, sizeof(ir->packet->header));
341 ir->packet->header.start = 0;
342 ir->packet->header.direction = DIR_OUT;
343 ir->packet->header.cmd = CMD_SEND;