Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_ncm.c346 const struct nth16 *nthdr16 = &ntb->nth; in verify_nth16() local
354 if (sys_le16_to_cpu(nthdr16->wHeaderLength) != sizeof(struct nth16)) { in verify_nth16()
356 sys_le16_to_cpu(nthdr16->wHeaderLength)); in verify_nth16()
360 if (sys_le32_to_cpu(nthdr16->dwSignature) != NTH16_SIGNATURE) { in verify_nth16()
362 (unsigned int)sys_le32_to_cpu(nthdr16->dwSignature)); in verify_nth16()
366 if (sys_le16_to_cpu(nthdr16->wSequence) != data->rx_seq) { in verify_nth16()
368 sys_le16_to_cpu(nthdr16->wSequence), data->rx_seq); in verify_nth16()
369 data->rx_seq = sys_le16_to_cpu(nthdr16->wSequence); in verify_nth16()
380 if (sys_le16_to_cpu(nthdr16->wBlockLength) != len) { in verify_nth16()
382 sys_le16_to_cpu(nthdr16->wBlockLength)); in verify_nth16()
[all …]