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

/linux-4.1.27/drivers/net/usb/
H A Dcdc_ncm.c1018 size_t ndpoffset = le16_to_cpu(nth16->wNdpIndex); cdc_ncm_ndp() local
1021 while (ndpoffset) { cdc_ncm_ndp()
1022 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); cdc_ncm_ndp()
1025 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); cdc_ncm_ndp()
1347 int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset) cdc_ncm_rx_verify_ndp16() argument
1353 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) { cdc_ncm_rx_verify_ndp16()
1355 ndpoffset); cdc_ncm_rx_verify_ndp16()
1358 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); cdc_ncm_rx_verify_ndp16()
1392 int ndpoffset; cdc_ncm_rx_fixup() local
1396 ndpoffset = cdc_ncm_rx_verify_nth16(ctx, skb_in); cdc_ncm_rx_fixup()
1397 if (ndpoffset < 0) cdc_ncm_rx_fixup()
1401 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); cdc_ncm_rx_fixup()
1405 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); cdc_ncm_rx_fixup()
1451 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); cdc_ncm_rx_fixup()
1452 if (ndpoffset && loopcount--) cdc_ncm_rx_fixup()
H A Dcdc_mbim.c421 int ndpoffset; cdc_mbim_rx_fixup() local
427 ndpoffset = cdc_ncm_rx_verify_nth16(ctx, skb_in); cdc_mbim_rx_fixup()
428 if (ndpoffset < 0) cdc_mbim_rx_fixup()
432 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); cdc_mbim_rx_fixup()
436 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); cdc_mbim_rx_fixup()
491 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); cdc_mbim_rx_fixup()
492 if (ndpoffset && loopcount--) cdc_mbim_rx_fixup()
/linux-4.1.27/include/linux/usb/
H A Dcdc_ncm.h141 int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset);

Completed in 167 milliseconds