Searched refs:queue_num (Results 1 – 1 of 1) sorted by relevance
57 void init_datagram_queue(struct phdr_desc_queue *queue, int queue_num) in init_datagram_queue() argument59 queue->head = descriptors[queue_num]; in init_datagram_queue()62 queue->tail = &descriptors[queue_num][i]; in init_datagram_queue()63 descriptors[queue_num][i].ptr = (uint8_t *)&headers[queue_num][i]; in init_datagram_queue()68 descriptors[queue_num][i].ptr[j] = sys_rand8_get(); in init_datagram_queue()70 descriptors[queue_num][i].ptr[j] = 0; in init_datagram_queue()77 descriptors[queue_num][i].ptr, SIZE_OF_HEADER); in init_datagram_queue()80 descriptors[queue_num][i].ptr[CRC_BYTE_1] = (uint8_t)(crc >> 8); in init_datagram_queue()81 descriptors[queue_num][i].ptr[CRC_BYTE_2] = (uint8_t)(crc); in init_datagram_queue()83 descriptors[queue_num][i].next = &descriptors[queue_num][i+1]; in init_datagram_queue()[all …]