Lines Matching defs:ndpoffset
1093 size_t ndpoffset = le16_to_cpu(nth16->wNdpIndex);
1112 while (ndpoffset) {
1113 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset);
1116 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex);
1148 size_t ndpoffset = le32_to_cpu(nth32->dwNdpIndex);
1167 while (ndpoffset) {
1168 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb->data + ndpoffset);
1171 ndpoffset = le32_to_cpu(ndp32->dwNextNdpIndex);
1650 int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset)
1656 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) {
1658 ndpoffset);
1661 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset);
1686 int cdc_ncm_rx_verify_ndp32(struct sk_buff *skb_in, int ndpoffset)
1692 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp32)) > skb_in->len) {
1694 ndpoffset);
1697 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset);
1738 int ndpoffset;
1743 ndpoffset = cdc_ncm_rx_verify_nth16(ctx, skb_in);
1745 ndpoffset = cdc_ncm_rx_verify_nth32(ctx, skb_in);
1747 if (ndpoffset < 0)
1752 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset);
1756 ndp.ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset);
1766 nframes = cdc_ncm_rx_verify_ndp32(skb_in, ndpoffset);
1770 ndp.ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset);
1828 ndpoffset = le16_to_cpu(ndp.ndp16->wNextNdpIndex);
1830 ndpoffset = le32_to_cpu(ndp.ndp32->dwNextNdpIndex);
1832 if (ndpoffset && loopcount--)