Home
last modified time | relevance | path

Searched refs:ndp_datagram (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_ncm.c159 struct ndp16_datagram ndp_datagram[CDC_NCM_SEND_MAX_DATAGRAMS_PER_NTB + 1]; member
432 const struct ndp16_datagram *ndp_datagram; in check_frame() local
444 ndp_datagram = (const struct ndp16_datagram *) in check_frame()
459 if ((sys_le16_to_cpu(ndp_datagram[max_ndx-1].wDatagramIndex) != 0) || in check_frame()
460 (sys_le16_to_cpu(ndp_datagram[max_ndx-1].wDatagramLength) != 0)) { in check_frame()
465 while (sys_le16_to_cpu(ndp_datagram[ndx].wDatagramIndex) != 0 && in check_frame()
466 sys_le16_to_cpu(ndp_datagram[ndx].wDatagramLength) != 0) { in check_frame()
469 sys_le16_to_cpu(ndp_datagram[ndx].wDatagramIndex), in check_frame()
470 sys_le16_to_cpu(ndp_datagram[ndx].wDatagramLength)); in check_frame()
472 if (sys_le16_to_cpu(ndp_datagram[ndx].wDatagramIndex) > len) { in check_frame()
[all …]