Lines Matching defs:ndpoffset
1079 size_t ndpoffset = le16_to_cpu(nth16->wNdpIndex);
1098 while (ndpoffset) {
1099 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset);
1102 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex);
1134 size_t ndpoffset = le32_to_cpu(nth32->dwNdpIndex);
1153 while (ndpoffset) {
1154 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb->data + ndpoffset);
1157 ndpoffset = le32_to_cpu(ndp32->dwNextNdpIndex);
1636 int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset)
1642 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) {
1644 ndpoffset);
1647 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset);
1672 int cdc_ncm_rx_verify_ndp32(struct sk_buff *skb_in, int ndpoffset)
1678 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp32)) > skb_in->len) {
1680 ndpoffset);
1683 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset);
1724 int ndpoffset;
1729 ndpoffset = cdc_ncm_rx_verify_nth16(ctx, skb_in);
1731 ndpoffset = cdc_ncm_rx_verify_nth32(ctx, skb_in);
1733 if (ndpoffset < 0)
1738 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset);
1742 ndp.ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset);
1752 nframes = cdc_ncm_rx_verify_ndp32(skb_in, ndpoffset);
1756 ndp.ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset);
1814 ndpoffset = le16_to_cpu(ndp.ndp16->wNextNdpIndex);
1816 ndpoffset = le32_to_cpu(ndp.ndp32->dwNextNdpIndex);
1818 if (ndpoffset && loopcount--)