Home
last modified time | relevance | path

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

/drivers/net/usb/
Dcdc_ncm.c1093 size_t ndpoffset = le16_to_cpu(nth16->wNdpIndex); in cdc_ncm_ndp16() local
1112 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() local
1167 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() argument
1656 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) { in cdc_ncm_rx_verify_ndp16()
[all …]
Dcdc_mbim.c422 int ndpoffset; in cdc_mbim_rx_fixup() local
428 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()
/drivers/net/wwan/
Dmhi_wwan_mbim.c245 int ndpoffset; in mhi_mbim_rx() local
248 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()