Searched refs:ndpoffset (Results 1 – 3 of 3) sorted by relevance
1093 size_t ndpoffset = le16_to_cpu(nth16->wNdpIndex); in cdc_ncm_ndp16() local1112 while (ndpoffset) { in cdc_ncm_ndp16()1113 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp16()1116 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_ncm_ndp16()1148 size_t ndpoffset = le32_to_cpu(nth32->dwNdpIndex); in cdc_ncm_ndp32() local1167 while (ndpoffset) { in cdc_ncm_ndp32()1168 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb->data + ndpoffset); in cdc_ncm_ndp32()1171 ndpoffset = le32_to_cpu(ndp32->dwNextNdpIndex); in cdc_ncm_ndp32()1650 int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset) in cdc_ncm_rx_verify_ndp16() argument1656 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) { in cdc_ncm_rx_verify_ndp16()[all …]
422 int ndpoffset; in cdc_mbim_rx_fixup() local428 ndpoffset = cdc_ncm_rx_verify_nth16(ctx, skb_in); in cdc_mbim_rx_fixup()429 if (ndpoffset < 0) in cdc_mbim_rx_fixup()433 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_mbim_rx_fixup()437 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_mbim_rx_fixup()492 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_mbim_rx_fixup()493 if (ndpoffset && loopcount--) in cdc_mbim_rx_fixup()
245 int ndpoffset; in mhi_mbim_rx() local248 ndpoffset = mbim_rx_verify_nth16(mbim, skb); in mhi_mbim_rx()249 if (ndpoffset < 0) { in mhi_mbim_rx()262 if (skb_copy_bits(skb, ndpoffset, &ndp16, sizeof(ndp16))) { in mhi_mbim_rx()264 ndpoffset); in mhi_mbim_rx()293 dpeoffset = ndpoffset + sizeof(struct usb_cdc_ncm_ndp16); in mhi_mbim_rx()342 ndpoffset = (int)le16_to_cpu(ndp16.wNextNdpIndex); in mhi_mbim_rx()343 if (!ndpoffset) in mhi_mbim_rx()