• Home
  • Raw
  • Download

Lines Matching refs:ndpoffset

1093 	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()
1658 ndpoffset); in cdc_ncm_rx_verify_ndp16()
1661 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_verify_ndp16()
1686 int cdc_ncm_rx_verify_ndp32(struct sk_buff *skb_in, int ndpoffset) in cdc_ncm_rx_verify_ndp32() argument
1692 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp32)) > skb_in->len) { in cdc_ncm_rx_verify_ndp32()
1694 ndpoffset); in cdc_ncm_rx_verify_ndp32()
1697 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_verify_ndp32()
1738 int ndpoffset; in cdc_ncm_rx_fixup() local
1743 ndpoffset = cdc_ncm_rx_verify_nth16(ctx, skb_in); in cdc_ncm_rx_fixup()
1745 ndpoffset = cdc_ncm_rx_verify_nth32(ctx, skb_in); in cdc_ncm_rx_fixup()
1747 if (ndpoffset < 0) in cdc_ncm_rx_fixup()
1752 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_ncm_rx_fixup()
1756 ndp.ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_fixup()
1766 nframes = cdc_ncm_rx_verify_ndp32(skb_in, ndpoffset); in cdc_ncm_rx_fixup()
1770 ndp.ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_fixup()
1828 ndpoffset = le16_to_cpu(ndp.ndp16->wNextNdpIndex); in cdc_ncm_rx_fixup()
1830 ndpoffset = le32_to_cpu(ndp.ndp32->dwNextNdpIndex); in cdc_ncm_rx_fixup()
1832 if (ndpoffset && loopcount--) in cdc_ncm_rx_fixup()