Lines Matching full:descriptors
42 /* Array of packet header descriptors */
43 struct phdr_desc descriptors[QUEUE_NUM][SIZE_OF_QUEUE]; variable
59 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()