Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_ncm.c347 const struct ndp16 *ndphdr16; in verify_nth16() local
400 ndphdr16 = (const struct ndp16 *)(ntb->data + in verify_nth16()
403 if (sys_le16_to_cpu(ndphdr16->wLength) < in verify_nth16()
406 sys_le16_to_cpu(ndphdr16->wLength)); in verify_nth16()
410 if ((sys_le32_to_cpu(ndphdr16->dwSignature) != NDP16_SIGNATURE_NCM0) && in verify_nth16()
411 (sys_le32_to_cpu(ndphdr16->dwSignature) != NDP16_SIGNATURE_NCM1)) { in verify_nth16()
413 (unsigned int)sys_le32_to_cpu(ndphdr16->dwSignature)); in verify_nth16()
417 if (sys_le16_to_cpu(ndphdr16->wNextNdpIndex) != 0) { in verify_nth16()
419 sys_le16_to_cpu(ndphdr16->wNextNdpIndex)); in verify_nth16()