Searched refs:packet_state (Results 1 – 1 of 1) sorted by relevance
48 int *packet_state; variable59 packet_state = malloc(number_nodes * sizeof(int)); in alloc_size()89 free(packet_state); in dealloc_size()157 if (packet_state[pos] == PACKET_START) { in fifo_handler()170 if (packet_state[pos] == PACKET_START) { in fifo_handler()177 packet_state[pos] = FRAME_SIZE; in fifo_handler()185 } else if (packet_state[pos] == FRAME_SIZE) { in fifo_handler()188 packet_state[pos] = PACKET_PSDU; in fifo_handler()189 } else if (packet_state[pos] == PACKET_PSDU) { in fifo_handler()194 packet_state[pos] = 0; in fifo_handler()[all …]